Skip to Content
avatar image
Former Member

How to get Workitem ID

Hi,

I want to know the instance of Runnign workflow means whether it is running or completed or In Process. so that i am using FM SWP_WF_INSTANCE_HEADER_READ.

For the above FM WorkItem ID is required, but i am not able to find FM or table(I hav eObject Key and Object type) to get WI ID.

Could anyone let me help to resolve this issue..

Harkesh Dang

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 09, 2008 at 07:41 AM

    Search this forum you will get your answer. Search in se37 with keyword

    SAP_WAPI*

    and in se11

    SW*

    Thanks

    Arghadip

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 09, 2008 at 03:30 PM

    Insert this code within your method before the FM call:

    swc_get_element container 'WorkItemID' zzw_id

    ( data: zzw_id like swwwihead-wi_id)

    You should be able to debug the container for the exact name of the workitem id.

    Regards,

    Peter Hang

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 12, 2008 at 03:10 AM

    thanks

    Add comment
    10|10000 characters needed characters exceeded