Technical Articles
How to use ABAP Test Cockpit (ATC) in the cloud as a developer in an on-premise system
As you probably already know, you can use the Custom Code Migration app in the SAP BTP, ABAP environment to check your ABAP custom code in an SAP Business Suite, SAP S/4HANA Cloud, private edition (or SAP S/4HANA on-premise) system (further referenced as “on-premise” system) for quality issues. Over and above that, to enable central ABAP test cockpit (ATC) quality checking in the cloud for on-premise landscapes, we have delivered further essential capabilities for using ATC in the cloud. These include, amongst others, the configuration via the ATC Configurator app, and the management of custom ATC check variants. For further information, see the blog Usage of ABAP Test Cockpit (ATC) in the Cloud for on-premise developments.
With SAP BTP, ABAP environment 2311 (November 2023 release) we have now also enabled the remote developer scenario between ATC in the cloud and developers in on-premise systems.
As an ABAP developer in an on-premise SAP system you can now check your code during the development process using ATC checks from the central ATC check system in the SAP BTP, ABAP environment and request exemptions as needed.
Prerequisites
Central ATC check system (cloud)
You need access to the SAP BTP, ABAP environment, and you have to create communication arrangement based on the communication scenario Custom Code Migration Integration (SAP_COM_0464) to enable communication from the ABAP environment to on-premise systems using RFC and SAP Cloud Connector. For more details, see the SAP Help Portal documentation Enable Usage of the Custom Code Migration App.
Checked system (on-premise)
The on-premise system must be on the SAP_BASIS >= 7.40 release.
Depending on the support package level of your on-premise system you need to apply the respective SAP Notes for using ATC to perform remote analysis. See the collective SAP Note 2364916 under the “Checked System” section.
In addition the SAP Note 3358660 – Developer Scenario Cloud must be implemented.
Technical Setup
Central ATC check system (cloud)
In order to enable developers in on-premise systems to check their code using a remote ATC check variant of the central ATC check system in the cloud you need to create a communication arrangement based on the communication scenario ABAP Test Cockpit – Reference Check System Inbound Integration (SAP_COM_0936) in your SAP BTP, ABAP environment system.
To do this, you need to log on to the SAP Fiori launchpad of your SAP BTP, ABAP environment. Next, in the Communication Management section, select the Communication Arrangement tile and create a new communication arrangement using the SAP_COM_0936 scenario. Enter Communication System and Object Provider. The Communication System must be defined as Inbound Only beforehand under the Communication System tile. The Object Provider is specified in the communication arrangement for the integration of your on-premise system based on the communication scenario SAP_COM_0464.
Checked system (on-premise)
For the configuration of the developer scenario in an on-premise checked system (in transaction ATC under Basic Settings), you need to enter the connection to the central ATC check system in the cloud (Reference Check System) and a corresponding reference ATC check variant that points to the check variant of the central ATC system in the cloud (Global Check Variant):
To do this, the RFC destination to the central ATC check system in the cloud must be created beforehand in the SM59 transaction (SKZ_ATC_CC in this case, classic Type 3 connection over SAP Cloud Connector). The ATC check variant (Z_CLOUD_REF in this case) must be created in the Code Inspector (SCI transaction) as a reference check variant (use Reference Check System checkbox) that references the variant in the central ATC check system (for example SLIN_SEC) that you want to use.
See also the SAP Help Portal documentation Using an SAP BTP System as ATC Central Check System for more details.
Check your source code
Just run the ATC over your code using the default system check variant in an on-premise system in ABAP development tools for Eclipse (in the context menu, choose Run As > ABAP Test Cockpit) and your code will be checked with the ATC check variant (that you specified as a reference check variant) of the central ATC check system in the cloud:
Check transport before release
With the central ATC check system in the cloud, you can also execute remote ATC checks for your transport requests before release. In the Transport Organizer view, select your transport request and run ATC using the default system check variant (in the context menu, choose Run As > ABAP Test Cockpit):
Typically, your system is configured so that the checks are also performed upon the release of the transport requests.
Request exemption
To request an exemption for a finding, position the cursor on the ATC finding and choose Request Exemption from the context menu.
The exemption processing will take place in the central ATC check system in the cloud. For more details, see the blog post How to work with exemptions using ABAP Test Cockpit (ATC) in the cloud during development in an on-premise system.
Use Quick Fixes
When using a central ATC check system in the cloud, you can also apply Quick Fixes in ABAP development tools for Eclipse for your source code in an on-premise system (Quick Fixes are supported in the releases >= SAP S/4HANA 1809).
Olga Dolinskaja
Hi Olga,
thanks for your new and detailed blog post series about utilizing the ABAP Test Cockpit in the cloud from on premise systems!
I have one basic question: can this also be set up and used if developers are not yet using the ADT in Eclipse but still mostly work via SE80 & Co in the SAP GUI? Or is using Eclipse a(nother) prerequisite?
Thanks much and cheers
Bärbel
Hi Bärbel,
it is possible to use this developer scenario with ATC in the cloud also in the SE80, but requesting exemptions works only in the ABAP development tools for Eclipse.
Best Regards,
Olga.
Hi Olga,
Is there any future plan to allow cloud ATC for Checked system versions below 7.40. We have few checked systems on 702 and 731 and want to migrate Checked systems of all versions from on-prem central ATC to ATC in Cloud(BTP).
Regards
Kasi
Hi Kasi,
using ATC on SAP BTP as developer in on-premise systems < SAP_BASIS 7.40 will not be supported, but you can still execute ATC runs from SAP BTP for older on-premise systems using the Custom Code Migration app.
Kind Regards,
Olga.
Olga, Thanks so much for quick response. I have one more question regarding "the RFC destination to the central ATC check system in the cloud must be created beforehand in the SM59 transaction (SKZ_ATC_CC in this case, classic Type 3 connection over SAP Cloud Connector)."
Can you direct me to instructions to create RFC connection of type 3 from on-prem system. I am confused on "over SAP Cloud Connector" part.
Thanks in advance.
Regards
Kasi
Hi Kasi,
it means, you need to setup the RFC connection to the cloud ATC system in the SM59 transaction. The cloud-on-premise connectivity must be channeled via Cloud Connector.
See also the SAP Help Portal documentation Using an SAP BTP System as ATC Central Check System for more details incl. link to the SAP Cloud Connector.
Kind Regards,
Olga.