Skip to Content
0
Former Member
Sep 11, 2007 at 10:04 PM

Item based approval - actual data

19 Views

Hello,

Case:

SC with two items where on one step are for item 1 determined two approvers: USER 1 and USER 2, for item 2 are determined again two approvers USER 1 and USER 3. Two WIs are generated for this step and both are sent to USER 1.

I would need to get info (in BADI BBP_WFL_APPROV_BADI) about currently processed WI by USER 1 (whether he is processing WI for SC item 1 or WI for SC item 2).

I've tried to get it using FM: BBP_PDH_WFL_DIALOGWI_FROM_OBJ but this FM returns table of all dialog WIs related to selected user in parameter ET_ALL_DIALOG_HEADER. In parameter EV_WORKITEM_ID it reurns last created WI.

Thank you very much in advance for your help.

RH