Skip to Content
Technical Articles
Author's profile photo Olga Dolinskaja

Custom Code Migration app – Known Problems & Solutions

When working with the Custom Code Migration app, there are some typical pitfalls. Here is a list of solutions for the most frequent questions and issues.

Known Problems 

Known Problems & Solutions

I want to create a cloud-to-on-premise connection and configure the RFC access control list. During the ATC run, I get an error, e.g. “Access denied for function_module_name_xyz on host.name.abc”. What’s wrong?

Errors like these can occur after an upgrade of SAP BTP ABAP Environment or when modules have been maintained manually. What you want to do is to update the accessible resources in your Cloud Connector. To do this, go to SAP Note 2861842 and download the file CustomCodeMigration.zip. Then, log on to your Cloud Connector. From the menu, under the relevant subaccount, open Cloud To On-Premise. In the ACCESS CONTROL tab, select the relevant host. Under Resources of host.name.xyz choose the  icon

to import resources belonging to a scenario. Import the file CustomCodeMigration.zip you just downloaded.

When connecting the Cloud Foundry environment subaccount to the Cloud Connector, I want to import the file CustomCodeMigration.zip that I downloaded from SAP Note 2861842. After uploading the file, there is no further feedback from the UI and no resource has been inserted in the function mappings.

This failure can happen when using an older version of the Cloud Connector. Using the Cloud Foundry Connectivity service requires a Cloud Connector version 2.12.3 or higher.

To check the version of your Cloud Connector, open the dropdown user menu on the top right corner and choose About. Your Cloud Connector version is visible on the top of the opened window.

I can’t find the Custom Code Migration app in my SAP BTP ABAP Environment account.

Add the role Project Manager – IT to your user. Log on to Fiori launchpad with an admin user and open the tile Maintain Business Roles. Select Create from Template from the bottom of the page and create a new business role using the template SAP_BR_IT_PROJECT_MANAGER. If you don’t use Spaces, unmark the checkbox Create and Assign Spaces Based on SAP-Delivered Spaces. Make sure to enable write access by clicking on Maintain Restrictions and setting Write, Read, Value Help to “Unrestricted”. Then, go to Assigned Business Users and add your user to the role. Finally, save the new role.

For a detailed step-by-step description of this procedure, see Custom Code Migration Guide, chapter “Administrating User Assignments”.

In my cloud system, I can open the Custom Code Migration app on my Fiori launchpad, but when I try to create a project, I get the following error message: “No authorization to create a Custom Code Migration project”.

You have to enable write permission in the role Project Manager – IT.

To do this, log on to Fiori launchpad with an admin user and open the tile Maintain Business Roles. Open the role Project Manager – IT and click Edit. Go to Maintain Restrictions and set Write, Read, Value Help to “Unrestricted”. Then, go back to the main editor screen and click Save.

My custom code to be analyzed is located in a remote system.  When I want to set up the Custom Code Migration project, the connection to my remote system is not available.

In order to make the connection to your remote system available in the Custom Code Migration app, you need to set up the communication arrangement SAP_COM_0464 as described in the Custom Code Migration Guide in the chapter “Maintaining Communication Arrangements”.

In my checked system I get a lot of ATC check failures, like “no remote data for xyz” or “ATC check run aborted due to missing prerequisites”. What should I do?

Open SAP Note 2270689. Look for your release and follow the corresponding correction instructions for the release of your checked system.

 

 

 

 

 

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.