Automate

 View Only
  • 1.  BAPI Business Partner organizational levels

    Posted 07-12-2021 08:06
    hello,
    I am (successfully) using BAPI_BUPA_CREATE_FROM_DATA to create General data of a business partner (as organization).
    In this BAPI I cannot find an element to state for which entity (SalesOrg/CompCode/PurchOrg) so that is why I say I can create general data.

    I can extend/add a role with BAPI_BUPA_ROLE_ADD2 however, I cannot find how to create/extend on Company Code level and/or Purchase Org level.
    In the library of BAPI_BUPA bapi's I do find a few with Sales Organization. (Haven't used them as I am stuck on Company Code and/or Purchase Organization level.

    Anyone who can help me in the right direction with the proper BAPI/RFM that I could use?

    My idea is to have a creation of General Data and extension on Sales Org level data, Company Code level data and Purchase Org level data (all separately).

    (edit: we are on SAP S4-2020, using Studio 12.1 WFM 20)

    Thanks for any valuable tips/examples!
    KR

    ------------------------------
    Ed Meiners | Team leader Business Applications – Master Data Integration Management
    Royal Wessanen nv | +31 (0)20 3123353
    ------------------------------


  • 2.  RE: BAPI Business Partner organizational levels

    Employee
    Posted 07-12-2021 11:26
      |   view attached
    Hi Ed

    Unfortunately, SAP hasn't made it easy.  The only FM I could find is the one they included with the migration cockpit: RFC_CVI_EI_INBOUND_MAIN 
    There is documentation.    Please note it says it's just for creation - not update nor delete.

    I played around with it several years ago with a much older version of S4 but don't have anything in good shape to share for company extensions, but I am attaching the one I created for sales areas.  No guarantee it will work, but hopefully it will give you an idea of how to use it.

    Please note that you can record it via Transaction, too.  There are template examples I created and shared that basically do an 'upsert' - create for company and sales area if they don't exist, or update if they do.  Check out the resources - templates link and search for business partner.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------

    Attachment(s)



  • 3.  RE: BAPI Business Partner organizational levels

    Posted 07-13-2021 02:29
    Indeed, also recording itself is extremely difficult (screens with 3 scroll bars in it and very limited visibility of the transaction itself).
    I belief i have found the templates you referred to (BP....Data round trip) so, I will give it a go.

    Thanks for your help.

    ------------------------------
    Ed Meiners | Team leader Business Applications – Master Data Integration Management
    Royal Wessanen nv | +31 (0)20 3123353
    ------------------------------



  • 4.  RE: BAPI Business Partner organizational levels

    Employee
    Posted 07-12-2021 11:44
      |   view attached
    Hi Ed,

    I also have a dated example of adding a purchase org.  Again, just meant to be an example.  I created it a while ago, and it may not work in your system.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 5.  RE: BAPI Business Partner organizational levels

    Posted 07-13-2021 02:26
    Thank you Sigrid, I will try to work my way through it.

    ------------------------------
    Ed Meiners | Team leader Business Applications – Master Data Integration Management
    Royal Wessanen nv | +31 (0)20 3123353
    ------------------------------