Automate

  • 1.  GUI script

    Posted 09-22-2021 10:34
    hi experts.
    I've created Gui script for BP transaction to assign contact person to correct company  address in relationship tab. My problem is that it works only for first line. Do I miss any specific settings in order to run script for every line in excel? 
    I've tried to put loop but script creates only those entries that was recorded during script recording and then ends.
    I cannot use standard recording because  it does't capture the operation when you search (or choose) address from list of addresses.
    thanks ,Rado

    ------------------------------
    Radoslav Magal | BAA
    PPG Industries International
    ------------------------------


  • 2.  RE: GUI script

    Employee
    Posted 09-30-2021 08:38
    Hi Radoslav 

    I was trying to see if I could manually reproduce this, but even with multiple addresses assigned to the BP, I couldn't.

    Based on the way the pop-up works, GUI scripting *may* work, but you'd have to use the identify disabled fields options.  I'm doubtful, however, that it will.

    I would suggest looking for a BAPI or remote-enabled Function Module and use Direct, if at all possible.

    Best Regards,
    Sigrid


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