Back to

Running scripts

Running multiple or linked files

TRANSACTION supports recording of only one SAP transaction for each script file. If you want to use multiple transactions in a business process, you can record multiple scripts and link them together. The Link Script setting automatically launches and executes TRANSACTION scripts in sequence. You can even generate data from one script to be used in another script. For example, one script might extract the data to another column in a data sheet, and a second script might process the extracted data.

To link scripts

  1. In the Run pane, click the Advanced Run Properties slide-in.
  2. Select the Link TRANSACTION script check box to enable link scripting and then specify the script name of the second TRANSACTION script. You can click Search to find scripts as needed.
  3. To link a third script, open the second script in TRANSACTION, and then repeat steps 1 and 2.
  4. Repeat these steps until you have added all of the scripts that you want to link.

Carry Settings: In addition to specifying the TRANSACTION script name, you can also mark which execution settings are to be carried forward to the next TRANSACTION script using any of these check boxes:

NOTE: For best results, specify the complete path to each TRANSACTION script in the chain.

Approval process and linked scripts

You can send linked scripts for approval, but only one type of review process applies to all scripts. Linked scripts can run only from a single data sheet. Linked scripts respect only the values and carry settings of the original TRANSACTION script. You can run a linked script from the add-in for Excel.

Validating linked scripts

Linked scripts, both Excel and Access, can be validated. Validation on linked scripts is possible for the following configurations:

Revising multiple or linked files that are in production

Multiple and linked files that have a production status and that are saved to CENTRAL can be updated. See Revising multiple scripts.

Also in this section

Scheduling runs

Run options, troubleshooting errors, and Launch GUI

Advanced run settings

Writing headers

Publishing macros in an Excel workbook

Uploading long text

Uploading characters in Japanese to SAP

Windows scripting