cancel
Showing results for 
Search instead for 
Did you mean: 

Number of SC joined to deleted PO

Former Member
0 Kudos

HI GURUS,

We have some local Purchase Orders which were deleted (ECS Scenario in EBP - SRM5.0).

How to find the number of SC joined to deleted PO? Are there any table to check ?

In transaction BBP_PD, with object type BUS2201 and object ID = deleted PO there isn't more connection.

Are there any table for the previous PO version?

Thanks in Advance ,

Titti

Accepted Solutions (0)

Answers (2)

Answers (2)

peter_novoth
Active Contributor
0 Kudos

Hi Titti,

call the transaction SE16

-> search in the table BBP_PDBEI with the BE_OBJECT_ID (= the number of the PO)

-> you will get the the reference to the corresponding SC item (copy the GUID)

-> call in a new screen the BBP_PD with this GUID, and you will get the SC

Regards,

Peter

Former Member
0 Kudos

Hi,

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 solution helps you.

Regards,

Kalyan