How to configure & execute checks for SAP CDS views

Prev Next

The ATC CDS Check Run results should be provided for optimal results of your S/4HANA upgrade project. An initial ATC CDS Run should be executed before using the Panaya extraction program.  It is also recommended to run the ATC CDS checks on an S/4 Hana version 2022 or higher.

Step A - Configure the Remote SAP S/4HANA CDS Checks

Setting the Role as Central Check System

Are you executing the ATC CDS checks locally and not using a Central Check System? Skip directly to step B

  1. Execute transaction code ATC

  2. The ABAP Test Cockpit Overview screen will appear

  3. Use the navigation pane and expand ATC Administration

  4. Under Setup, double-click on System Role

  5. Hit F6 to change mode

  6. Select ATC Checks by Object Providers Only in the Change System Role screen.

  7. Save the new setting and return to the ABAP Test Cockpit Overview screen.


Creating System Groups and Object Providers

  1. Use the navigation pane in the ABAP Test Cockpit Overview and expand ATC Administration.

  2. In the Setup section, double-click on Object Providers.

  3. Double-click on System Groups

    • Click on to switch to Change Mode.

    • Click the New Entries button in the toolbar and fill in the ID and a short description for the new system group.

    • Savethe New Entry

  4. Double-click the item RFC Object Providers

    • Click on to switch to Change Mode.

    • Click on the New Entries button in the toolbar and provide the following field description -

      Fields

      Description

      ID

      The ID that specifies the Object Provider

      Description

      A short text that specifies the Object Provider

      System Group

      The system group to which the Object Provider belongs

      RFC Destination

      The RFC destination name that connects to the remote system to which you want to connect using the Object Provider

      SAP System

      Valid RFC destination for RFC connection to the Checked System

      Notes:

      1. This RFC connection must be usable without a login dialog, which means a valid username and password must be provided inside the RFC destination.

      2. The Checked System requires the implementation of notes as described in this article.

    • Savethe New Entry


Step B - Running SAP S/4HANA CDS Checks

Configuring the ATC CDS Run Series

  1. Use the navigation pane in the ABAP Test Cockpit Overview and expand ATC Administration.

  2. In the Runs section, double-click on Schedule Runs.
    A list of existing run series will appear.

  3. In the toolbar, click on Create.

    • Fill in the name of the series you wish to create and click Confirm

    • Provide the following field description -

      Field

      Description

      Description

      A short text description for the ATC CDS run series you wish to configure.
      The default value is -
      &SYS&: &DOW&, CW&CW& &YEAR&

      Any alternative description must include the SID (&SYS&) parameter.

      The extractor validates that the ATC CDS check was performed on the same system from which the extraction program was executed. The system ID must be included in the description.

      Check Variant

      ZPANAYA_CDS  (See below for detailed instructions on how to create this Check Variant)

      Objects to Check

      Input the Package names you wish to check. It is highly recommended that you always use the ‘Z*’ and ‘Y*’ values and any additional package where custom code is implemented.

    • In the ABAP Test Cockpit, select Manage Check Variants.

    • In the SAP Code Inspector screen, create a new Check Variant called ZPANAYA_CDS (The Check Variant name must start with Z and contain CDS)


      Select the CDS checks, for example:  (The below CDS checks are from an S/4 Hana 2022.  Lower versions may not have the required checks, and higher versions may offer additional CDS checks that can also be selected)

       
       

    • Savethe configuration of the checks.

      When you create and configure the check run, in addition to selecting the CDS Check Variant that was created, be sure to select the following options, including “Consider Baseline” and Include Objects from Checkable Namespace with Package range Z* to Y*:


Scheduling the ATC CDS Run Series

  1. Use the navigation pane in the ABAP Test Cockpit Overview and expand ATC Administration.

  2. In the Runs section, double-click on Schedule Runs.

  3. A list of existing run series will appear

  4. In the toolbar, click on Schedule

    We recommend selecting Execute in Background.