Hi everyone, in this blog I'm going to talk about some of the basic configurations of Customer Code Check (or Customer Code Migration) when doing a S/4HANA System Conversion.
Foreword
The following picture shows the procedure and landscape involved in the task.
Basically, you'll need an AS ABAP NetWeaver 7.5 system as shown in the above picture (the evaluation system doesn't have to be a S/4HANA system, any AS ABAP NW 7.5 system will be ok), at first we thought the new Solution Manager 7.2 will do so, but unfortunately Solution Manager 7.2 was build on NetWeaver 7.4.
References
Custom Code Migration Worklist - Application Development on AS ABAP - SAP Library
Using the Custom Code Migration Worklist - Application Development on AS ABAP - SAP Library
2241080 - Custom code check content for SAP S/4HANA on-premise edition
https://launchpad.support.sap.com/#/notes/2241080
How we did it
1. On ERP Source System
1.1 Implement SAP Note 2185390, follow the the Note to perform manual-activities.
1.2 Run report SYCM_DOWNLOAD_REPOSITORY_INFO
Run report SYCM_DOWNLOAD_REPOSITORY_INFO with SE38 (we'll talk about the error "the where-used index is not up-to-date" later on), you may want to run it as a background job if you have a lot of customer developed programs.
Customer Namesapce = /0CUST/
1.3 Download the Customer Repository ZIP file
Wait until the job gets finished, then you should be able to download the ZIP file to your local computer.
2. On the Evaluation System (NW 7.5 System)
2.1 Upload the Customer Repository ZIP file
Upload the Customer Repository zip file into the evaluate system by execute program SYCM_UPLOAD_REPOSITORY_INFO with SE38, give it a extraction name.
2.2 Import the SMB
Download the latest patch of Simplification Database Content from SAP launchpad support one app by doing a quick search CCMSIDB.
Import the downloaded simplification database zip file into evaluate system through report SYCM_UPLOAD_SIMPLIFIC_INFO with SE38.
2.3 Analyze the Impact of the Simplification
Launch the Custom Code Migration Worklist by using transaction SYCM, fill the SAP System ID and Extraction Name and click on execute.
The results will give you a glance of the customer objects affected by the simplifications
You can find more information like SAP Object Name, Application Component, most importantly the Simplification Category and relevant SAP Note
As mentioned in the SAP document, the follow paragraph gives an overview of the Simplification Category
Simplification Category: Represents the category of the simplification item
The following categories are provided:
- Usage of functionality not supported anymore: Usages of this SAP object must be removed from the custom code.
- Usage of functionality not recommended anymore: SAP recommends to remove usages of this SAP object from the custom code.
- Syntactically incompatible change: Custom code needs to be adapted as described in the related SAP Note.
- Semantically incompatible change : Custom code needs to be adapted to the new semantics as described in the related SAP Note.
- Change with performance impact: Usages of this SAP object might have impact on your custom code.
3. Error "the where-used index is not up-to-date" in the ERP Source System
To solve this problem, we can perform the following activities in the ERP system:
1. Run report SAPRSEUJ with SE38
2. Wait until the job EU_INIT gets finished, then run the following reports with SE38 as background job:
SAPRSEUB
SAPRSEUC
For more information about how to solve this problem, please check the following SAP Notes:
2234970 - Job EU_INIT
18023 - Jobs EU_INIT, EU_REORG, EU_PUT
That's all, I hope this will help you and I'm willing to receive your feedback!
Regards,
Michael