cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to find sub workitem for SC item?

Former Member
0 Likes
302

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Anubhav,

Via SWI1 > table view> chronological view you can see the WI of each step.

Thanks,

Melina