Skip to Content

Connect ABAP On-Premise to a Central Check System for Custom Code Migration Using ABAP Test Cockpit (ATC)

Requires Customer/Partner License
Connect an ABAP On-Premise System to a SAP Business Technology Platform (BTP), ABAP Environment containing the Custom Code Migration (CCM) App, ABAP Test Cockpit (ATC)
You will learn
  • How to connect your on-premise AS ABAP to a service in SAP BTP, ABAP Environment - specifically, the Custom Code Migration App. This app allows you to see whether your custom ABAP development objects are cloud-ready, or ready for SAP S/4HANA, and what exact changes you have to make
julieplummer20Julie PlummerNovember 8, 2021
Created by
julieplummer20
January 14, 2021
Contributors
julieplummer20

Prerequisites

  • IMPORTANT: This tutorial cannot be completed on a trial account (due to connectivity requirements)
  • Tutorial: Call a Remote Function Module From SAP Business Technology Platform, ABAP Environment, prerequisites plus steps 1-2, then steps 4-5. (You can test connectivity by performing steps 6-12)
  • In SAP Cloud Platform, ABAP environment, you have been assigned the role SAP_CORE_BC_CCM. This role allows you to connect your SAP Cloud and on-premise instances using communication objects For more information, see Tutorial Create Communication System to Connect to SAP BTP, ABAP Environment, step 2
  • In your on-premise system, you have installed the following:
    • SAP Cloud Connector with Administrator rights. (In the systems listed in the above tutorial, this is pre-installed)
    • Java 8. Uninstall other versions of Java, e.g. Java 11

After you set up the connections, your landscape will look roughly like this:

overview-atc

Throughout this tutorial, replace the suffix _XXX or _JP with your initials or group number.

###More Information
Custom code analysis for SAP S/4HANA with SAP Fiori App Custom Code Migration

  • Step 1

    In your browser, log on to SAP Cloud Connector for your on-premise system. If your on-premise system is SAP AS ABAP Developer Edition, 7.5x, open the browser inside your virtual machine, e.g. VMWare

    • Address = e.g. https://localhost:<port> (Default = 8443)
    • User = Administrator
    • Password = Your password. (Initial password = manage)
    step1a-cloud-conn-login

    Your Cloud Connector dashboard should look like this, with:

    • At least one Cloud Foundry subaccount connected (1)
    • At least one mapping from Cloud to on-premise (2)

    Note the Location ID (3) - here, XXX. You will need it later.

    step1b-scc-cloud-onp
  • Step 2

    Now you will add the resources you need for the CCM app. Resources are, for example, RFCs or BAPIs that the app check needs to call.

    1. Download the attachment in SAP Note 2861842, CustomCodeMigration(1).zip. If using to the Linux system where your ABAP server is located.

      step2b-download-attachment
    2. Choose Cloud to On-Premise on the left, then choose Import System Mappingsā€¦.

      step2a-import-system-mappings
    3. Navigate to the .zip file you downloaded, then choose Import.

      step2c-browse-for-resource-file
    4. The resources are downloaded:

    step2c-resources-downloaded
  • Step 3
    1. Import the following SAP Notes (download, then upload):

    2. Implement SAP Notes.

    Also, see SAP Note 2270689 Remote Analysis for source system for reference but do not implement it.

  • Step 4
    1. In the SAP BTP Cockpit of your Cloud Foundry subaccount, choose Cloud Connectors.

      step4a-cf-cloud-connectors-in-sap-cloud-cockpit

      The location ID points to the correct SAP Cloud Connector (located in the on-Premise system); The virtual host points to the on-Premise connection mapped in SAP Cloud Connector.

    2. Still in the Cockpit, choose Destinations, then choose the destination you created previously, here NPL_JP.

      step4b-cf-destinations-in-sap-cloud-cockpit
    3. Check the following:

      • Destination Name = here, NPL_XXX
      • jco.client.ashost = here, nplhost
      • Location ID = here, XXX
      step5b-cf-destination-created
    4. Check the connection by choosing Check Connection. You should get a message like this:

      step4b-cf-connection-successful
  • Step 5
    1. Open the dashboard for your SAP BTP, ABAP Environment instance. To find the URL for this, from the subaccount overview, choose the relevant space, e.g. Dev, then choose Service Instances > ABAP System > Your System > View Dashboard. Log on.

      step5b-choose-dev-space

      .

      step5a-view-dashboard

    2. Choose Communication Management > Communication Systems, then choose New.

      step5c-comm-system-new
    3. Enter a System ID, e.g. NPL_ATC_XXX. The application automatically provides an identically-named system name. Accept this.

    4. Switch Destination Service to ON.

      step5d-destination-service-on
    5. Choose Use Default Instance, then choose the name of your destination service, NPL_JP, from the drop-down list.

      step5e-destination-dropdown
    6. Save your changes.

  • Step 6
    1. From the home page, choose Communication Management > Communication Arrangement > New.

    2. Enter the following, then choose Create:

      • Communication Scenario SAP_COM_0464 - Choose from the dropdown list. If this communication scenario does not appear, then you are missing the correct authorizations and cannot complete this tutorial
      • Arrangement Name - Overwrite the default (identically-named), e.g. with SAP_COM_0464_XXX or SAP_COM_0464_SID.
      step6a-choose-comm-scen-0464
    3. Choose your communication system from the dropdown list, SAP_COM_0464_XXX.

    4. Save your changes.

      step6a-comm-arr-0464
  • Step 7
    1. Choose Identity and Access Management > Maintain Business Roles.
    2. Choose BR_IT_PROJECT_MANAGER > Edit.
    3. In Assigned Business Catalogs, choose Add > SAP_CORE_BC_CCM > Apply > OK.
      The tile should appear in the Launchpad:
    step7d-atc-tile
  • Step 8
    1. Choose Go.
    2. Choose Create to create new project.
      • Target release = SAP BTP, ABAP Environment
      • Destination = SAP_COM_0464_NPL_XXX
      • Transition Scenario = New implementation
  • Step 9

    When creating a communication arrangement for ATC, what information do you need to provide:

Back to top