Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert

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 Maintaining Communication Arrangements.

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 Configuring the ATC Developer Scenario 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-p....

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).

10 Comments
BaerbelWinkler
Active Contributor
0 Kudos
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
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
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.
kasithunuguntla
Participant
0 Kudos
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
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
0 Kudos
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.
kasithunuguntla
Participant
0 Kudos
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
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
0 Kudos
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.
BjörnS
Explorer
0 Kudos

Hello Kasi,

I'm struggling at the same point. I have searched the documentation, so you have to create a service channel on the Cloud Connector (https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/configure-service-channel-for-rfc), after that you have to create a SM59 destination to that Cloud Connector Host as described under the link.

Greetings

Björn

JulianKuipers
Participant
0 Kudos

Hi @OlgaDolinskaja ,

First off, thanks for the insightful blog post on using ABAP Test Cockpit in the cloud. It's been a great help as we navigate our integration processes. We're currently in the midst of trying to connect our private cloud S/4 HANA system via an RFC connection to the central ATC check system, which is an ABAP runtime on SAP Business Technology Platform. We've configured the SM59 destination as required, but we've hit a wall now.

We're encountering an authorization error with the message "00024You are not authorized to logon to the target system (error code 1)." It seems like we need to adjust the permissions for the inbound communication user in the ABAP runtime on BTP, but we're a bit stuck on the best way to proceed.

Do you have any advice or tips on how to properly set up the authorization for this user? Any guidance on ensuring the right roles or permissions are assigned would be immensely helpful.

Thanks in advance for your help!

Best regards,
Julian Kuipers

OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert

Hi @JulianKuipers ,

does the error occur in the on-premise system? Could you please explain a bit more at which step does this happen. Have you managed to fulfill the prerequisites: connect your on-premise system with Cloud Connector to the central ATC system on BTP and execute a central ATC run using Custom Code Migration app (communication arrangement based on SAP_COM_0464)? Have you created SAP_COM_0936?...

Thanks!

Best Regards,
Olga.

JulianKuipers
Participant

Hi @OlgaDolinskaja,

Thanks for getting back to us!

In the meantime, we've managed to resolve the issue.

The error appeared on our on-premise system while carrying out step 1.C from this guide: https://help.sap.com/docs/ABAP_PLATFORM_NEW/ba879a6e2ea04d9bb94c7ccd7cdac446/17eb1a1d504442b3ad43845...

We had already set up a communication user and established the communication scenario SAP_COM_0936.

It turns out the authorization error was caused by using the User ID (CC*) instead of the actual User Name. After correcting this, the RFC connection now functions correctly.

Thanks again!

Kind regards,

Julian Kuipers