Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
Since SAP S/4HANA Cloud, public edition 2208 it is became possible to create development projects in a 3-system landscape using Developer Extensibility. This enables you to develop ABAP custom code using the principles of the ABAP Cloud development.

ABAP test cockpit (ATC) is an essential tool for the quality assurance of your custom code. Therefore, while developing ABAP custom code in the SAP S/4HANA Cloud, public edition system, you will be surely eager to understand how to use ATC for your cloud developments.

Use default ATC check variant


You do not need to choose an ATC check variant for the execution of an ATC check run. The default ATC check variant (delivered by SAP) will be used automatically by ATC. This default ATC check variant ABAP_CLOUD_DEVELOPMENT_DEFAULT includes all recommended by SAP ATC checks that should be executed to ensure the quality standard for ABAP cloud development, including also the execution of ABAP Unit tests:



How to set up your own ATC check variant


If you want to check your code using another ATC check variant or include your own ATC checks, it is also possible.

You can create your own ATC check variant from scratch or copy an existing check variant and add or remove checks. See also the blog How to create and use your own ATC check variant in ABAP Development Tools for Eclipse for more details.

You can also implement your own ATC checks and add them to your check variant. See also the blog  How to create and use your own ATC check in ABAP Development Tools for Eclipse for more information.

Configure ATC using ABAP Test Cockpit Configurator app


You can use the ABAP Test Cockpit Configurator app to view and maintain ATC configurations. It is possible to create a new configuration based on an ATC check variant, configure ATC check priorities according to your needs, exclude ATC checks and configure transport settings. See also the blog How to configure ABAP Test Cockpit (ATC) in the cloud and the SAP Help documentation ABAP Test Cockpit Configurator.

Check your custom code with ATC 


During your development process, in order to check your code with ATC, select your custom code package or objects in the ABAP development tools for Eclipse in the Project Explorer and execute ATC run by using the context menu Run As -> ABAP Test Cockpit:


Consequently, the ATC run results will be displayed in the ATC Problems View as usual:



Code Vulnerability Analyzer (CVA) security checks


CVA security checks in the SAP S/4HANA Cloud, public edition can be used without any additional license fee. The checks are included in the ATC default check variant ABAP_CLOUD_DEVELOPMENT_DEFAULT under the category Security and will be executed automatically as you run ATC over your code.



Check your transports during release


You should run ATC checks explicitly in the Transport Organizer before releasing a transport request or task. The releases of transports and tasks containing the ATC findings of priority levels 1 and 2 are blocked automatically by the system, for ATC findings of priority level 3 you will get notification. The behavior at transport release can be changed in the ABAP Test Cockpit Configurator app described above.

You can find more information in the SAP Help Documentation Working with ATC During Transport Release.

Handling of ATC exemptions


For the treatment or suppression of false positives we also offer the ATC exemptions handling in the SAP S/4HANA Cloud, public edition. The process is the same as in SAP BTP, ABAP environment, see also the blog How to create and approve ATC exemptions in SAP BTP ABAP Environment.

Using Custom Code Migration app to check custom code in the system


If you are a quality expert and want to check the custom code in the whole system, you can use Custom Code Migration app with the “Custom code analysis” project type.


If using Custom Code Migration app in an SAP S/4HANA Cloud, public edition system, you can check only custom code in the same system (no remote ATC runs are possible):


After you saved your custom code analysis project, ATC will execute custom code analysis over all custom code objects in the system. The ATC results can be accessed under the Analysis tab by clicking the Analyze Findings button or by clicking directly on the reported Number of Findings in the project:




Further information


Further detailed information is provided in the SAP Help documentation Assuring Quality of ABAP Code.

 
7 Comments
Saumitra
Product and Topic Expert
Product and Topic Expert
Good one @olga.dolinskaja: Multiple customers and partners with the 3 system landscape are in need of this critical piece for Developer Extensibility. Perfect time to bring this up.

-Saumi
IanStubbings
Active Participant
0 Kudos

Thanks for blog post olga.dolinskaja. As it happens I was discussing only today about the ATC capabilities in an S/4 HANA 3 tier public cloud system.

You mention that you cannot use the S/4 HANA Public Cloud system Custom Code Migration app to scan remote systems, but is it possible to connect up a remote CCM app (from our soon-to-be Central Cloud ATC system) to a public cloud system?

Regards

Ian

OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Ian,

unfortunately we don't yet support scanning of SAP S/4HANA Cloud, public edition systems remotely with the Custom Code Migration app on SAP BTP, ABAP environment. It will be surely an interesting use case for customers with large mixed on-premise and cloud landscapes. I will take this point for the discussion with our development. Thank you.

Best Regards,

Olga.
Faidzal_Thalith
Explorer
0 Kudos
Hi olga.dolinskaja

Is the Code Vulnerability Analyzer (CVA) security checks available for SAP S/4HANA Private Cloud?
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
Hi Ahmad,

CVA checks must be licensed for use in SAP S/4HANA Cloud, private edition.

Kind Regards,

Olga.
0 Kudos
Hi Olga,

 

Thanks for the detailed blog. How about SAP S/4HANA Cloud, private edition? Can you please confirm if we can use Custom Code Migration app in S/4 HANA Cloud, private edition as ATC Central Check System to scan remote On-Premise systems ?

 

Regards,

Jitin
OlgaDolinskaja
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Jitin,

you can use Custom Code Migration app in S/4HANA Cloud, private edition to scan remote on-premise systems, but you should use the SAP GUI transaction ATC to get the full ATC feature scope as a central ATC check system (e.g. exemptions handling, baseline, developer scenario etc.)

Kind Regards,

Olga.