Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 10, 2008 at 03:30 PM

    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

    Add comment
    10|10000 characters needed characters exceeded