<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16757" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=532091522-05012009><FONT face=Arial
color=#0000ff size=2>Srinivas, Please do NOT use SWW function modules - these
are internal routines and not designed for customer use. Instead you
should use the SAP_WAPI_ function modules such as SAP_WAPI_START_WORKFLOW. These
are workflow API designed for customer use. You should find that the
interface is also easier to use than the SWW routines.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=532091522-05012009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=532091522-05012009><FONT face=Arial
color=#0000ff size=2>You might want to try starting your workflow manually with
appropriate parameters using transaction SWUS and then
use SAP_WAPI_READ_CONTAINER on your test workflow instance to understand
how to fill the container correctly. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=532091522-05012009><FONT face=Arial
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=532091522-05012009><FONT face=Arial
color=#0000ff size=2>Jocelyn </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>srinivas reddy
oota<BR><B>Sent:</B> Monday, 22 December 2008 7:27 PM<BR><B>To:</B> SAP Workflow
Users' Group<BR><B>Subject:</B> [LIKELY JUNK]Fwd: FW: help required in data
binding<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV class=gmail_quote>---------- Forwarded message ----------<BR>From: <B
class=gmail_sendername>Oota, Srinivas R</B> <SPAN dir=ltr><<A
href="mailto:srinivas.oota@eds.com">srinivas.oota@eds.com</A>></SPAN><BR>Date:
Mon, Dec 22, 2008 at 1:48 PM<BR>Subject: FW: help required in data
binding<BR>To: <A
href="mailto:ootasrinivasreddy@gmail.com">ootasrinivasreddy@gmail.com</A><BR><BR><BR>
<DIV><BR><BR>
<P><FONT face=Arial color=#0000ff size=2>Regards,</FONT> <BR><B><FONT face=Arial
color=#0000ff size=2>Srinivas</FONT></B> <BR><FONT face=Arial color=#0000ff
size=2>SAP Practice India GCC</FONT> <BR><FONT face=Arial color=#0000ff
size=2>EDS an HP company</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Software Engineer 1</FONT> <BR><FONT face=Arial color=#0000ff size=2>MVP
Double Road</FONT> <BR><FONT face=Arial color=#0000ff size=2>Visakhapatnam
-530017</FONT> <BR><FONT face=Arial color=#0000ff size=2>Office:+91-891-2558722
,Ext:112</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Voip:+001-2144530414</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Mobile:+919908472277</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Website: </FONT><A href="http://www.eds.com/" target=_blank><U><FONT
face=Arial color=#0000ff size=2>http://www.eds.com</FONT></U></A><FONT
face=Arial color=#0000ff size=2> </FONT><BR><FONT face=Arial color=#0000ff
size=2> </FONT>
<BR><FONT face=Webdings color=#008080 size=7>û</FONT><FONT face=Verdana
size=2> </FONT> <FONT face=Verdana color=#008000 size=2>Please consider the
environment before printing this</FONT><FONT face="Times New Roman"></FONT>
<FONT face=Verdana color=#008000 size=2>message.</FONT><FONT
face="Times New Roman"> </FONT></P><BR><BR>
<UL>
<P><FONT face=Tahoma size=1>______________________________________________
</FONT><BR><B><FONT face=Tahoma size=1>From: </FONT></B> <FONT
face=Tahoma size=1>Oota, Srinivas R </FONT><BR><B><FONT face=Tahoma
size=1>Sent: </FONT></B> <FONT face=Tahoma size=1>Monday, December
22, 2008 1:40 PM</FONT> <BR><B><FONT face=Tahoma
size=1>To: </FONT></B> <FONT face=Tahoma size=1>'SAP
Workflow Users' Group'</FONT> <BR><B><FONT face=Tahoma
size=1>Subject: </FONT></B> <FONT
face=Tahoma size=1>help required in data binding</FONT> </P>
<P><FONT face="Times New Roman">Hi Experts, </FONT><BR><FONT
face="Times New Roman">I am having a data binding issue. The requirement is
when I execute an RFC workflow should start via wapi FM the problem is with
the data binding. How to pass the container values to workflow template. What
to declare in the workflow template to map the container which I am giving as
import parameters to the start workflow FM.The whole process is explained in
screen shots. Please help me out in fixing this issue. </FONT></P>
<P><FONT face="Times New Roman">Step1.Workflow gets trigger via RFC with
l_wf_conatiner as import parameters.</FONT> <BR><FONT face=Arial color=#000000
size=2><IMG alt="Picture (Metafile)" src="No%20AttachName"></FONT> <BR><FONT
face=Arial color=#000000 size=2>Values in the container.</FONT> <BR><FONT
face=Arial color=#000000 size=2><IMG alt="Picture (Metafile)"
src="No%20AttachName-1"></FONT> <BR><FONT face=Arial color=#000000
size=2>Step2.Workflow templete with a single task (background task).</FONT>
<BR><FONT face=Arial color=#000000 size=2> <FONT face=Arial color=#000000
size=2> <IMG alt="Picture (Metafile)" src="No%20AttachName-2"></FONT></FONT>
<BR><FONT face=Arial color=#000000 size=2>Step 3.Binding with workflow
templete and task step.UPI is the only variable required at the moment. I
declared UPI as SWCONT with multiple lines.</FONT></P>
<P><FONT face=Arial color=#000000 size=2><IMG alt="Picture (Metafile)"
src="No%20AttachName-3"></FONT> <BR><FONT face=Arial color=#000000 size=2>Step
4.Task and method binding.</FONT> <BR><FONT face=Arial color=#000000
size=2><IMG alt="Picture (Metafile)" src="No%20AttachName-4"></FONT> <BR><FONT
face=Arial color=#000000 size=2>Step5.Code inside the method.</FONT> <BR><FONT
face=Arial color=#000000 size=2><IMG alt="Picture (Metafile)"
src="No%20AttachName-5"></FONT> </P>
<P><FONT face=Arial color=#000000 size=2>Please correct me where I am doing
wrong..</FONT> </P><BR><BR>
<P><FONT face=Arial color=#0000ff size=2>Regards,</FONT> <BR><B><FONT
face=Arial color=#0000ff size=2>Srinivas</FONT></B> <BR><FONT face=Arial
color=#0000ff size=2>SAP Practice India GCC</FONT> <BR><FONT face=Arial
color=#0000ff size=2>EDS an HP company</FONT> <BR><FONT face=Arial
color=#0000ff size=2>Software Engineer 1</FONT> <BR><FONT face=Arial
color=#0000ff size=2>MVP Double Road</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Visakhapatnam -530017</FONT> <BR><FONT face=Arial color=#0000ff
size=2>Office:+91-891-2558722 ,Ext:112</FONT> <BR><FONT face=Arial
color=#0000ff size=2>Voip:+001-2144530414</FONT> <BR><FONT face=Arial
color=#0000ff size=2>Mobile:+919908472277</FONT> <BR><FONT face=Arial
color=#0000ff size=2>Website: </FONT><A href="http://www.eds.com/"
target=_blank><U><FONT face=Arial color=#0000ff
size=2>http://www.eds.com</FONT></U></A><FONT face=Arial color=#0000ff size=2>
</FONT><BR><FONT face=Arial color=#0000ff
size=2> </FONT>
<BR><FONT face=Webdings color=#008080 size=7>û</FONT><FONT face=Verdana
size=2> </FONT> <FONT face=Verdana color=#008000 size=2>Please consider
the environment before printing this</FONT><FONT
face="Times New Roman"></FONT> <FONT face=Verdana color=#008000
size=2>message.</FONT><FONT face="Times New Roman">
</FONT></P><BR></UL></DIV></DIV><BR><BR clear=all><BR>-- <BR>SRINIVAS REDDY
OOTA<BR>SAP Technical Consultant<BR>EDS SAP Practice<BR><A
href="mailto:srinivas.oota@eds.com">srinivas.oota@eds.com</A><BR><A
href="mailto:srinivas.oota@hp.com">srinivas.oota@hp.com</A><BR><A
href="mailto:soota@worldbank.org">soota@worldbank.org</A><BR>Mob:9908472277<BR></BODY></HTML>