When running a GUI Script, the user is getting an error that the method got an invalid argument on the step where a row in SAP is being selected.
Scripts recorded using the GUI Scripting recording mode.
This can be caused when a script is selecting an absolute row and is unable to perform that action.
This can be caused by differences in screen resolution between users, user settings within SAP itself, or differences between the SAP GUI and Patch level of the creator of the script and the runner.
This can be caused by a special character presents in the text line item (F-02)
When possible, avoid using GUI Scripting use either Non-Batch or Batch Modes and use either a Position function or the Page Up and Page Down functions to move through lists to select a row. This will allow the script to select the correct line without an error.
Please sign in to leave a comment.