Automate

 View Only
  • 1.  XD02 - Adding Bank data IBAN issue

    Posted 17 days ago
      |   view attached

    Hi Everyone,

    I'm in the process of chaining multiple scripts together to fully automate our new account process. I'm currently testing each script individually and have come across an error when adding bank data in XD02.

    The script was created to click the IBAN in the payment transactions tab, enter the IBAN number and SWIFT code, generate bank data, and then tick the collection authorization box further along the table (screenshot attached of this area in SAP). The payment terms and method are also updated after this.

    The script gets stuck at adding the IBAN, and shows error code 'No batch input data for screen (SAPLIBMA 0200 IBAN)', which I assume means it is unable to read the IBAN field, because it is a table?

    I have debugged this script and walked through the steps, which was successful. But when I run the script again, the same error appears.

    Please could you advise there is a way to fix this, or if the script needs to be created with SAPGUI?

    Script is attached, all confidential data removed of course.

    Thanks in advance for any help.

    Jody



    ------------------------------
    Jody Boyce
    CAS
    Johnson & Johnson
    United Kingdom
    ------------------------------

    Attachment(s)



  • 2.  RE: XD02 - Adding Bank data IBAN issue

    Employee
    Posted 16 days ago
    Edited by Sigrid Kok 16 days ago

    Hi Jody

    Please consider checking the Start SAP GUI option on the Run tab and try again

    This is often the fix for a script running fine in debug mode but not when you click Run.

    Please give it a try.

    Best Regards,

    Sigrid



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



  • 3.  RE: XD02 - Adding Bank data IBAN issue

    Posted 15 days ago

    Hi Sigrid,

    I did try that, but had an error then too.

    I recreated the script using SAP GUI this time, and it now recognizes the IBAN field, so I'll use this one.

    Thank you for your help.



    ------------------------------
    Jody Boyce
    CAS
    Johnson & Johnson Vision Care - VISTAKON
    United Kingdom
    ------------------------------



  • 4.  RE: XD02 - Adding Bank data IBAN issue

    Employee
    Posted 14 days ago

    Hi Jody

    Finally had a moment to try this myself, and I wasn't able to capture the fields, either.  If you walk through it manually and hit F1 on one of the "parts" of the IBAN number, it says there is no technical information for those fields - usually you will get a pop-up and can view technical info.  So you were right in using GUI scripting.  IDK if there is a BAPI for it, that would be my first choice, but GUI Scripting is a good option when all else fails.

    Thanks for letting us know!

    Sigrid



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