cancel
Showing results for 
Search instead for 
Did you mean: 

FM to retrive Shopping cart number from Confirmation

Former Member
0 Kudos

Hi All ,

We are using SRM 5.0 and classical scenorio.

I have created confirmation for a PO and i need to retieve the appropriate shopping cart number for the PO which i created confirmation in SRM system itself

Could you please any one tell me the table name or function module name to retieve the shopping cart number from the confirmation.

Assured Points.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you can use transaction BBP_PD. Here you enter the confirmation number and in the document you can see the connected documents like shopping carts, purchase orders ...

I hope that i understood your query correctly.

Best regards,

Georg

former_member206968
Active Contributor
0 Kudos

Hi

You can use following logic;

Use FM BBP_PD_CONF_GETDETAIL to get the PO number for the confirmation from ES_Header-be_refobj field.

Then get the PO guid from table CRMD_ORDERADM_H using PO number. Then use FM BBP_PD_PO_GETHISTORY with PO guid to get all the PO history data. You would get all the history from shopping cart to confirmation here.

Regards,

Sanjeev

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use the FM: BBP_PD_OBJREL_READ_VIA_REF

Pass the Confirmation Number in the parameter IV_OBJECTKEY

Pass the value 'BUS2203' in the parameter IV_OBJECT_TYPE.

Now in ET_HEADER in the field OBJECT_ID you will get the shopping cart number.

Thanks,

Pradeep