Skip to Content
avatar image
Former Member

Shopping Cart Number from Purchase Order

Hi Ppl,

Santosh here. Does anyone have any idea of the Function Module(or possibly any other solution) to get the Shopping Cart Number from the Purchase Order.

I have an requirement where in i need to determine the Shopping cart number from a purchase order.

Please provide me with some solution ASAP if anyone is aware of it.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 10, 2006 at 12:34 PM

    Hi Santosh,

    To directly get the SC ID from the PO ID, you can use FM BBP_PD_OBJREL_READ_VIA_REF, with:

    - IV_OBJECTKEY = your PO ID

    - IV_OBJECTLINE = only if you aggregate N SC into one PO

    - IV_OBJECT_TYPE = BUS2201 for SRM PO, BUS2012 for R/3 PO

    Rgds

    Christophe

    PS: please reward points for helpful answers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This field is used to pass the PO item number.

      As I told you, this is relevant only if you aggregate N SC into 1 PO, then you could require to indentify the exact SC for a particular PO item.

      Rgds

      Christophe

  • avatar image
    Former Member
    Jul 10, 2006 at 12:26 PM

    Hi,

    you can use : BBP_PD_PO_GETDETAIL

    you'll find the guid of the Shoping cart in E_HEADER_REL,

    the shopping cart guid is in field GUID_A.

    you'll find easily the link between guid and object ID in table CRMD_ORDERADM_H.

    Bertrand

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      @ Bertrand

      Thanks buddy, based on the GUID, the SC details can be fetched from table CRMD_ORDERADM_H.