Automate

 View Only
  • 1.  Adding extra Partners (BP and PY) using winshuttle SAP Hana

    Posted 01-29-2020 02:45
    Hi

    I need to add additional PY and BP Partner functions to a large number of customers using transaction BP using Winshuttle transaction

    Has anybody done something similar?

    ------------------------------
    Bennie de Villiers | CSC Manager
    Kynoch Fertilizer | 0836275970
    ------------------------------


  • 2.  RE: Adding extra Partners (BP and PY) using winshuttle SAP Hana

    Employee
    Posted 01-29-2020 09:49
    Hi Bennie

    BP is the "beast" (my nickname for it).  :) 

    To get this to work, you have to use GUI scripting with an Indexed Loop, which will find the next open row and add the partner.  There is an online training module for Transaction which will show you how to add one: https://winshuttle.ancileuperform.com/gm/folder-1.11.1834?mode=EU  (get access to training thru a support ticket if you don't have one)
    I created a quick example, attached:
    1. BP open partner
    2. switch to edit mode (only for first transaction since it defaults to display) - use IF first transaction
    3. swap to sales role (only for first transaction - this makes the run a bit faster) - use IF first transaction
    4. switch to the sales area you need - click switch and enter the values for sales org, dist channel and division
    5. swap to partner tab (only for first transaction - this makes it run a bit faster) - use IF first transaction
    6. indexed loop to add partner role and partner
    7. save
    8. exit
    I added comments in the script in various places.

    There is a cryptic message if you enter bad or duplicate data - "choose a valid function", so I used our transform message functionality to swap to something a bit more meaningful - feel free to remove or change it

    Hope this helps,
    Sigrid

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

    Attachment(s)

    Txr
    BP_AddPartners_GUI.Txr   111 KB 1 version
    xlsx
    BP_AddPartners_GUI.xlsx   39 KB 1 version


  • 3.  RE: Adding extra Partners (BP and PY) using winshuttle SAP Hana

    Posted 01-30-2020 11:07
    Hello Bennie, 

    I use XD02 with Batch Input mode.  Yes in Hana!   First, complete the org information, then select partners option, then press enter (continue) click in the first column partner type if cursor is not there, press page down 3 times or more according to how partners are stored (In our SAP there are 2 pages of partners, hence page down 3 times, add more page down if you need, then enter new BP partner at the last line, then save.    I have found this to be very easy to record and upload quicker, unlike the GUI mode.  I do not use the loop, just load one line (BP partner at a time).   GUI option works well also as explained by Sigrid in the previous post.  

    On another note, try/test in a test system XD02 / XK02 in standard mode.  SAP redirects to BP in change mode so the user does not have to select the display/change then no need to use the IF condition only on first transaction option.   Have fun testing this.  I love it!  It saved me a lot of time.

    Regards,
    John






    ------------------------------
    John Nickerson | BA
    ID Foods Corporation | (514) 975-8696
    ------------------------------



  • 4.  RE: Adding extra Partners (BP and PY) using winshuttle SAP Hana

    Employee
    Posted 01-31-2020 09:08
    Oh what JOY if I still had XD02 (or XK02) in S/4Hana.  It's not enabled by default, but if you have it and it works, use it! :)

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