Skip to Content
avatar image
Former Member

FM to retrive Shopping cart number from Confirmation

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 05, 2009 at 02:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Feb 06, 2009 at 05:08 AM

    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

    Add comment
    10|10000 characters needed characters exceeded