cancel
Showing results for 
Search instead for 
Did you mean: 

FM to catch the WF container data?

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)