Specifying Target Systems

In a test script, the RFC destinations are not specified directly. You specify the RFC destinations in a system data container, where you assign them to target systems. You create the names of the target systems yourself, and it is these names that you use in the test script.

In a system data container, you could have:

Target System

RFC Destination







In a test script, you could have:

TCD ( <transaction code>, <command interface> , TARGET_A ).

TCD (<transaction code>, <command interface> , TARGET_B )

CHETAB ( <table>, <command interface>, TARGET_C ).

WEBDYNPRO ( <command_interface>, TARGET_A ).

The advantage of this separation of test script and RFC destinations is that you can change the systems under test without having to change the test script. You can simply assign a different system data container, containing a different set of RFC destinations, to the test script. You can do this in a test configuration, or in the start options when executing the test..


       1.      Create RFC destinations for the systems in the test landscape (use transaction SM59).

       2.      Create a system data container.

       3.      Create a test script and assign the system data container in the attributes of the test script.

       4.      Assign target systems to individual commands. You can do this in several ways but it is common to select the target system when entering the command using the Pattern function in the test script editor.