De-activating workflow webform checkbox after refresh

Sander van der Wijngaart Sander.vanderWijngaart at avelon-it.com
Wed Mar 21 12:46:51 EST 2001


Dear all,
 
Using SAP Business Workflow webforms we have succesfully created web pages
for requests for creating material, customer and vendor master data in an
European SAP environment. To achieve this we created a workflow with several
container values, generated a web transaction via the PFTC_CHG (change
workflow) transaction and  generated a service with SAP at Studio with the
style  Business .
 
The following HTML code is then created:
 
`include(~service="system", ~language="", ~theme="dm",
~name="TemplateLibraryDHTML.html")`
`SAP_TopInclude()`
<html>
  <head>
    `SAP_PageTitle()`
    `SAP_Stylesheet()`
    `SAP_JavaScript()`
  </head>
  <body `SAP_BodyAttributes()` onload="`SAP_OnloadJavaScript()`">
    `SAP_TemplateHeader()`
    `SAP_BodyContentBegin()`
    `SAP_FormBegin()`
      <p>
      `SAP_Field("COUNTRY015001","COUNTRY015001", DynproLabelWidth="100")`
      <p>
      `SAP_Field("CUSTOMER015002","CUSTOMER015002", DynproLabelWidth="100")`
      <p>
       `SAP_Field("B02_CHECK_PROCEX015018"," B02_CHECK_PROCEX015018",
DynproLabelWidth="100")`
      <p>
      `SAP_Button("START")`
      `SAP_Button("CANCEL")`
    `SAP_FormEnd()`
    `SAP_BodyContentEnd()`
  </body>
</html>
 
 
I want to use a checkbox in stead of an field and found the following
function in the source "TemplateLibraryDHTML.html" file:
 
`SAP_TemplateCheckBox( id, type="SAP_WEBGUI", name="", checked="", text="",
value="", disabled="", marginLeft="-5")`
 
I use this function in the following way:
 
`SAP_TemplateCheckBox("B02_CHECK_PROCEX015018", type="SAP_WEBGUI",
name="B02_CHECK_PROCEX015018", checked ="", text="B02_CHECK_PROCEX015018",
value="X", disabled="", marginLeft="-5")`
 
The problem occurs when refreshing the page, e.g. when the Enter key is
pressed. Than, in opposite what happens when we use the SAP_field statement,
the value of the checkbox is reset to empty, in stead of keeping the old
value (which in case of the checkbox is X). The "normal" SAP_Field holds the
values which have been filled in.
 
Does anybody have experience with this problem? What could be the cause of
this problem?
 
Hope you experts have an answer!
 
Kind regards,
 
Sander van der Wijngaart
SAP Business Workflow consultant
Avelon B.V.
Visit us at www.avelon-it.com
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Nobles, Diane
Sent: Tuesday, March 20, 2001 9:20 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Archive Postings Question
 
 
Rob, Can't seem to access this site.  I get the proverbial site not found
screen.
 
Diane H. Nobles
SDE PM Team
380-7250
 
 
 
 
 
-----Original Message-----
From: R Tannert [mailto:tnn at ornl.gov]
Sent: Tuesday, March 20, 2001 2:08 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Archive Postings Question
 
 
WebFlow Inc. does: http://www.webflow.com/MITWorkflow/wfsearchN.asp
 
Rob
 
>Do we keep an archive on the web somewhere of these
>mail list postings?
>
>Scot
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/
 


More information about the SAP-WUG mailing list