Skip to Content

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

FM to catch the WF container data?

Hi All

I need a FM to catch the WF container data. but the input to the FM should be WF templete No. and the status of WF like "STARED/ COMPLETED"

Thanks,

Kakoli.

Former Member
Former Member replied

Hi Kakoli,

If you know the object type and key you are working with then you could use SAP_WAPI_WORKITEMS_TO_OBJECT to retrieve the relevant workflows based upon the workflow template(s) you specify in the TASK_FILTER table. You could then filter the workflows retrieved by status.

FM SAP_WAPI_READ_CONTAINER could then be used to retrieve the container data.

Best Regards,

Trevor

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