cancel
Showing results for 
Search instead for 
Did you mean: 

How to get shopping cart from workitem id

Former Member
0 Kudos

Hi Experts,

Is there any way to find shopping cart from workitem id? I have the workitem id and want to find shopping cart. Please help.

Thanks and regards,

Atanu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If a work item is created for a shopping cart, it will be linked to shopping cart number in table SWW_WI2OBJ  or SWW_CONTOB (older NW versions).

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Atanu,

If the shopping cart is under approval process,  the following may help you.

Pass the work item ID in SE16 for the table SWW_OUTBOX.  You will find the shopping cart number in work item text column.

Best Regards

Ram

Former Member
0 Kudos

Hi Atanu,

You can use the below FM to get the shoppig cart number from the WOKR ITEM ID:

SAP_WAPI_OBJECTS_IN_WORKITEM

At trasnaction level,you can use SWIA to get the shopping cart details from the work item ID.

Former Member
0 Kudos

Hi Deepti,

How to use this function module?

Regards.

Jason

Former Member
0 Kudos

You can use the below FM to get the shoppig cart number from the WOKR ITEM ID:

SAP_WAPI_OBJECTS_IN_WORKITEM

At trasnaction level,you can use SWIA to get the shopping cart details from the work item ID.

Former Member
0 Kudos

Hi Atanu,

Do you have just single shopping cart workitem id and you want to find sc number? In that case you can use transaction code SWIA. This will give you workflow details and in there you can find the SC number. If you do not have access to SWIA as that is workflow admin transaction please use SWI1 to review the workflow.

Thank you

Ritesh

Former Member
0 Kudos

Hi Atanu,

Please explain your requirement bit more.

In SRM there is option that shopping cart monitor to find the shopping cart.

Regards,

Naga.

Former Member
0 Kudos

Hi Naga,

I have workitem id available in the program. I need to find some function module through which I can find out the shopping cart. Is BBP_PDH_WFL_OBJECT_WI_GET useful?

Thanks,

Atanu

Former Member
0 Kudos

Hi,

You can use the FM bbp_pd_sc_getdetail to get shopping cart details.

Regards,

Naga.