Imagine you have an ABAP custom code application, which you think, would perfectly fit into the Cloud. What do you need to do to transfer your ABAP custom code to SAP Business Technology Platform (BTP) ABAP Environment – formerly known as SAP Cloud Platform ABAP Environment?
The following picture demonstrates how the technical transfer of ABAP custom code from your on-premise SAP system to SAP BTP ABAP Environment looks like.
At the step 1 you analyze your ABAP custom code for Cloud readiness with SAP Fiori App Custom Code Migration. The App runs in the SAP BTP ABAP Environment, executes remotely (based on ABAP Test Cockpit) Cloud readiness checks on the ABAP custom code in your on-premise SAP system, and provides the analytical presentation of the ATC check results with comprehensive filtering and navigation capabilities. During analysis you can focus on your ABAP custom code scope for Cloud, get familiar with ABAP language version Cloud, released objects for Cloud and find out, which issues can be fixed in a semi-automated way using Quick Fixes in ABAP Development Tools in Eclipse. For more details see also the blog How to check your ABAP code for SAP BTP ABAP Environment.
After the analysis is done, it’s time to transfer your ABAP custom code to SAP BTP ABAP Environment. The technical infrastructure for this is the abapGIT (www.abapgit.org). At the step 2 you use the abapGIT client in SAP GUI to export the ABAP custom code from your on-premise SAP system and store it in the Git Repository.
At the step 3 you use the abapGIT plugin in ABAP Development Tools in Eclipse to import your ABAP custom code from the Git Repository to SAP BTP ABAP Environment:
Finally, you can adapt the imported code in your ABAP system in SAP BTP ABAP Environment (step 4). The recommended way to do so is again using the Cloud readiness checks and ABAP Test Cockpit. That means you check your code with the ATC locally in your ABAP system in the SAP BTP ABAP Environment to get the custom code adaptation worklist. To automate the adaptation of the findings you can use the mass-enabled Quick Fixes for Cloud in ABAP Development Tools in Eclipse. See also the blog Semi-automatic custom code adaptation for SAP BTP ABAP Environment.
For more information and detailed step-by-step instructions see also the sap.com tutorial Use abapGit to Transform ABAP Source Code to the Cloud.