cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the PR's (shopping carts) that relate to a PO

former_member852447
Active Participant
0 Kudos

Hello Experts,

I have to find what PR's relate to a successful PO. How can this be found in SRM 7.0

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David,

You can use pass the PO number in function module BBP_PD_PO_GETDETAIL.

From here you will get the Shopping cart Item Guid in E_ITEM-SRC_GUID. You can again pass this guid in the table CRMD_ORDERADM_I and get the parent guid.

Pass this parent guid in table CRMD_ORDERADM_H to get the shopping cart number. Its stored in the OBJECT_ID field.

There is another way to find out the shopping cart number:

Pass the PO number in FM BBP_PD_PO_GETDETAIL

Check the E_HEADER_REL, when the value of the field OBJTYPE_A = BUS2121 then the field GUID_A will contain the header guid of the shopping cart.

Use this guid to get the SC number from table CRMD_ORDERADM_H.

Hope this helps.

Thanks,

Pradeep

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

If you are looking thru a function module, use BBP_PD_GETHISTORY and input H_OBJECT_T(for PO it is BUS2201) and H_GUID (get the guid from Tx BBP_PD). This will list the SC's and followon documents.

R/Reddy.

former_member183819
Active Contributor
0 Kudos

Hi

In addition to pradeep,

monitor sc

selection follow on document supply your PR no and result you get your related sc.

br

muthu