on ‎2013 Oct 22 1:37 PM
Hi Forum,
How to find sub workitem for a SC item?
For e.g. a shopping cart has 2 items, one is approved and one is rejected so it sets the status of individual SC item.
In BBP_PD I can see the workitem ID but that is for complete SC.
How can I find the sub workitem for each item of the SC?
We are using Application controlled workflow.
I tried using the FM 'SWI_GET_DEPENDENT_WORKITEMS' but I could not relate the entries in table DEPENDENT_WIS with SC Item.
Kindly provide your inputs.
Thanks,
Anubhav
Request clarification before answering.
Hi Anubhav,
Pass the main workitem id into FM - BBP_WFL_DIN_APPR_CONTAINER_GET.
This will give you the individiual sub workitem IDs.
For extracting the main work item id, you can use FM - BBP_PDH_WFL_WI_FROM_OBJECT_GET - Just pass the "object type" as BUS2121 and SC number in the "object ID" field.
Hope this helps.
Regards,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubhav,
Via SWI1 > table view> chronological view you can see the WI of each step.
Thanks,
Melina
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.