Usage of ABAP Test Cockpit (ATC) in the cloud for on-premise developments
2023-11-13 04:43:23 Author: blogs.sap.com(查看原文) 阅读量:19 收藏

As you for sure already know, using the remote code analysis with the central ABAP Test Cockpit (ATC) check system is the essential prerequisite for static quality assurance of your private cloud (or on-premise) developments.

While keeping in mind SAP alignment on cloud strategy and the advantages of the cloud solutions for our customers like takeover by SAP of upgrade, system maintenance and operations tasks under the retention of continuous and regular feature delivery, we decided to enable central ATC quality checking for on-premise developments using the SAP BTP ABAP Environment.

Some of you have already used Custom Code Migration app in the SAP BTP, ABAP environment to check your ABAP code in SAP Business Suite systems for SAP S/4HANA readiness during SAP S/4HANA system conversion or for cloud readiness. Over and above that to enable central ATC quality checking in the cloud for on-premise landscapes we have delivered further essential capabilities for using ATC in the cloud like support of classic ATC custom code analysis projects in the Custom Code Migration app, configuration via the ATC Configurator app, management of custom ATC check variants in ABAP development tools for Eclipse and more.

With SAP BTP, ABAP environment 2311 (November 2023 release) we have rounded off the feature scope of the cloud ATC with such indispensable capabilities like developer scenario for using a central ATC cloud system during your on-premise development tasks, and robust exemption workflow.

Learn in this blog how you can use a central ATC quality checking in the cloud for your on-premise landscapes.

How to execute custom code analysis for on-premise system

Custom Code Migration app, which is the SAP recommended tool for analysis of your custom code for SAP S/4HANA and cloud, supports also classic custom code analysis projects.

If you press Create button in the Custom Code Migration App you can now select a custom code analysis project:

Then you can enter the project data and select an ATC check variant. In order to check your custom code in the remote on-premise system (as shown on the screenshot below) you need to use remote-enabled ATC check variant and enter the connection to your remote system.

Under the Advanced Configuration you can restrict custom code analysis and choose the packages you want to analyze:

After you saved your custom code analysis project, ATC will execute custom code analysis and you can examine your ATC results under the Analysis tab by clicking the Analyze Findings button or by clicking directly on the reported “Number of Findings” in the project:

How to execute CVA checks in the cloud

You can also execute SAP Code Vulnerability Analyzer (CVA) checks for your custom code using the custom code analysis project of the SAP Fiori Custom Code Migration app. Using SAP CVA in the SAP BTP, ABAP environment is included at no additional licensing fee.

It works as following. Use Create button in the Custom Code Migration App and select a custom code analysis project:

Then enter the project data and select the ATC check variant SLIN_SEC. Choose as location of your custom code your remote on-premise system and enter the connection to this system:

After you saved your project data, the custom code analysis will be executed and afterwards you can see the results as usual, for example by clicking on the Number of Findings:

In the Findings list you will get the results of all CVA checks executed for your custom code:

How to set up your own ATC check variant

For the ATC execution in the SAP BTP, ABAP environment, we currently offer some standard ATC check variants. But surely, you may want to create your own ATC check variants as you can do it in your on-premise SAP systems to bundle ATC checks as it is suitable for your own development use case.

If you want to create your own ATC check variant in SAP BTP, ABAP environment, you can either create it from scratch or copy and change an existing ATC check variant delivered by SAP.

More details in the blog How to create and use your own ATC check variant in ABAP Development Tools for Eclipse.

How to implement your own ATC checks

Some of you may not only want to configure the ATC checks delivered by SAP and bundle them to custom ATC check variants but are eager to write own ATC checks.

More details how to do it in the blog How to create your own ATC check in ABAP Development Tools for Eclipse.

How to configure ATC in the cloud

If you want to configure the ATC according to your needs for example, set your default ATC check variant, adjust the ATC check messages priorities, set priority levels that block or interrupt transport releases and so on, the SAP Fiori App ABAP Test Cockpit Configurator allows you to maintain ATC configurations for the cloud based on ATC check variants.

More details in the blog How to configure ABAP Test Cockpit (ATC) in the cloud.

How to check your code during development in an on-premise system

As an ABAP developer in an on-premise SAP system you can check your code during your development process using the ATC checks from the central ATC in the SAP BTP, ABAP environment and request exemptions as needed.

More details in the blog How to use ABAP Test Cockpit (ATC) in the cloud as a developer in an on-premise system.

How to handle ATC exemptions

As an ABAP developer in an on-premise SAP system you can request an exemption from your quality expert to suppress the finding from the ATC result. The ATC exemption can be requested in the ABAP development tools for Eclipse. For the exemption processing there is the new SAP Fiori app Approve ATC Exemptions, which must be used by quality experts to accept or reject exemptions from developers.

More details in the blog How to work with exemptions using ABAP Test Cockpit (ATC) in the cloud during development in an on-premise system.


文章来源: https://blogs.sap.com/2023/11/12/usage-of-abap-test-cockpit-atc-in-the-cloud-for-on-premise-developments/
如有侵权请联系:admin#unsafe.sh