on 08-28-2009 1:23 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.