Specifying Target Systems as Variables
Use
You can enter the target system as a variable in the script text, so that the target system can be transferred at runtime. You can use this function to execute script commands against a table of target systems.
Prerequisites
The target system or systems must be maintained in the system data container that is referenced from the script ( General tab).
Restrictions
This function only applies to the REF command.
Procedure
To use the target system as a variable, proceed as follows:
-
Enter the variable (TRG_SYS_PARA in the following example) in parentheses in the script text.
Example: REF ( EC_DEMO_ABAP_DEL , EC_DEMO_ABAP_DEL_3 , (TRG_SYS_PARA) )
-
Create the relevant target system parameter manually in the parameter list.
-
Give the parameter the relevant value.
Result
You can now provide values for the system variable at runtime. The log displays which runtime values have been assigned to the target system variables.