website

precondition

  • In the SAP Cloud Platform ABAP environment, you have been assigned the role SAP_CORE_BC_CCM. This role allows you to connect the SAP Cloud to a local instance using a communication object
  • On your local system, you have the following installed: (1) SAP Cloud Connector with administrator rights. (2)Java 8.

When everything is in place, the System Landscape is as follows:

Open SAP Cloud Connector

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

  • Address = for example https://localhost:< port > (default = 8443)
  • User = Administrator
  • Password = your password. (Initial password = Manage)

Your Cloud Connector dashboard should look like this:

  • Connected to at least one Cloud Foundry sub-account (1)
  • At least one cloud to local mapping (2)

Note the location ID (3) – here XXX. You will need it later.

Add resources for Custom Code Migration (CCM) App

You will now add the resources required for the CCM application. A resource is the RFC or BAPI that a CCM application needs to call for inspection.

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

Select Cloud to on-premise On the left, then Import System Mappings…

Import the.zip file you just downloaded:

Resources are automatically imported:

Type the following notes in 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 SAP BTP Cockpit subaccount for Cloud Foundry, select Cloud Connectors.

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

Still in Cockpit, select Destinations, and then select the destination you created earlier, in this case NPL_JP.

The following contents are maintained:

  • Destination Name = here, NPL_XXX
  • jco.client.ashost = here, nplhost
  • Location ID = here, XXX

Check connections by selecting Check connections. You should get the message:

Create communication system for Custom Code Migration

Open the SAP BTP, ABAP environment instance dashboard. To find this URL, select the relevant space from the sub-accounts overview, such as Dev, and then select Service Instances > ABAP System > Your System > View Dashboard. To log in.

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 that.

Start the Destination service.

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

Create communication arrangement for Custom Code Migration

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

Create the Communication Arrangement using the following parameters:

  • Communication Scenario SAP_COM_0464 – Select from the drop-down list. If this communication scenario does not occur, you do not have the correct authorization to complete the tutorial
  • Arrangement Name – Overwrite default values (same Name), such as SAP_COM_0464_XXX or SAP_COM_0464_SID.

Choose your communication system from the dropdown list, SAP_COM_0464_XXX. Save.

Assign business role for Custom Code Migration App

Choose Identity and Access Management > Maintain Business Roles.

Choose BR_IT_PROJECT_MANAGER > Edit.

In the assigned business directory, select Add > SAP_CORE_BC_CCM > application > to open. The tile shall appear on the starter board:

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

More of Jerry’s original articles can be found on “Wang Zixi “: