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
7,434

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:

SAP 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