Troubleshooting SAP System Connections
This page collects known problems that you might encounter in SAP systems when connecting Teamscale to the SAP system.
"Master-System darf nicht initial sein" (Master system must not be initial)

This error can be resolved by setting the System ID field in the Master System section to the ID of the SAP system itself.
"RFC-Destination des Referenzprüfsystems existiert nicht" (RFC destination of the reference check system does not exist)

Generally, if the project is applying "central quality checking", fields like Master System or Reference Check System should be filled according to the ATC documentation.
However, if only "local quality checks" are applied, please use the ID of the SAP system the ATC is configured for, put its ID in the Master System field and use NONE as value for the Reference Check System field. NONE is a predefined RFC destination in the SAP system (see RFC Destination).
"Data inconsistency in table SATC_AC_CMM"

There are several potential symptoms of this issue:
- The runtime error
DBSQL_DUPLICATE_KEY_ERRORoccurs inCL_SATC_CI_CF_TOOL=>CREATE_CONFIGURATION - Entries in ATC results have wrong titles or messages (e.g.,
not available) - ATC results contain duplicate entries
To resolve this issue, implement SAP Note 2987681. Then execute SATC_CORRECT_INCONSISTENT_IX once. This is possible only if no other ATC run is active at the same time.
SAP Connection: The Teamscale technical user seems to create or modify objects
For entries in the REPOSRC table or the TRDIR view, the CNAM or UNAM columns may contain the name of the technical user used by Teamscale. This does not mean, however, that Teamscale silently created or changed source code in your customer namespace, as the entries are merely ==CS includes belonging to global ABAP classes.
These ==CS includes are used for the source-code-based class editor and contain the “complete source code” (hence the CS suffix) for the class. Because Teamscale needs to retrieve code for all ABAP classes in your namespace, the SAP system may first have to generate such a source-code-based representation. Only this representation will be generated under the Teamscale user account. The corresponding objects, however, will still contain the actual creators and modifiers, so tools like SE80, transport management, or the ABAP Development Tools for Eclipse will behave as expected and show the correct user accounts.
