Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Attachment in workflow task not working

$
0
0

Hi All,

 

I know there are several posts regarding the attachment of PDF file in a workflow item, But i have tried all solutions given under them and still attachment is not working.

 

My requirement is to attach a PDF when PO is released. For this i have created a ZBUS2012 with  Z method. In that method i have created a RFC to get data from SRM server.

 

I have passed the XSTRING data of a smartform using convert_otf to the 'SAP_WAPI_ATTACHMENT_ADD' and the att_bin parameter is getting populated. As suggested by various posts i have tried the following code for attaching

 

swc_set_element container 'SOFM'  att_id-doc_id

 

After this I have done the binding in task with SOFM.

 

And after this i have done binding of workflow container i.e. SOFM from task to Attach_objects.

 

Thanks in advance


Viewing all articles
Browse latest Browse all 8419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>