cancel
Showing results for 
Search instead for 
Did you mean: 

Link SC to Work Item

Former Member
0 Kudos

SWWWIHEAD shows the Shopping Cart Tasks (WI_ID = W) and the Workflow Work Items. If I view Work Item the Cart number is in the text but this is not good enough. It's also under Available Ohjects>Process Objects>Reqt.cov. request.

How can I link the Work Item to the Shopping Cart number?

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi Matt,

In SWI1, you can highlight your work item and then click on icon " display work item container".

In the container, you will find both shopping cart number as well as your work item number.

Kind regards,

Yann

Former Member
0 Kudos

Thanks Yann.

I should have said that I need to program the link - I've got the Shopping Cart numbers and need to find the Work ID so I can see how long it took before they were approved.

I'll debug SWI1 and see how it finds the Cart Number it displays.

Former Member
0 Kudos

FM 'SWW_WI_CONTAINER_READ_OBJECTS' is great for going from the Work Items to the Cart.

I still need to find a Table or Function Module to go from the Cart to the Work Item(s).

Best I can think of at the moment is to build a Z table for ALL Carts and get a batch job to continually update it with the Work Items whenever new Carts are created or every x hours/minutes.

Former Member
0 Kudos

Hello Matt,

I have the solution:

use BBP_PDH_WFL_WI_FROM_OBJECT_GET with

- iv_object_id = SC ID

- iv_object_type = BUS2121

you can then use SRM_WAPI_WORKFLOW_GETDETAIL to get WI details.

Rgds

Christophe

Answers (0)