Automate

 View Only
  • 1.  Delete selected partner function from a BP

    Posted 05-20-2024 05:15
      |   view attached

    Morning!

    For adding a new partner function to a BP on sales area, I use Sigrid's sort trick and it works very well! I have attached my script.  (BP_KNVP_ZZSH.xml)

    I have an additional requirement to create an Evolve form to allow deletion of an existing partner function from a BP.

    How do I go about selecting a specific partner function for deletion? Do I need to record with GUI scripting? Can GUI scripting be converted to xml for Evolve form?

    I could not find a BAPI for S4hana for partner function.

    Appreciate your support.

    Regards,

    Renette

     



    ------------------------------
    Renette Nienaber
    Data Management specialist
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------

    Attachment(s)

    Txr
    BP_KNVP_ZZSH_XML.Txr   1.40 MB 1 version


  • 2.  RE: Delete selected partner function from a BP

    Employee
    Posted 05-20-2024 11:38
      |   view attached

    Hi Renette

    Unless I'm missing something, wouldn't the position at the bottom work for you?

    then select it as the top row and click delete

    Simple example attached 

    Before

    script run:

    after:

    And GUI scripts can be created, but they cannot be used in a web form.  I wish there were more BAPIs from SAP, but that isn't the case in ECC (even though there were tons in the old CRM systems).

    Best Regards,

    Sigrid



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

    Attachment(s)



  • 3.  RE: Delete selected partner function from a BP

    Posted 05-20-2024 14:21

    Thank you Sigrid, I missed the position / search option on the bottom of the screen, "overworked" the solution when there is a simple option :-).

    warm regards,

    Renette



    ------------------------------
    Renette Nienaber
    Data Management specialist
    VIVO ENERGY SOUTH AFRICA (PTY) LTD
    ------------------------------



  • 4.  RE: Delete selected partner function from a BP

    Employee
    Posted 05-20-2024 15:25

    No worries, Renette.  It happens to me, too. :)

    Best Regards,

    Sigrid



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