Automate

 View Only
  • 1.  BAPI_BUPA_ROLE_REMOVE

    Posted 04-13-2023 07:40

    Hi - I am after a script to support the removal of a role from a Business partner in S4. BAPI_BUPA_ROLE_REMOVE does not seem to work? BAPI_BUPA_ROLE_ADD_2 works perfectly fine to add but can't seem to find a solution to remove a role.
    Kindly assist.

    remove role from BP

     



    ------------------------------
    Renette Nienaber
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------


  • 2.  RE: BAPI_BUPA_ROLE_REMOVE

    Employee
    Posted 04-13-2023 09:56

    Hi Renette

    It's great you're using BAPIs and thus Direct!  I think there is one:


    I checked and it's in both ECC and S4 (I checked in 1909)

    Hope that helps,
    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: BAPI_BUPA_ROLE_REMOVE

    Posted 04-13-2023 10:54

    Thank you Sigrid, I can confirm that both the Add role and Remove role BAPI is working fine for me in S4hana.



    ------------------------------
    Renette Nienaber
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------

    Attachment(s)



  • 4.  RE: BAPI_BUPA_ROLE_REMOVE

    Employee
    Posted 04-13-2023 18:02
    Edited by Sigrid Kok 04-13-2023 18:02

    That's great, @Renette Nienaber.

    Thanks for the confirmation and thanks for sharing the examples!  That's true community spirit!

    Best Regards,
    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------