cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get TOP_WI_ID( workitem ID)

Former Member
0 Kudos

hello, i need a FM to get the top wi_id s. By wi_id, i mean the workitem id that you see in transaction BBP_PD for a purchase order.I've used FM SAP_WAPI_CREATE_WORKLIST and there are cases where i get a subsequent workitem id.

You can find the top_wi_id in table SWWWIHEAD.

Thanks in advance.

Edited by: Antish Awootar on Aug 28, 2009 2:24 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

The function moudle name is BBP_PDH_WFL_WI_FROM_OBJECT_GET.

import parameters like :

IV_OBJECT_ID 2000391794 (Purchase order Number)

IV_OBJECT_TYPE BUS2201 (Object Type)

IV_GUID DE92DC53A650A4F18447000802E0AD3E(GUID of the PO hedaer)

Execute the FM, in the export parameter you will get the workitemID in the filed

(EV_WORKITEM_ID ).

Regards,

Anindya