Skip to Content
avatar image
Former Member

How to obtain a Shopping cart number from memory

Hello, i am trying to get the number of a freshly created shopping cart. I need this number to get the GUID and then to specify responsible approvers for shopping cart and items in that cart. I know that i can get the GUID from this FM, where i have to specify shopping cart number as input value.

CALL FUNCTION 'BBP_PD_SC_GUID_GET'
  EXPORTING
    IV_OBJECT_ID       = object_id
 IMPORTING
   EV_GUID            = lf_guid
*   EV_OBJECT_ID       =
  TABLES
    ET_MESSAGES        = lt_messages

I am working on a SRM 7.0 system.

Is there anyone who can tell me how to get this shopping cart number from the memory or with other FM.

Any kind of help would be highly appreciated. Still i am very fresh in this field of SRM and Workflow and could need any kind of help.

Thanks in advance and kind regards,

Matt

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 05, 2012 at 11:39 PM

    Hi,

    I dont understand what are you trying to achieve in the responsible approvers? may i know your requirement? i think you are missing something..

    Saravanan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      Go to table BBP_PD mention the object type as BUS2121 and always look for SC at the bottom level. those are newly created the SC's. In the Header data you can find object id as shopping cart number.

      Get the the GUID or object id of SC and pass to FM BBP_PD_SC_GETDETAILS to read the line item details for the SC.

      But I am still not clear with your inputs.

      regards

      sahil p

  • Mar 05, 2012 at 09:10 PM

    Hello,

    Have you tried to use BBP_PD_SC_GETDETAIL? You can input shopping cart number and shopping cart header GUID will be returned.

    Regards,

    Ricardo

    Add comment
    10|10000 characters needed characters exceeded