Use SAP GUI automation engine to record VBScript

  1. Confirm that all SAP GUI scripting configurations are done.

  2. Open SAP Logon, and then select the SAP system to which you want to sign in.

    Screenshot of SAP Login 760.

  3. Select Customize Local Layout (Alt F12), and then select Script Recording and Playback.

    Screenshot of the SAP Easy Access system.

  4. Select More.

  5. Under Save To, provide the path and file name where you want to store the captured user interactions.

    Screenshot of saving the recording file in the Record and Playback dialog.

  6. Select Record Script to start the screen capturing process.
    Every interaction you do in SAP will be captured as repeatable VBScript commands.

  7. Follow the steps outlined in Sample SAP GUI automation for this tutorial to produce a recording.

  8. Select the Record and Playback dialog, select Stop Recording, and then close the dialog.

  9. Close all SAP windows now, if you wish.

SAP's scripting engine records each click as VBScript commands and saves it to the output file you provide. Open the file in your code editor of choice to examine its contents.