How to upload usage data from the SAP Solution Manager to the SAP Fiori App Custom Code Migration
Your SAP Solution Manager system must be on the release 7.20 (SP8) and the following SAP Notes must be implemented:
Prerequisites for Custom Code Migration app on-premise
If you use your SAP Fiori ABAP Custom Code Migration on-premise, then on the central ATC check system where the SAP Fiori App Custom Code Migration is running, the RFC destination to the SAP Solution Manager system must be created in the transaction SM59. Additionally, an ATC object provider which is using the RFC destination to your SAP Solution Manager system must be defined in the transaction ATC under Administration->Setup->Object Providers (see also for more details the chapter “3. Maintain Object Providers” in the blog Remote Code Analysis in ATC – Technical Setup step by step).
Prerequisites for Custom Code Migration app in SAP BTP ABAP Environment
If you use your SAP Fiori ABAP Custom Code Migration in the SAP BTP ABAP Environment – formerly known as SAP Cloud Platform ABAP Environment – then the communication arrangement using the communication scenario SAP_COM_0464 (Custom Code Migration Integration) must be set up in your ABAP environment. This communication arrangement will be used as an RFC destination in the Custom Code Migration app to establish the connection to your on-premise SAP Solution Manager system (see also for details the chapter “Maintain Communication Arrangement” in SAP Help Documentation Enable Usage of the Custom Code Migration App). Additionally, the SAP Cloud Connector must be setup to enable the RFC communication from the SAP BTP ABAP Environment to the on-premise SAP Solution Manager system. See the SAP Help Documentation on Integrating On-Premise Systems. When setting up the on-premise connectivity make sure that the following remote function modules are exposed for RFC access in the SAP Cloud Connector:
See also the SAP Help Documentation how to Configure Access Control (RFC).
Upload usage data
While creating a custom code migration project In the SAP Fiori App Custom Code Migration click the Add button on the Usage Data tab and press F4 Help in the Destination for Usage field. Enter the destination to your SAP Solution Manager system in the Connection field and choose by double-clicking the corresponding table row representing your destination.
Afterwards when you use the F4 Help in the Usage Description field, you will get the list of the usage data, collected from different systems by the SAP Solution Manager and can select there the appropriate usage data snapshot by double-clicking the corresponding table row:
As a result, the usage data will be added to your custom code migration project: