Professional Documents
Culture Documents
The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help Portal.
Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.
2014 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP SE
and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by
SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express
warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other
SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in Germany and other
countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
Table of content
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 1 of 6
Table of content
1 Preparing to Test the System Landscape
1.1 Creating System Data Containers
1.1.1 System Data Editor
1.2 Specifying Target Systems
1.3 Using System Data Containers
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 2 of 6
!--a11y-->
eCATT
Repository of eCATT objects (test script, test data containers, system data containers, and test configurations)
Logs
RFC destinations for the target systems
The applications under test reside on the target systems. The central test system can also be a target system. Communication with the target systems is by
normal RFC. Depending on the application, it may be an R/3 connection or an HTTP connection.
As with other eCATT objects, the system data container has mandatory attributes (title, package, and person responsible) as well as attributes containing
administrative information.
In the system data container, each RFC destination is paired with a logical name that you specify. It is the logical name of a target system that you use in the test
scripts, and not the name of the RFC destination itself. The task of the system data container is to resolve the logical name used in the script into the RFC
destination (of type 3 or type G) that identifies a particular system. For more information, see Specifying Target Systems.
RFC Considerations
You define RFC destinations in transaction SM59. Here you can specify the user credentials required to log on to the relevant systems. If the logon information
specified in the RFC destination is incomplete, you usually need to enter the relevant information when a test tries to access the system. That means that tests
cannot be left to run unattended when using RFC destinations with incomplete logon information. To get round this problem, we recommend making the central test
system a trusted system of each of the systems in the test landscape. This eliminates the need to store a password in the RFC destination but allows unattended
logon. For information about how to set up a trusted and trusting relationships, see SAP Note 128447.
!--a11y-->
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 3 of 6
9. Choose
!--a11y-->
!--a11y-->
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 4 of 6
RFC Destination
TARGET_A
RFC_1
TARGET_B
RFC_2
TARGET_C
RFC_3
Procedure
1.
2.
3.
4.
Create RFC destinations for the systems in the test landscape (use transaction SM59).
Create a system data container.
Create a test script and assign the system data container in the attributes of the test script.
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.
!--a11y-->
Maintenance System
A maintenance target system can be specified in the attributes of a test script or test data container. This system is accessed during script development, if no
other system is specified, for:
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 5 of 6
Even if each test script has its own system data container for maintainance, only the system data container of the topmost script is used when it is executed.
Therefore, a valid system data container has to provide an RFC destination for every logical target system of every script referenced (in the above example, for
R3, CRM, X, Y, A, B, FU and Hugo). It is permitted to contain more destinations than required for the scenario.
In Test Configurations
The system data container in the test configuration overrides the system data container of the referenced test script during execution.
Start Options
You can override the system data container and target system in the start options when executing a test script or test configuration. For execution of a:
Test script from the eCATT development environment, the default target is the maintenance target system.
Test configuration, the default is the target system of test configuration. The maintenance target system of the script is irrelevant.
Commands having a specific target stated at the command will be executed in that system. If the target system is not defined in the system data container or not
available physically, an error will result.
Commands without a specific target system will be executed as follows:
In the master script, the commands will be in the default target system.
In referenced scripts <script_ref> depending on the call itself:
REF ( <script_ref>, <interface>, <target>). in the system <target>.
REF ( <script_ref>, <interface>). in the default target system of the calling script.
PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.
Page 6 of 6