You can use the setcursor command to place the cursor into a table cell. In this example we will assign values to several fields on the VA01 initial screen.
Note: The setcursor command wil only work with native SAP tables - it does not currently work with GuiXT tables.
Launch SAP and navigate to the VA01 initial screen:
Open the 'SAPMV45A.E0101.sjs' script file, and enter the following code to create the toolbar pushbutton that will trigger the actions. Create the file if it does not already exist.