Skip to Content
avatar image
Former Member

Vendor Partner No Missing in BADI BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE

Hello,

I have a request to modify ET_ORGDATA in the  BBP_SC_CHANGE method of BADI BBP_DOC_CHANGE_BADI if the vendor and item combination is found in a custom table.

The problem I have ran into is that the vendor partner number is not being populated until the shopping cart is saved.

Is there a way to lookup the preferred supplier assigned to a catalog item in the BBP_SC_CHANGE method after the item(s) are first added to the cart (but before the save)?

Thank-you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 14, 2013 at 01:11 PM

    Hi,

    If I have not misunderstood your issue, the table IT_PARTNER is only filled within the badi if you change something of that partner.

    You can use within the badi the FM BBP_PD_SC_GETDETAIL to get the current partners of your SC.

    EDIT: I didn't read you are talking about catalog items... check if the badi BBP_CATALOG_TRANSFER is useful...

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 14, 2013 at 02:44 PM

    Hello,

    Thanks Ricardo for the advice. 

    It looks as if I can use ENRICHED_ITEM_DATA in BBP_CATALOG_TRANSFER, which has vendor ID, and tranfer it to ET_SC_ITEM_DATA once I have created an append structure.  Hopefully, this will work when the BBP_DOC_CHANGE_BADI. 

    I will update soon.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      Thank you for the response. Your response sounds promising; however, I do not understand what is meant by  ...

      "You can define following way;  r_catalog_content TYPE bbp_ws_oci_item_s" 

      How and where do you define r_catalog_content ?

      I am new to how data is constructed in SRM, so your input would be appreciated. 

      Thanks in advance for input.