Connect the ABAP On-Premises system to the central check system for custom code migration-Alibaba Cloud Developer Community


in SAP Cloud Platform ABAP environment, you have been assigned the role SAP_CORE_BC_CCM. This role allows you to use communication objects to connect SAP Cloud and local instances

in your local system, you have installed the following:

(1) SAP Cloud Connector with administrator privileges.

(2)Java 8.

After everything is ready, the system landscape is as follows:

Open SAP Cloud Connector

log on to the SAP Cloud Connector of your internal deployment system in your browser. If your internal deployment system is SAP AS ABAP Developer Edition, 7.5x, open a browser in your virtual machine, such AS VMWare

address = https:// localhost:<Port> (default value: 8443)

user = Administrator

password = your password. (Initial password = manage)

your Cloud Connector dashboard should be as follows:

at least one Cloud Foundry sub-account (1) is connected.

At least one mapping from cloud to local (2)

note the location ID (3) -XXX. You will need it later.

Add resources for Custom Code Migration (CCM) App

now, you will add the resources required by the CCM application. Resource refers to the RFC or BAPI that the CCM application needs to call to check.

Download the attachment customcodemigration(1).zip in SAP Note 2861842 for the Linux system where the ABAP server is located.

In the left-side navigation pane, select Cloud to On-Premise, and then select Import System Mappings...

Import the downloaded. zip file:

resources are automatically imported:

insert the following note into the ABAP system:

2599695 Custom Code Migration Fiori App: Remote Stubs for the Checked System

2888880 Remote analysis: Bulk determination of method names

2820446 Remote Analysis for source system, Release 7.52, I .e. run the report RS_ABAP_INIT_ANALYSIS

Check connectivity in SAP BTP cockpit

in the Cloud Foundry of the SAP BTP Cockpit sub-account, select Cloud Connectors.

The location ID points to the correct SAP Cloud Connector (located in the internal deployment system); The virtual host points to the local connection mapped in the SAP Cloud Connector.

Still in the Cockpit, select Destinations, and then select the destination you created. Here is NPL_JP.

Maintain the following content:

Destination Name = here, NPL_XXX

jco.client.ashost = here, nplhost

Location ID = here, XXX

check the connection by selecting Check connection. You should get the following message:

Create communication system for Custom Code Migration

open the dashboard of the SAP BTP and ABAP environment instances. To find this URL, select a space from the sub-account overview, such as Dev, and then select Service Instances > ABAP System > Your System > View Dashboard. Log on.

Choose Communication Management > Communication Systems, then choose New.

Enter the system ID, such as NPL_ATC_XXX. The application automatically provides a system name with the same name. Accept this.

Enable Destination.

Select Use Default Instance, and then select the target service name NPL_JP from the drop-down list.

Create communication arrangement for Custom Code Migration

From the home page, choose Communication Management > Communication Arrangement > New.

Use the following parameters to create a communication arrangement:

Communication Scenario SAP_COM_0464-select from the drop-down list. If this communication scenario does not occur, you are not authorized to complete this tutorial.

Arrangement Name-overwrites the default value (with the same Name). For example, use SAP_COM_0464_XXX or SAP_COM_0464_SID.

Choose your communication system from the dropdown list, SAP_COM_0464_XXX.

Assign business role for Custom Code Migration App

Choose Identity and Access Management > Maintain Business Roles.


In the assigned business directory, choose Add> SAP_CORE_BC_CCM> application> Enable. The magnet should appear in the starting plate:

Run Custom Code Migration App

Choose Go.

Choose Create to create new project.

Target release = SAP BTP, ABAP Environment

Destination = SAP_COM_0464_NPL_XXX

Transition Scenario = New implementation

Selected, One-Stop Store for Enterprise Applications
Support various scenarios to meet companies' needs at different stages of development

Start Building Today with a Free Trial to 50+ Products

Learn and experience the power of Alibaba Cloud.

Sign Up Now