cancel
Showing results for 
Search instead for 
Did you mean: 

Work Item ID

0 Kudos

Hello All,

I am trying to get the work item id after the workflow triggered. I am using class based workflow and triggered the workflow through the event.

Please help me to get the work item id.

Thanks in Advance.

View Entire Topic
0 Kudos

Hi Ranjith,

You can try following Standard Table.

SELECT SINGLE  wi_id

       FROM           sww_wi2obj

       INTO             lv_wiid

       WHERE        wi_rh_task EQ "Your Workflow Template ID (WS*)"

       AND              instid        EQ  lv_event_id(Which will be return from SWE_EVENT_CREATE).

Let me know if you need more info on this.

Regards,

Siva K.