<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; ">Dear Experts,<br><br>I have a webdynpro java application run in portal. Initiator will fill the form and also upload a file in portal using file upload UI element and will click submit button which will trigger the workflow using SWE_EVENT_CREATE FM. In my workflow there are 4 levels of approval. I want to get the file (any extension) uploaded in portal as attachment in user decision step of each approver. I tried with SCMS_XSTRING_TO_BINARY FM to convert the uploaded file into binary. I pass this binary type to workflow. In wf I convert it agan to xstring using SCMS_BINARY_TO_XSTRING FM.&nbsp;<br><br>I need to create a SOFM instance to attach the file. I am using ecc4.7. SAP_WAPI_ATTACHMENTS_ADD FM available in ecc 6.0 version is not available in 4.7 version. Please suggest me a
 way to handle this file upload process. Also in case the approver clicks send back button in user decision, initiator will receive a workitem in UWL for making changes. In that workitem I need to populate the initially entered values as well as attachment.&nbsp;<br><br>Kindly tell me how to handle this scenario. Please share your ideas.</span><div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">Regards,</font></div><div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif">Bharath</font></div><div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Arial, Helvetica, sans-serif"><br></font></div></td></tr></table><br>



      <!--1--><hr size=1></hr> 
The INTERNET now has a personality. YOURS! <a href="http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/" target="_blank">See your Yahoo! Homepage</a>.