<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<META content="Microsoft Word 11" name=Originator><LINK 
href="cid:filelist.xml@01C66D2A.F453BB60" rel=File-List><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>90</w:Zoom>
  <w:SpellingState>Clean</w:SpellingState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:SelectEntireFieldWithStartOrEnd/>
   <w:UseWord2002TableStyleRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
<STYLE>@font-face {
        font-family: Bookman Old Style;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: "Bookman Old Style"; TEXT-DECORATION: none; text-underline: none; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: "Bookman Old Style"; mso-hansi-font-family: "Bookman Old Style"; text-line-through: none
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]--></HEAD>
<BODY lang=EN-US style="tab-interval: .5in" vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT face=Arial 
size=2>Manish:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT face=Arial 
size=2>1. Any task that calls <FONT face="Bookman Old Style">FORM-HTMLPROCESS 
has a web transaction code that&nbsp;is created when you click the menu item Web 
Transaction while creating&nbsp;the task itself.&nbsp; The web transaction code 
creation is a unique step only needed for tasks like this. This transaction code 
remembers&nbsp;the text&nbsp;container elements&nbsp;of&nbsp;the task. Suppose 
you have specifed 4 text elements. When you execute the web transaction outside 
the workflow, you will be presented a form that has 4 input fields where you can 
type your rejection reasons. </FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>2. When the method HTMLPROCESS is executed, the 
web transaction code is called, and the rejection reasons are&nbsp;passed to the 
workflow containers via&nbsp;memory manipulation.&nbsp;We do not need to bother 
about&nbsp;all the details in the dark box. What we need to know is: if we need 
a form with n&nbsp;input fields&nbsp;to let the user enter his rejection 
reasons,&nbsp;all we need to do is the following:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>- create a task that calls FORM-HTMLPROCESS, and 
specify&nbsp;n text elements for export.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>- do not forget to create the web transaction 
code for the task.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>- specify n text element in the workflow 
container for import.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>- create the step using the task and bind the 
task text elements to the&nbsp;workflow text elements.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=017403313-01052006><FONT 
face="Bookman Old Style" size=2>Larry Hu</FONT>&nbsp;</SPAN><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Khanna, 
Manish<BR><B>Sent:</B> Monday, May 01, 2006 4:54 AM<BR><B>To:</B> SAP Workflow 
Users' Group<BR><B>Subject:</B> How to use FORM-HTMLPROCESS<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">I need to enhance an 
exiting workflow. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">1. One step is to 
input rejection comments from the user if the document is 
rejected.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">2. This step in the 
workflow refers to a custom task which in turn calls FORM-HTMLPROCESS. 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">3. Binding from 
workflow passes lots of parameter that is displayed in the FORM. However in the 
task I could not find how and where those container elements were 
used.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">Any 
suggestions?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'">Manish<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Bookman Old Style" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Bookman Old Style'"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV><div id="##disclaimer##"><p></p><p style="FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif">This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.</p></div></BODY></HTML>