Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP_WAPI_ATTACHMENT_ADD and WORKFLOW

I have a project about WD4A and workflow. I use a WD to trigger a workflow by raising a event of self-defined class. Meanwhile, I want to generate a pdf file as an attachment for the next receiver in the workflow. Method SAP_WAPI_ATTACHMENT_ADD need work item ID as a import parameter. Here is the problem, how can I get the work item ID after triggering the workflow?

Former Member
replied

Yes you need a background step to create the attachment and pass it back to the WF.

Regards, IA

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question