<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Custom Text for 'User Decision' step in workflow</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2>Hi Aaurabh:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2>SWL0_PREVIEW_DEMO_TEXT_ONLY<FONT face=Arial size=2></FONT><FONT 
face="Times New Roman" size=3> <FONT face=Arial><FONT size=2>has only one line 
of code: '</FONT><FONT size=2>e_info-dialogtext = 'SWL_IB_PV_DEMO'. It actually 
</FONT><FONT size=2>gets texts from the database table DOKTL where ID = 'DT' and 
OBJECT = 'SWL_IB_PV_DEMO'. So it is necessary to maintain the tables&nbsp;DOKHL 
and&nbsp;DOKTL to add your texts and then create a&nbsp;FM similar to <SPAN 
class=047254918-27112006>SWL0_PREVIEW_DEMO_TEXT_ONLY.&nbsp;</SPAN> 
</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2>But as&nbsp;PaulB' suggested, I would rather create my own task based on 
DECISION-PROCESS.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=047254918-27112006><FONT face=Arial 
size=2>Larry Hu</FONT></SPAN></DIV><BR>
<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>Bakker, 
Paul<BR><B>Sent:</B> Thursday, November 23, 2006 3:56 PM<BR><B>To:</B> SAP 
Workflow Users' Group<BR><B>Subject:</B> RE: Custom Text for 'User Decision' 
step in workflow<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2>Saurabh,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2>&nbsp;Another option is to make a copy of the standard 
decision task. Then you can change it as much as you like, and incorporate texts 
that are passed from the workflow during runtime&nbsp;(via binding). 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2>cheers</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=390245320-23112006><FONT face=Arial 
color=#0000ff size=2>PaulB</FONT></SPAN></DIV><BR>
<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>Chaturvedi, 
Saurabh<BR><B>Sent:</B> Friday, 24 November 2006 1:44 AM<BR><B>To:</B> SAP 
Workflow User Group<BR><B>Subject:</B> Custom Text for 'User Decision' step in 
workflow<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hello All,</FONT> </P>
<P><FONT face=Arial size=2>I want to send out some custom text as part of the 
work item for the<B> User Decision</B> workflow step. Since the task underlying 
this step is a Basis task 8267 which cannot be modified so I cannot add my 
custom text here and hence I have to achieve this otherwise.</FONT></P>
<P><FONT face=Arial size=2>My requirement is to send out some custom text which 
will be based on the workflow container elements, which means it is not fixed 
and has to be composed at run time.</FONT></P>
<P><FONT face=Arial size=2>I found out that I can achieve this by using a 
function module similar to SWL0_PREVIEW_DEMO_TEXT_ONLY which can be specified in 
the Work Item Display tab of the User Decision step.</FONT></P>
<P><FONT face=Arial size=2>My questions are:-</FONT> <BR><FONT face=Arial 
size=2>1) How can I pass my workflow container elements to this function 
module?</FONT> <BR><FONT face=Arial size=2>2) How do I compose my custom text in 
this function module?</FONT> <BR><FONT face=Arial size=2>3) How to export my 
custom text out of this function module?</FONT> </P>
<P><FONT face=Arial size=2>Basically the usage of this function module</FONT><B> 
<FONT face=Arial size=2>SWL0_PREVIEW_DEMO_TEXT_ONLY</FONT></B><FONT face=Arial 
size=2></FONT><B> <FONT face=Arial size=2>.</FONT></B> </P>
<P><FONT face=Arial size=2>Thanks in advance!!</FONT> </P>
<P><B><FONT face=Verdana size=1>Regards</FONT></B> <BR><B><FONT face=Verdana 
color=#000080 size=1>Saurabh Chaturvedi</FONT></B> <BR><FONT face=Verdana 
color=#808080 
size=1>-----------------------------------------------------------------------</FONT><BR><B><FONT 
face=Tahoma color=#808080 size=1>PTU - Applications (DEV SCM Technical 
Team)</FONT></B><BR><FONT face=Verdana color=#808080 size=1>[F4.237] RMZ NXT, 
SAP Labs India, Bangalore<BR>Phone:</FONT><B> <FONT face=Verdana color=#808080 
size=1>+91-80- 4013 5253</FONT></B> <BR><A 
href="http://www.sap.com"><U></U><U><FONT face=Verdana color=#0000ff 
size=1>http://www.sap.com</FONT></U></A><B></B><BR><FONT face=Verdana 
color=#808080 
size=1>-----------------------------------------------------------------------</FONT> 
</P><BR><BR>***********************************************************************<BR>The 
information in this e-mail together with any attachments is<BR>intended only for 
the person or entity to which it is addressed<BR>and may contain confidential 
and/or privileged material.<BR>Any form of review, disclosure, modification, 
distribution<BR>and/or publication of this e-mail message is prohibited. <BR>If 
you have received this message in error, you are asked to<BR>inform the sender 
as quickly as possible and delete this message<BR>and any copies of this message 
from your computer and/or your<BR>computer system network. <BR>Any attachments 
should be checked for viruses by you, before being opened. SunWater accepts no 
responsibility for an attachment that contains a 
virus.<BR>***********************************************************************<BR><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>