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

Custom code analysis for SAP S/4HANA with SAP Fiori App Custom Code Migration

Maybe you already know, that ABAP Test Cockpit offers the option of executing the checks remotely on any ABAP system (SAP_BASIS >= 7.00). Using remote ABAP Test Cockpit infrastructure SAP customers and partners can analyze custom code in older systems using the latest ABAP Test Cockpit checks and only one central system for ABAP Test Cockpit (see blog series about Remote Code Analysis in ATC).

With SAP S/4HANA 1809, we offer the SAP Fiori Custom Code Migration App based on this remote ABAP Test Cockpit infrastructure. The App should be used for custom code analysis for SAP S/4HANA in the context of  SAP S/4HANA conversion (see also  SAP S/4HANA System Conversion – Custom code adaptation process).

NEW: Starting with the SAP Cloud Platform ABAP Environment 1908 (now named SAP Business Technology Platform (BTP) ABAP Environment) you can use SAP Fiori App Custom Code Migration in the Cloud to analyze custom code in your on-premise SAP system for SAP S/4HANA readiness. See also the blog ABAP custom code analysis using SAP Business Technology Platform.

The App performs SAP S/4HANA checks on your custom code, which needs to be migrated from your SAP Business Suite System to SAP S/4HANA and provides the analytical presentation of the ABAP Test Cockpit check results with comprehensive filtering and navigation capabilities. Beyond this the App identifies the unused custom code based on your collected usage data, and this enables you to remove it automatically during a system conversion to SAP S/4HANA.

Technical Setup

There are two options to setup the custom code analysis with SAP Fiori App Custom Code Migration:

1) Use SAP Fiori App Custom Code Migration in SAP Business Technology Platform

For technical setup instructions for using the SAP Fiori App Custom Code Migration in SAP Business Technology Platform please refer to the blog ABAP custom code analysis using SAP Business Technology Platform.

The SAP Fiori App Custom Code Migration will run in SAP SAP Business Technology Platform (BTP) ABAP Environment – formely known as SAP Cloud Platform ABAP Environment – and will check custom code in your on-premise SAP system using the remote ATC infrastructure with RFC through SAP Cloud Connector:

2) Use SAP Fiori App Custom Code Migration on-premise

You need an SAP S/4HANA >=1809 system set up as a central ATC check system. Our recommendation is to use your SAP S/4HANA sandbox system. See also Remote Code Analysis in ATC – Technical Setup step by step for setup guidance.

You need also to setup and configure the SAP Fiori App Custom Code Migration on this SAP S/4HANA 1809 system. Use SAP documentation on SAP Help Portal for specific implementation and configuration information on SAP Fiori App Custom Code Migration. The SAP Note 2436688 provides all required SAP Notes for the SAP Fiori App Custom Code Migration.

The SAP Fiori App Custom Code Migration will check custom code in your SAP backend system using the remote ATC infrastructure:

Create your Custom Code Migration Project

Start Custom Code Migration App on your SAP Fiori Launchpad. You can maintain multiple custom code migration projects in the App:

  => 

Create your Custom Code Migration Project by pressing “+” (Create Object) button and entering your project data: Project Description, Target Release for your SAP S/4HANA System and RFC Destination to your SAP ERP system:

Add usage data to your Custom Code Migration Project

Now you can add usage data collected either by the ABAP Call Monitor (SCMON) and aggregated by the SUSG transaction or add usage data collected in your SAP Solution Manager system (SAP Solution Manager 7.2 SP8 is the prerequisite).

NOTE: You should collect usage data of your business processes at least for one year in order to get really reliable results for not productively used code.

For information about how to collect usage data and aggregate it in your ERP production system see the blogs: ABAP Call Monitor (SCMON) – Analyze usage of your code and Aggregate usage data in your production system with SUSG transaction.

If you collected usage data in your ERP production system, use there the SUSG transaction to create a snapshot of the usage data. Afterwards download the snapshot and upload it using the SUSG in your checked system. The App will access your checked system (and snapshot with usage data) via RFC:

You can add usage data to your Custom Code Migration Project by pressing “+” (Add) button and using F4 Help in the Usage Description field. Save your project by pressing the “Save” button.

NOTE: If you collected usage data in the SAP Solution Manager, then the App detects whether it is a SAP Solution Manager system behind the RFC destination for the usage data. Then the existing SAP Solution Manager usage data records are displayed in the selection dialog. See the blog How to upload usage data from the SAP Solution Manager to the SAP Fiori App Custom Code Migration.

Define the scope of your Custom Code Migration Project

Now you can define (based on usage data) which ABAP custom code needs to be taken over to your SAP S/4HANA system. The App will create a deletion transport in order to enable deletion of unused ABAP custom code during the system conversion to SAP S/4HANA.

Navigate to the Scope overview. You will see the graphical presentation of the detailed scope information. When you add usage data to your custom code migration project, a default scope is calculated. The default scope includes all used objects, all objects which are statically referenced by the used objects, and objects for which no usage data is available such as database tables or data elements.

Generally the following scope information categories are possible:

In scope (by object) – objects, for which usage data do not exist, for example DDIC objects like Data Elements. Such objects are always automatically in the scope.
In scope (by usage) – objects, for which usage data exist. These objects are used and therefore they are in the scope.
In scope (by reference) – objects, which are statically referenced by the objects in the scope. Such objects cannot be removed from the scope as this would lead to syntax errors.
In scope (by user selection) – objects, which were added to the scope by the user.
Not in scope – objects , which are not used (not listed in the usage data) and not statically referenced by the objects in the scope.
Not in scope (by user selection) – objects, which were removed from the scope by the user.

If you included usage data into your Custom Code Migration Project, you can click on the Scope Request Entry Points. There you will get (based on the usage data) a list of the executed request entry points (such as a specific transaction, RFC call, URL request, or ABAP report) along with all ABAP procedures that have been executed under these entry points, and you can decide, which objects you want to remove (Remove from scope) (for example based on the last usage date).

In case you want to adjust the scope manually, the App offers the possibility to add/remove packages or single objects to/from the scope (click “Scope Packages” button). This can be useful to include new developments that are not yet productively used or exclude some developments that you will not need in your new SAP S/4HANA system.

When defining the scope, you can also display the complexity of your custom code in a graphic (click Scope Packages and then go to the Packages tab):

It summarizes the number of relevant changes in accordance with the complexity of the custom code on package level (or request entry point level of the ABAP Call Monitor (SCMON) if you go to the Entry Points tab).The upper right part of the diagram represents the most complex and most frequently changed development packages. They should be removed from the scope for SAP S/4HANA migration, since they cause high TCO. SAP recommends to review these custom code developments to reconfirm the need of this functionality with the business, and reevaluate if meanwhile the same can be achieved by using SAP standard, or with in-app extensibility, or if it qualifies for a side-by-side extension on SAP BTP. 

After you defined the scope of your Custom Code Migration Project, you can create a transport request in your ERP system, which contains all information about your unused custom code (all objects that are not in scope). To do so go to the Project tab and click Save Scope as Transport Request):

NOTE: in the newer versions of the Custom Code Migration App the button is called “Create Deletion Transport”.

The transport request gets created and appears under Request/Task of your Custom Code Migration Project:

This transport request can be added to the Software Update Manager (SUM) during the SAP S/4HANA conversion, the unused objects (not in scope) will be deleted by SUM.

NOTE: In case you want to keep a backup of the unused objects we recommend to use gCTS after SAP S/4HANA system conversion to store the objects in the Git repository, see the blog How to backup custom code with gCTS for details. You can also use abapGit (see the Steps 1-3 in the tutorial Use abapGit to Transform ABAP Source Code to the Cloud on sap.com).

Analyze your custom code with SAP S/4HANA checks

As soon as you create your Custom Code Migration Project the SAP S/4HANA custom code checks are executed automatically by ATC, and the App offers you the analytical presentation of SAP S/4HANA custom code check findings.

Go to the Analysis tab and click on the “Analyze Findings” button:

Using the visual filters above you can group your ATC findings to get information on for example:

  • What are the most important (urgent) findings (-> filter Findings by Priority)
  • How many findings relate to the custom code objects you take over to SAP S/4HANA (-> filter Findings by Scope Information)
  • How many findings relate to your custom package XYZ (-> filter Findings by Package)
  • In which simplification areas do you get the most findings (->filter Findings by SAP Note Number)
  • For which findings there are Quick Fixes available and which findings you need to fix manually (->filter Findings by Quick Fix Availability, currently available with SAP S/4HANA 1809 FPS02)

Download SAP S/4HANA analysis results

Use the Export to Spreadsheet  button in the Findings table to download the analysis results:

Integration with SAP Readiness Check 2.0

You can download the check results with purpose to upload them later on to SAP Readiness Check 2.0.

To do so press Export to Spreadsheet button and select Export for SAP Readiness Check:

See the latest information about SAP Readiness Check 2.0 in the blog SAP Readiness Check for SAP S/4HANA – What’s New in November 2020.

Further information

See Documentation on SAP Fiori App Custom Code Migration on SAP Help Portal.

Assigned Tags

      145 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Oliver Hütköper
      Oliver Hütköper

      Hi Olga,

      thank you very much for the blog post and this nice app. But don't you think that setting up a complete SAP S/4HANA system is a bit overdone and a waste of resources? Are there plans to downport this to NW 7.52 or to some other light system (standalone ABAP Platform)?

      Thanks and best regards,
      Oliver

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Oliver,

      I don't see a waste of resources here. This app is intended for the custom code analysis during the SAP S/4HANA conversion, meaning the usage of the app begins when the first SAP S/4HANA sandbox system is available in the customer landscape for the conversion. This system can then be "reused" for the custom code analysis app.

      There are currently no plans to downport the app to the NW 7.52, and there is also no standalone delivery of the ABAP platform itself  (only within the SAP S/4HANA).

      Best Regards,

      Olga.

      Author's profile photo Oliver Hütköper
      Oliver Hütköper

      Hi Olga,

      in your blog post you're writing "You need an SAP S/4HANA 1809 system set up as a central ATC check system". This sounds like the future central ATC should be an S/4 system. Also some of the latest improvements (like ATC quick fixes) are only available for S/4.
      Therefore I am confused. Will we still be able to have a light system as central ATC system or do we need an S/4 system?

      And actually we would like to start with code checks and adjustments now and we do not want to wait until the migration starts 🙂

      Best regards,
      Oliver

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Oliver,

      you need the SAP S/4HANA 1809 system for using the App and this particular use case: custom code migration to SAP S/4HANA. After custom code migration you can continue to use this system for regular ATC quality checking for example.

      But you can also still use the ATC central check system on SAP NetWeaver 7.52.

      Regarding the ADT Quick Fixes: they are supposed to be used on SAP S/4HANA system, where the actual the custom code adaptation should take place.  Of course you can adjust the SAP HANA issues on ERP, and would benefit from the ORDER BY  Quick Fix for example, but the Quick Fixes are available only with SAP S/4HANA 1809 and there are currently also no plans for downport them.

      Best regards,

      Olga.

       

       

      Author's profile photo Renaud VAN DEN DAELE
      Renaud VAN DEN DAELE

      Hi Oliver,

      In addition/parallel to Olga's answers for the custom code, creating a sandbox based on a copy of production is strongly recommended at early stages in the project, either before the project, or within the project. So at one point in time in your project, you will have this sandbox. I understand you want to do a workload assessment, but doing this sandbox conversion prior to the project is as well a very good way to better understand the workload of your future conversion project on many aspects ( Finance …) . Remember, a conversion IS NOT an upgrade.

      Hope this helps

      Best regards

      Renaud

       

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Oliver,

      we also plan to have the Fiori App available in SAP Cloud Platform. Then you can do remote custom code checks against your ERP system via RFC/ Cloud Connector. Would this be an option for you?

       

      Regards,

      Thomas.

      Author's profile photo Lukas Meusburger
      Lukas Meusburger

      Hello Thomas

      the option "Custom Code Migration App" on SAP Cloud Platform sounds good.

      Can you tell us, when the app/service is expected to be available?

       

      Thank you.

       

      regards

      Lukas

      Author's profile photo Oliver Hütköper
      Oliver Hütköper

      Hi Thomas,

      currently we do not have an SCP account. So this would mean we would need to setup/buy an SCP account to prepare the migration of our on prem system.

      Two alternative ideas:

      • Provide the app via the support Launchpad (like the S/4 readiness check)
      • Add the app to the solution manager (which already has all the usage and CCLM data).

      Best regards,
      Oliver

      Author's profile photo Kumar Prashant
      Kumar Prashant

      Hi Thomas Fiedler ,

      Can you kindly advise when the Fiori App will be available in SAP Cloud Platform?

       

      Thanks and Regards

      Prashant

      Author's profile photo Meet Vajaria
      Meet Vajaria

      Hi Thomas Fiedler ,

      Can you please pass the information when the app would be available in SCP?

      Thank you.

      Meet Vajaria

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      We now now have an 1809 sandbox system that I am setting up against a 7.02 system. I have scanned it and it complains that I do not have a simplification database for the ATC to work against.

      So I still need the Simplification db even though I am on S/4?

      Regards

      Ian

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Ian,

      yes, you need to upload the Simplification DB (the S/4 system doesn't contain it initially).

      Best Regards,

      Olga.

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Thanks Olga.  All sorted now.

       

      Regards

      Ian

      Author's profile photo Satinder Singh
      Satinder Singh

      Olga, Thanks for this blog and it is indeed helpful. We have just converted our sandbox and I am trying to setup this FIORI App and I have 2 questions:

      1. For Usage, is SCMON mandatory or UPL too will work ?
      2. How to activate "filter Findings by Quick Fix Availability" and I am not getting that option. We are on 1809 FPS01 SAP_BASIS 753 001.
      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Satinder,

      1. you can also upload UPL data to the Custom Code Migration App.
      2. unfortunately this is bound to the SAP Note, which was recently taken back because of problems with the implementation of the note. Very soon it will be back. Development is already close to providing the solution.

      Regards,

      Olga.

      Author's profile photo Satinder Singh
      Satinder Singh

      Thanks Olga for quick response. Can you please help me point the the URL that details the instructions to use UPL for this App? I was not able to figure it out in the App.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      If you collected usage data with UPL, you need to configure RFC destination to this system with usage data from the 1809 system where the App runs and then just follow the instructions in the "Add usage data..." chapter of the blog, especially the "NOTE:..." part.

       

      Author's profile photo Satinder Singh
      Satinder Singh

      Olga,

       

      I have one more question. I was finally able to setup the CCM App and use it for myself. But when I asked my development lead to check the same, the analysis project that I created does not appear for his login but it appears perfectly for my login. I even tried sharing the link via email from the CCM App, but even that link results in "No Data found". So is there a restriction that the analysis project will be displayed for the owner only ?

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Satinder,

      have you assigned the user roles SAP_BASIS_TCR_T and SAP_BC_YCM_APS to your development lead?

      You need to assign the respective roles to all users of the app.

      Regards,

      Olga.

      Author's profile photo Satinder Singh
      Satinder Singh

      Thanks Olga for the reply. The role was assigned but apparently there was some issue with auth profile generation and after regeneration it started working (auth object S_YCM_APS was assigned to me and him visa different roles). Thanks

      Author's profile photo F. Jacobs
      F. Jacobs

      Hi Olga,

       

      What is the Note number you are referring to, that was taken back?

       

      Frank

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Frank,

      this SAP Note is still in process at SAP. It takes some time.

      Regards,

      Olga.

      Author's profile photo Aimen Dahane
      Aimen Dahane

      Hi Olga

      Please,

      If we adopt a migration from ECC to S/4 HANA cloud

      are these tools also available even in S/4 HANA cloud?

       

      Regards.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Aimen,

      no, because in the SAP S/4HANA Cloud is no custom code allowed and therefore custom code transformation to SAP S/4HANA Cloud is not possible and custom code checks don't make sense.

      Regards,

      Olga.

      
                    
      Author's profile photo Bärbel Winkler
      Bärbel Winkler

      Hi Olga,

      we currently have our central ATC-system on NW 7.52 SP02 and use it for checks on NW 7.50 SP13 EHP8 systems. Initial discussions about switching to S/4HANA sometime in the future are already happening but no firm plans have been made yet regarding the path and timeline.

      To help with the planning, we are thinking about using the ATC S/4HANA readiness checks just to get a rough idea how much of our custom code will be impacted. In parallel, the regular ATC-checks  during e.g. transport release will keep happening from that central ATC-system.

      Given our scenario, could it make sense - and be feasible - for us to convert our NW 7.52 central ATC system to S/HANA 1809 in the near future to help with the planning and to then be able to use the Fiori app while still using the system for the "normal" checks as we do now? Are there any issues with such an approach, or anyting we need to be aware off before actually moving in that direction? Would for example already defined baselines and granted exemptions "survive" such a conversion or would we need to start from scratch?

      Thanks for any pointers you have for us!

      Cheers

      Bärbel

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Bärbel,

      there is no system conversion path from NW AS ABAP 7.52 to S/4HANA 1809. So you need to setup a new S/4HANA 1809 system as a central ATC check system and migrate your baseline and exemptions data in there.

      Best regards,

      Olga.

      Author's profile photo Pawan Kumar
      Pawan Kumar

      Hi Olga,

      We have SAP S/4HANA 1809 system set up as a central ATC check system.
      We have also setup and configured the SAP Fiori App Custom Code Migration on this SAP S/4HANA 1809 system by following the link you shared in the blog.
      Our souce system is ERP - EHP7 ECC6.0 NW 7.4 SP10 based.

      So, when we Create our Custom Code Migration Project, there is one field which asks for "RFC Desination", But our source system (ERP) is an isolated system and we can't make any RFC conenction to it.
      And everwhere in this case , i can see the Fiori app is trying to access the data through RFC connection to the source system (ERP).

      So is there any alternative like in case of ACT NW7.51 or Higher where you suggested that we can do export/import by selecting variant: "extract based" in your old blog (https://blogs.sap.com/2016/12/12/remote-code-analysis-in-atc-one-central-check-system-for-multiple-systems-on-various-releases/)?

      and after export/import Is there any way we leverage the FIORI APP feature as well to display the report result for better analysis with fiori interface ?

       

      Regards,

      Pawan

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Pawan,

      yes, the available RFC connection is always required for the remote checks by the Custom Code Migration SAP Fiori app.

      The only possibility would be to transport your code from the ERP to the S/4HANA system and then use the Custom Code Migration SAP Fiori app locally there (with RFC destination pointing to the S/4HANA system itself).

      Regards,

      Olga.

      Author's profile photo Pawan Kumar
      Pawan Kumar

      Hi Olga,

      Thanks for your input!

      How we can transport the custom codes, will it create a TR or can it be done via export/import method as well. If yes, can you please help me with procedure for export/import & transport whichever is applicable in this case.

       

      Regards,

      Pawan

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Pawan,

      create a local transport of copies in ERP, release the transport, copy the transport files to the S/4HANA system and do import.

      Regards,

      Olga.

       

      Author's profile photo Pawan Kumar
      Pawan Kumar

      Hi Olga,

      Thanks for your reply!

      I got your point but wondering how we can add our Custom codes (All Z tables, Z programs or Z functional groups) in one Transport of copies.

       

       

      Regards,

      Pawan

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Pawan,

      you can e.g. create a transport of copies per custom code package. But if you have a lot of custom code in your ERP system, then it would be too much effort. You would need to provide RFC connection to your ERP system then and check it remotely.

      Regards,

      Olga.

      Author's profile photo Pawan Kumar
      Pawan Kumar

      Hi Olga,

       

      Thank you so much for all your inputs.

      Just one more query, So, transport of copies (TOC) is the recommended approach in case of isolated systems to display the data in Fiori App for better analysis, Right?

       

      Regards,

      Shaloo

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Pawan,

      no, it is a workaround. The Custom Code Migration App is for SAP S/4HANA system conversion and the system, which must be converted to SAP S/4HANA, must be connected via RFC.

      Regards,

      Olga.

       

       

      Author's profile photo GERARDO MARTIN GOZALO
      GERARDO MARTIN GOZALO

      Hello Olga,

      It has no sense that note Note 2270689 can be implemented for release 753 when there is a Note 2752728 specified for this release 753.

      Also, if you try to implement, corrections instruction are not possible, you will have sintax errors.

       

      thanks and regards.

      Gerardo.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Gerardo,

      due to performance problems with SNOTE, it had been not possible to include the correction instructions for release 7.53, which actually belong to note 2270689, in this note. Therefore, a new note 2752728 was created for release 7.53. 

      Regards,

      Olga.

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      Just setting up the migration app but not getting any usage data shown that I can then select from.

      The source system (7.02) has SCMON running and I have implemented SUSG and created a snapshot successfully.

      There is currently a warning related to 'Could not determine state: GET_LOG_STATUS not installed' in SUSG for which I have requested Basis look into via note 2681069 - /SDF/SCMON extended status check API.

      Is this the cause of the issue or unrelated?

      Regards

      Ian

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Ian,

      I don't think, it could be the cause since the function module SCMON_GET_LOG_STATUS helps to detect errors in SCMON if they occured, and as far as I understood, you were successful to collect and aggregate usage data.

      Regards,

      Olga.

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      Ok. Thanks for the advice.

      Any tips on debugging the app to see why I am not picking up any usage? i.e. the function module used in the backend?

      Thanks

      Ian

      Author's profile photo Rufina Scott
      Rufina Scott

      thank you very much for the blog post…

       

      Author's profile photo Santosh Patil
      Santosh Patil

      Hi Olga,

      We are in the process of performing S/4HANA Conversion and have identified a list of un-used custom objects.

      Kindly clarify:

      1. We can lock all the un-used custom objects into a transport request and supply it to SUM tool, and the SUM tool will delete the un-used custom objects contained in the transport request. Is it the correct understanding about deleting the un-used custom objects via SUM tool?
      2. If the point 1 is correct, please share the steps within SUM tool where we can supply this transport request containing the un-used custom objects to be deleted.

      Note:

      1. We do not have the custom code migration app and unused custom objects are not generated from the custom code migration app but from the history of usage information we have been collecting.

      Regards,

      Santosh

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Santosh,

      yes, the 1. is correct. Regarding 2. You can add this transport request in SUM in the dialog for Change Requests, Phase BIND_PATCH.

      You will find in the SUM 2.0 Guide the following

      "Including Support Packages and Change Requests (Phase BIND_PATCH)

      The phase BIND_PATCH consists of two dialogs: In one dialog, you are asked for support packages, and in the other one for change requests..."

      Regards,

      Olga.

       

      Author's profile photo Taranam Dhindsa
      Taranam Dhindsa

      Hi Olga Dolinskaja

      In case of S/4HANA Upgrade ; where can we give deletion TR created using CCM app as in Upgrade we don't have option for change requests as listed by you .

       

      Regards

      Taranam

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Taranam,

      please take a look at this blog: https://blogs.sap.com/2017/11/24/integrating-customer-transport-requests-in-updates-and-upgrades/ about adding custom transport druring upgrade. If you have further questions, ask please Boris in this blog.

      Kind Regards,

      Olga.

      Author's profile photo Taranam Dhindsa
      Taranam Dhindsa

      Thanks Olga ; sure I will check.

      Author's profile photo David Anton Arias Garcia
      David Anton Arias Garcia

      Hi Olga & thank you for your blog,

      Is the reason to set up the SAP S/4HANA 1809 system as a central ATC check system just to reuse the S/4HANA system as a central check system before the conversion or there is any other one?

      In our case we already has a 7.52 system as a central check and we set up the ATC in the S/4HANA system as local for the custom code adaptations.

      Your comment about the "ATC central check" has misled me a little.

      Thanks for all.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi David,

      you need SAP S/4HANA 1809 system if you want to use SAP Fiori App Custom Code Migration (with all its advantages), for ATC SAPGUI-based you can use a 7.52 system.

      Regards,

      Olga.

      Author's profile photo Shirley Te
      Shirley Te

      Hello Olga,

      You have lots of blogs that I am following as they are very informativie for our S4 HANA migration.  We have recently set up a vanilla S4 HANA 1809 to replace our central ATC system. We have SOLMAN 7.2 SP9 and UPL is running. We wanted to include usage but apparently SUSG can only be installed for SAP_BASIS 7.40 SP 08 up.  However, what we have is 7.40 SP06 and we are not going to upgrade since we will be moving to S4 soon.

      1. Can you confirm that we need SUSG in order to include usage in the Fiori app for analysis and the we cannot do so unless we upgrade our Basis component to SP08?
        1. If we cannot include usage, i would still want to use the app to analyze our custom codes, I suppose I can do so?  I can see that it shows which ones have quickfixes.  What does "Quickfixes Available but Pseudo/Pragma" mean? 
        2. In the regular ATC check from a central system (SAPGUI), I can drill into the actual line of code by clicking on the object and it does an RFC to the checked system opening up the code.  I dont seem to see that capability in the app.  Will you be able to point me to where i can see that.  I looked at the entry point but I see it to be blank.

      Thank you

      ST

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Shirley,

      you can also upload the usage data collected by UPL to the Fiori app, just provide the RFC destination to your SAP Solution Manager system. Read also above in the blog: NOTE: If you collected usage data in the SAP Solution Manager, then the App detects whether it is a SAP Solution Manager system behind the RFC destination for the usage data. Then the existing SAP Solution Manager usage data records are displayed in the selection dialog.

      You can also analyze your code without uploading usage data (usage data is optional).

      “Quick Fixes Available but Pseudo/Pragma” means, that such Quick Fix will just insert Pragma or Pseudocomment to suppress the finding. but will not actually fix the code. It was renamed in the SAP S/4HANA 1909 to “No Quick Fixes Available”.

      To navigate to the source code lines, you need to run ATC locally in ADT in Eclipse. In the Fiori app you can drill down from the finding to the source code line only with SAP S/4HANA 1909 release.

      Kind Regards,

      Olga.

      Author's profile photo Fabian Geywitz
      Fabian Geywitz

      Hello Olga,

      we have updated our system to the new version 1909. After the update it's no longer possible to select a RFC connection to SolMan in the app, when creating a new project. How can we add UPL data from SolMan into a new project in the app with the new release 1909?

      Thank you.

       

      Best regards,

      Fabian

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Fabian,

      you must define RFC destination to your SolMan system on your 1909 system. Please verify, that the RFC destination is defined and your can access the SolMan system using it. Also your 1909 system must be setup as a central ATC check system.

      Best Regards,

      Olga.

      Author's profile photo Former Member
      Former Member

      Hello Olga,

      I have uploaded 2 snapshot from different ERP systems to S/4HANA system.

      But Scoped objects and number of analysis objects always remains the same i.e. 855 objects

      ERP-1

      ERP -2

       

      Best Regards,

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Hitesh,

      the App analyzes always all objects in the system, but as you can see the "Scoped Objects" numbers are different and smaller as the overall number of  objects. This is because the "Scoped Objects"(= objects which will be taken over to SAP S/4HANA) are calculated based on your SUSG snapshots from ERP1 and ERP2. So the behavior is correct.

      Regards,

      Olga.

      Author's profile photo Bernhard Haberstetter
      Bernhard Haberstetter

      Dear Olga,

      thanks for this as always very interesting blog. We have put in some effort to enable a 7.52 ERP system as central check system, but unfortunately it looks like this was not the ideal decision because the custom code migration app would run only on S/4. It would be great if SAP could downport the app to ERP. If not, hopefully people get this information earlier then us.

      Kind regards

      Bernhard

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Bernhard,

      yes, the prerequisite for using the Custom Code Migration app is at least SAP S/4HANA 1809 system as a central ATC check system. You can read it in the "Technical Setup" chapter of this blog. The app will not be downported to the ERP.

      Since the purpose of the app is to support custom code analysis during SAP S/4HANA conversion process, we recommend to reuse your first SAP S/4HANA sandbox system (which you will anyway set up in your landscape during system conversion) for setting up the app there. Alternatively you can use the app in the SAP Cloud Platform ABAP Environment.

      Kind Regards,

      Olga.

      Author's profile photo Bernhard Haberstetter
      Bernhard Haberstetter

      Dear Olga,

      is it possible to get a list of elements that are not in scope (thus elements that would be part of the deletion transport) in the app? We are looking for a possibilty to

      1. Check elements suggested for deletion
      2. Drop elements from deletion list

      If we don’t have this kind of control, it appears too risky to use this app for code cleaning.

      Thanks for your efforts!

      Kind regards

      Bernhard

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Bernhard,

      yes it is possible. On the tab "Scope" in the app there is a button "Scope Packages". If you click it, you get a list of the packages and will see from "Scope Information" if the package (or some its objects are in/not in scope. By clicking ">" on the package row you will see the list of objects which in/not int scope. You can add objects to scope or remove them from scope in the app.

      Best Regards,

      Olga.

      Author's profile photo Bernhard Haberstetter
      Bernhard Haberstetter

      Thank you Olga, that is very helpful

      Author's profile photo João Paixão Silva
      João Paixão Silva

      Hello Olga.

      Thank you for the blog post, but I'm having some issues with the remote checks.

      The project state stays has corrupt:

       

      With the error: "Modifications cannot be checked in S4H (see long text) 2":

       

      I've found that this is the message SATC_CI_CFG006 and the procedure for the solution is: "Verify the used stub version in the target system (see note )"

       

      Is the a way to know what stub should I verify? Which note?

      Is the a more detail log I can analyse?

       

      Thanks in advance.

       

      Regards,

      João Paixão Silva

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi João,

      to be able to get modifications checked your remotely checked system must implement the SAP Notes 24852312270689 and 2451683. See also the blog https://blogs.sap.com/2017/09/18/remote-code-analysis-in-atc-scanning-customer-extensions/

      Best regards,

      Olga.

      Author's profile photo João Paixão Silva
      João Paixão Silva

      Hello, Olga.

      My problem was with the 2270689 note. The system had an obsolete version installed.

      The note update solved my problem.

      Thank you for your help.

       

      Regards,

      João Paixão Silva

      Author's profile photo Ansul Chandra
      Ansul Chandra

      Hello Expert, Anyone can help me to understand if I can use Solution Manager 7.2 SP04 for ATC work before I convert my ECC 6.0 EHP5/Oracle12 to S/4HANA 1909 FP01. Thank in advance!

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Ansul,

      you cannot use your SAP Solution Manager 7.2 SP04 system as an ATC central check system because SAP Solution Manager is on SAP NetWeaver 7.4 and a central ATC check system requires at least SAP NetWeaver AS ABAP 7.51-7.52.

      Regards,

      Olga.

       

      Author's profile photo CLARK CHEN
      CLARK CHEN

      Hi Olga,

       

      Thanks for your blog,it's helpful.

      Now I have a question about remote analysis note.

      My ECC system version is ECC6.0 Netweaver 7.00.

      Which note below should I use?

      2270689 - Remote Analysis (for source system)

      2829419 - Remote Analysis (for source system. Release 7.00)

      In manual step, it told me to create function group SABP_COMP_PROCS_E in different package.

       

      br,

      Chen

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Chen,

      as stated in the collective note 2364916 please implement the 2270689 for the 7.00 release and the 2905901  (see the entry for the 7.00 in the 2270689).

      Best regards,

      Olga.

      Author's profile photo Natalia Travkina
      Natalia Travkina

      Hi Olga,

       

      is there any possibility to download the Scope result from Custom Code Migration Application?

      I could download result for Analyze findings but I wanted to analyze all objects which are out of scope and are not having issues, but should be excluded from the migration scope (in excel, as not all colleagues can have access to the application).

      Thank You!

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Natalia,

      unfortunately it is not yet possible. This feature is in our development backlog but it is not yet clear when it will be developed.

      Regards,

      Olga.

      Author's profile photo Natalia Travkina
      Natalia Travkina

      Thank you, Olga, for your quick response! We'll wait for the feature! 🙂

      Author's profile photo Neelkanth Behere
      Neelkanth Behere

      Hello Olga,

      We are on Solution Manager 7.2 SP11. Can we use the SCMON and UPL data from Solman and port it into the App ? Or does it need to be collected from backend system..?

      Thanks & Regards,

      Neel

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Neel,

      yes, you can upload SCMON or UPL data from Solman to the Custom Code Migration app.

      Regards,

      Olga.

      Author's profile photo Raoul Shiro
      Raoul Shiro

      Good Morning Olga,

       

      We are planning a S/4HANA release upgrade from S/4HANA1809 to S/4HANA2020 (NetWeaver 7.55).

      SAP recommends to perform a custom code migration for S/4HANA 2020, and I am unclear about the minimum release version of the central ATC system.

      According to the guide, the minimum version for ATC check system is S/4HANA1809 : https://help.sap.com/doc/9dcbc5e47ba54a5cbb509afaa49dd5a1/202009.000/en-US/CustomCodeMigration_EndToEnd.pdf

      But then there is a a whole chapter about Using SAP S/4HANA 2020 as Central Check System ?

      Do you know which one is it ?

       

      Thanks and Regards

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Raoul,

      S/4HANA 1809 release is the minimum release, where you can use Custom Code Migration app (see page 7 of the guide). Of course any release > 1809 (like 2020 for example) is better, because of more (and improved) features of the Custom Code Migration app. If you have already set up an SAP S/4HANA 2020 sandbox system, this system can also be used for the
      custom code analysis. This is what the chapter Using SAP S/4HANA 2020 as Central Check System is about.

      Kind Regards,

      Olga.

      Author's profile photo Jānis B
      Jānis B

      Hi, and thanks for writing all the great articles for us! 🙂

      There might be a small bug in CL_YCM_FULLNAME_PROCESSOR\LCL_FULLNAME_MAPPER->TADIR_ID_FUGR_IC( ) (SAP_BASIS 754 SP 01, with all kinds of relevant Notes implemented), whereby “ordinary” customer includes with namespace are wrongly identified as belonging to nonexistent FUGR and as a result are excluded from scope, even though their main program is in scope:

      This specific program looks like this; it’s an ‘Executable program’, but Module Pool includes are affected as well:

      *&---------------------------------------------------------------------*
      *& Report  /FWW/UI_AKT_INDEX_VALUES
      *&---------------------------------------------------------------------*
      REPORT /fww/ui_akt_index_values MESSAGE-ID /fww/zidx.
      TABLES: sscrfields .
      DATA: s_zidxbez     TYPE /fww/zidxbez.
      
      INCLUDE /fww/ui_akt_index_values_cls.
      INCLUDE /fww/ui_akt_index_values_sel.
      
      START-OF-SELECTION.
        lcl_main=>get_instance( )->execute(
          EXPORTING
            it_r_bukrs       = s_bukrs[]
            it_r_index       = s_index[]
        ).

      I didn’t find anything in OSS yet and fixed it like this:

      Also, it would be nice, if:

      • the generated SM30 view Maintenance Dialog FUGRs were ‘in scope’ by default, regardless of productive use (used mostly for customizing tables, so will hardly be used productively), ditto for the ‘funky’ 4 per object Change Document Object Includes (CDT, CDV, CDF, CDC), even if they are not referenced in  code;
      • one could pick and choose the namespaces to be analysed at the UI… (mainly to exclude /0LOCAL/, but I guess it can also be easily deleted from the table, if one knows where)

      Other than that – great stuff 🙂

      Thank you and best regards,
      Jānis

      Author's profile photo Jānis B
      Jānis B

      Hi Olga,

      The deletion Transport Requests, is it possible to get rid of them in a clean way, please..?

      It’s  thoroughly distressing seeing it having been automatically ‘exported’ after creation… – not at all what I expected pressing something that says [Save Scope as Transport Request] 🙂

      Thank you and best regards,
      Jānis

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Jānis,

      we already renamed the button to "Create deletion transport" in the newer versions of the app (e.g. in SAP S/4HANA 2020 and in the SAP Cloud Platform ABAP Environment).

      Thanks & Regards,

      Olga.

      Author's profile photo B@lu .
      B@lu .

      hi Olga,

      now for an example all this Checking process is happen in central system( assume SandBox system).we are identified the source code scope and created a deletion TR. so now do we need to transport Deletion TR from SandBox system to DEV? and include the same TR in SUM during DEV S/4 HANA Conversion?

      Other than Deletion TR any thing else we need to transfer from SandBox system to DEV?

       

      Regards,

      Balu.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Balu,

      an deletion TR will be created on the ERP system, which you check with the central check system (e.g. sandbox) and not on the sandbox. During conversion of the ERP system to S/4HANA as the SUM asks for custom transports you can add it.

      Regards,

      Olga.

      Author's profile photo Patrick Keuerleber
      Patrick Keuerleber

      Hello Olga,

      great post, thank you an a great feature set regarding the app! I have some questions left, regarding the usage of the app.

      For context: We are on S/4HANA 1909 now and unfortunately didn't use the custom code app for scoping and migrating our custom code. We also didn't use similar features like the SOLMAN decomissioning cockpit. We did a Brownfield approach. This obviously resulted in every custom object being ported to the new S4 system.

      In the meantime we have now setup a S/4HANA 2020 central ATC hub system and are planing to update it as often as possible to leverage it's features in the future. Can we now still make use of the custom code app features during our next S4 major release upgrade? Especially regarding the scoping feature to reduce our custom code objects during this upgrade?

      E. g. if we upgrade from S4 1909 to S4 2020 in the future on the same machine, can we then still phase out unsued code with the app during this process? Is it only possible if the new S4 2020 system is a completly new one with data migration and everything like with the ECC -> S4 conversion and not an "inplace" upgrade? Has the chance to use the apps features indeed passed for us now because the initial S4 conversion is done?

      Which options are left for us regarding the usage of the app?

      Regarding upgrading the ATC hub system: will baselines and configurations of ATC be kept, if we upgrade the hub from S4 2020 to S4 2021 later this year or do we have to save them manually beforehand?

      Thank you very much and best regards

      Patrick

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Patrick,

      you can also (and it is even recommended to) do custom code scoping (incl. elimination of unused custom code) and analysis between SAP S/4HANA upgrades (e.g. check an SAP S/4HANA 1909 system for S/4HANA 2020 readiness). The baselines and configurations of the central ATC check system will remain after upgrading this hub system.

      Best Regards,

      Olga.

      Author's profile photo Patrick Keuerleber
      Patrick Keuerleber

      HI Olga,

      thanks for your response. This is great news!

      I have a folllow-up question one one topic. We have an internal debatte now whether the SOLMAN decomissioning cockpit fulfills the same purpose and provides similarly sufficient features of the app anyway. But in my understanding they are not mutual exclusive or redundant to each other and provide a set of features which can be combined over the system's lifecycle.

      As I understand it, the custom code app is best suited for scoping and possibly deleting code via SUM while performing an S4 upgrade and decomissioning cockpit is for deactivating and deleting objects between two upgrades.

      Is that correct? Can you please clarify if these two tools are inclusive/exclusive in some way to each other?

      Thanks again and best regards

      Patrick

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Patrick,

      it depends on the use case.

      The SolMan decomissioning cockpit should be used for elimination of unused custom code during normal operation (not at upgrades).

      For the SAP S/4HANA conversion or during SAP S/4HANA upgardes use cases the CCM app captures the unused code in the separate transport request, which will be added to the SUM and deleted automatically (you cannot do so with SolMan decomissioning cockpit).

      But you are right: the use cases are to some extent identical, meaning, if prior to upgrade you used SolMan decomissioning cockpit and eliminated the unused code from the system beforehand, you wouldn't probably need to capture it in CCM app during upgrade anymore.

      Best regards,

      Olga.

      Author's profile photo Prathap Chandy
      Prathap Chandy

      Hello Olga,

      In CCM App under Scope, the ECC Data Dictionary objects such as TABL is considered as 'In Scope (by object)'. If we review and identify some Database Tables are not needed in our new S/4HANA system, can we add such Tables as 'Out of Scope' and capture them under the Deletion Transport option? That I assume will help to avoid the migration and conversion of such Tables that are not needed in S/4HANA system.

      In addition to that when we manually tag such Tables as 'Out of Scope', will CCM also add the other dependent objects on the Table (such as Programs/ Classes using the Table) as Out of Scope?

      Regards,

      Prathap

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Prathap,

      yes, you can take the DDIC tables out of scope and capture them in the deletion transport request. But: the other objects, which access these tables, will not be removed from the scope, since they may be used in other custom code.

      Regards,

      Olga,

      Author's profile photo Alejandro Cibanik
      Alejandro Cibanik

      Hi Olga,

       

      Thank you for the info shared.

      We have just executed the ATC run and right now we are analyzing the results provided.

      Strangely, on this occasion, the button to download the findings to a spreadsheet is missing:

      CCM%20app

      CCM app

      Any hint on what could be wrong?

      Thank you!

      Alejandro

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Alejandro,

      this button is actually the SAP Fiori-feature, meaning independent of the Custom Code Migration app, is should be there. Please open a ticket to SAP if you want to get it investigated.

      Kind Regards,

      Olga.

      Author's profile photo amarnath arasavalli
      amarnath arasavalli

       

      Hi Olga,

      Thanks for the wonderful blog and your responses

      I wanted to ask you a few questions

      1. Can we use our Solman SOLMAN 7.2 SP  12 as a ATC Check system. If not which version of solman can be used as a ATC check central system
      2. Is ATC Check central system free of cost as part of SAP Netweaver.(Custom code analysis for SAP S/4HANA with SAP Fiori App Custom Code Migration). We are going to use this central system only for custom code analysis.

      Awaiting your response.

      Thank you,

      Amar

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Amar,

      1. You cannot use an SAP Solution Manager system, since it is on SAP NetWeaver 7.4 release and the minimum for an ATC central check system is SAP NetWeaver 7.51
      2. You need a valid SAP S/4HANA licence to use Custom Code Migration app. See for more details also the SAP note 2912919 - SAP S/4HANA FOUNDATION 2020: Release Information Note.

      Best Regards,

      Olga.

      Author's profile photo amarnath arasavalli
      amarnath arasavalli

       

      Thanks Olga,

       

      Currently we are having an additional sandbox system( ECC 6.0) in our environment. So, Would it be fine if we just convert our POC(Sandbox system into 1909) & then configure it as a ATC Check System. We will not worry about open checks during conversion. We will only use it as a ATC Central Check system and work from there. Cost wise , this looks like a cost effective solution rather than going ahead with a new box for ATC check.

      Let me know your opinion on this approach. Appreciate your response.

       

      Thanks,

      Amar

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Amar,

      yes, exactly, the newly converted SAP S/4HANA 1909 sandbox is ideal for the central ATC analysis with Custom Code Migration app.

      Best Regards,

      Olga.

      Author's profile photo amarnath arasavalli
      amarnath arasavalli

      Thanks Olga,

       

      We will be going ahead with this approach.

      1. We can ignore the open checks during migration as we are only going to perform ATC Remote checks & not data checks in this sandbox system once it is converted it to s4 1909 ATC Central system. I guess we can always do a data check as a bonus. Am I right?
      2. Since we have already got the s4hana licensing done and we are moving ahead with s4 hana migration, do you think there will be additional costs for a new box( In case we do not pursue sandbox conversion approach). I am quite confused as some say if it is just ATC Central check system, then there will be no additional costs to build a new box. Just wanted some clarity on this front. It will be great if you have some inputs.
      Author's profile photo Sampat Tandon
      Sampat Tandon

      Hello All,

      Can you please let us know if obsolete objects are deleted from system using custom code  migration fiori app.

      Another question, If we have a smartform (SSFO)/Function group, then fiori app is capable to provide driver program for smartforms/Function Group.

       

      Thanks,

      Sampat

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Sampat,

      if you create for your not-used (not scoped) objects in the Custom Code Migration app the transport request ("Create deletion transport" button in the Custom Code Migration app) and add later this transport as a custom transport to the SUM during conversion process, then SUM will delete these objects from the system.

      Custom Code Migration app also analyzes Smart Forms for SAP S/4HANA. Was it your question?

      Regards,

      Olga.

      Author's profile photo Chanchai Tomas Ninphet
      Chanchai Tomas Ninphet

      Hello Olga,

       

      Firts of all, I want to congrats to you for this incredible post about ATC, for me it has been a great help for understanding the concepts and guide to me for the technical preparation to deploy the ATC.

      Unfortunately we are stuck in manually activity required by note 2587593 - ATC: Checkability of Modifications and Enhancements in Remote Checks - Developer Scenario.

      The required manual activity says to create the following objects manually:

      # Messages:
      # MESS SATC_CI_CFG006

      We don't quite understand what mean by the manual creation of this MESS object... Do you mean to add directly into a Transport Order? or access to some transaction like SE91 (this is for MASG message class object...)

      Could you shed some light on this?

      Best Regards,

      Chanchai.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Chanchai,

      my understanding is, that you should use the transaction SE91 to create the message object.

      Kind Regards,

      Olga.

      Author's profile photo Chanchai Tomas Ninphet
      Chanchai Tomas Ninphet

      Hello Olga,

      Thanks for your quicky answer. We try to create the message object through transaction SE91 but but as far as I can see, it only allows you to create message class of type MSAG and no MESS object type...

       

      Object%20creation%20tx.%20SE91

      Object creation tx. SE91

       

      As we can see this is the specification for MESS object.

       

      MESS%20object%20type

      MESS object type

       

      Is there a way to add this object manually? I have not seen that since the tx. SE91 can modify this type of object.

      Thanks,

      Chanchai.

       

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi,

      MSAG is a message class that contains several single message of type MESS.

      That means when you add a new message to a message group a transport entry of type MESS is written to the transport task. In your case you have to edit the SAP message class and add the single message as modification.

      Regards,

      Thomas.

      Author's profile photo Chanchai Tomas Ninphet
      Chanchai Tomas Ninphet

      Hello Thomas,

       

      Thanks for the clarification. We have been able to implement the amendment correctly. We would only like to suggest, that if in these manual steps that are required, it's indicated that all this is done from the transaction SE91 and it's necessary to look for the message class SATC_CI_CFG and add in line 006 the required text, it would be very useful and save a lot of headaches for future users.

       

      Regards,

      Chanchai.

       

      Author's profile photo Mario Kopp
      Mario Kopp

      Hello Olga,

      we are using a Central ATC System with NW AS ABAP 7.52 SP0004. In the past we have connected several other NW Systems to this Central ATC and 1 S/4 HANA System.
      Now we want to connect the next S/4 HANA System with S4CORE 105(0002) and SAP_BASIS 7.55(0002). On trying to connect this System we got an Error which says that the Release of the Central ATC System is to low to connect to the S/4 System.
      Does this mean that we have to go with our Central ATC System to S/4 HANA too ?

      And if so, is there an option for a System Conversion of the existing Central ATC System to S/4 ? We have written a lot of own ATC Checks, which we will surely use again in the new System.
      Or do we have to set up the new Central ATC for S/4 HANA manually and what then abou the existing Findings, Baselines etc., ? How do we get those Artefacts into the new System ?

      Best regards

      Mario

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Mario,

      yes, you need at least the same release on the ATC system as the release of the checked system. You can do an upgrade of your central ATC system to S/4HANA Foundation. We tested this a few weeks back in our own landscape and it worked perfectly without data lost.

      Please keep us posted when you go that step.

      Regards,

      Thomas.

      Author's profile photo Bärbel Winkler
      Bärbel Winkler

      Thomas Fiedler

      Hi Thomas,

      now I'm getting confused! Your statement "You can do an upgrade of your central ATC system to S/4HANA Foundation." seems to contradict with Olga's reply upthread to my question way back in 2019 where she stated that "there is no system conversion path from NW AS ABAP 7.52 to S/4HANA 1809. So you need to setup a new S/4HANA 1809 system as a central ATC check system and migrate your baseline and exemptions data in there."

      Has something changed since then and an upgrade from NW AS ABAP 7.52 to an S/4HANA system is now possible? We'd be very interested in such an option as well!

      Thanks much and Cheers

      Bärbel

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Bärbel,

      the usage of S/4HANA foundation for ATC is available since 1909. See the remarks in the following note https://launchpad.support.sap.com/#/notes/2750164 .

      "SAP S/4HANA customers can use a S/4HANA foundation test system to setup an ABAP Test Cockpit hub for remote checks."

      So you can upgrade your NW system to S/4HANA foundation. All ATC settings and all ATC data incl. exemptions survives the upgrade.

      Regards,

      Thomas.

      Author's profile photo Christian Takeda
      Christian Takeda

      Hi Olga,

      We have a central ATC system to check customers' systems, and we have downloaded the excel sheet with customer's findings, and filtered by object name. We have noticed that several lines are duplicated, some cases even more.

      We have also check in the app, doing the same filter and it looks the same. Any thoughts?

       

      Thanks

       

      Christian

      Author's profile photo Michael Schneider
      Michael Schneider

      Hi Christian,

      It is possible to get the same finding several times per object. In this case, each finding should refer to a different location in the source code.

      Did you check whether the findings refer to different source code locations? You can navigate to the source code location of a finding in the app.

      Regards,
      Michael

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      When running the setup (via the tutorial) for a licensed version of BTP ABAP, I get an error setting up the Communication Arrangement

      Backend Error: SNC required for this connection, Service: /SAP/-APS_COM_CA2_SRV-0001

      Any idea on this one or should I raise an incident?

      Regards

      Ian

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Ian,

      it looks like the SNC must be activated on your backend system in order to establish the connection. Please verify this, and if it doesn't help please open a ticket.

      Best Regards,

      Olga.

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      Thanks for the quick response.

      SNC is activated on the backend system but the error comes from the BTP ABAP system.  Curiously I get the same error when trying to access BAPI_EPM_PRODUCT_GET_LIST from a test class but not when I access RFC_SYSTEM_INFO (as per this tutorial).

      I'll raise a ticket.

      Thanks

      Ian

      Author's profile photo Ian Stubbings
      Ian Stubbings

      Hi Olga

      Quick update. Although SNC was active and the user setup with SNC, the checkbox to allow username/password from SAPGUI was not checked.  Curious as we are not going in via SAPGUI but through cloud connector but never mind, it works 🙂

      Regards

      Ian

      Author's profile photo Muhammed Abdelaziz
      Muhammed Abdelaziz

      Hi , Olga many thanks for this valuable information , i wonder if you can help me with the below :

      i have S/4H system as central system and it's connected fine to the checked system (ERP) and all the SAP Notes needed is installed in Both systems and ATC configuration is done and working fine and i can navigate to the objects (Code in the Checked system ) in the ATC results form the Central system fine in GUI , problem is when am using the custom code migration app to analyze the object the link is not trigging anything no navigation to checked system not even open it in the eclipse and the object name link is dimmed as below.

      what is missing ? your help is very appreciated. 🙂

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Muhammed,

      to navigate to the source code in the checked (ERP) system from the Custom Code MIgration app these points must be fulfilled:

      1. The ERP system, which is checked, must support ADT in Eclipse
      2. If ADT is supported, the http endpoint /sap/bc/adt must be activated in the SICF transaction

      Kind Regards,

      Olga.

      Author's profile photo Muhammed Abdelaziz
      Muhammed Abdelaziz

      Hi Olga,

      Many Thanks for your prompt reply , but the ERP is supporting adt Eclipse and end point is active and I can access it form eclipse !

      what am I missing ?

      kind regards
      Muhammed

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Muhammed,

      okay, thanks. Then I would recommend to open a ticket to SAP to get this issue investigated in detail.

      Kind Regards,

      Olga.

      Author's profile photo Muhammed Abdelaziz
      Muhammed Abdelaziz

      Hi Olga ,

      thanks will do ,one thing found it while investigating is that there is problem when generating the URL's  navigation for the objects in the App , when I create the links manually it work ! .

      Kind regards and Happy holidays 🙂

      Muhammed

       

      Author's profile photo Muhammed Abdelaziz
      Muhammed Abdelaziz

      Hi Olga .
      just an update found the fix for the issue by applying sap note :

      3008248 - Custom Code Migration App: Compatibility UIBAS001 600

      From <https://launchpad.support.sap.com/#/notes/3008248>

      thanks again for your help

      Kind regards 

      Muhammed

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Muhammed,

      great! Thanks for sharing the link: maybe somebody else will get the same issue.

      Kind Regards,

      Olga.

      Author's profile photo Hanane BARKA
      Hanane BARKA

      Hi Olga,

      I try to open SAP Fiori launchpad for Administrating User Assignments and create communication arrangements

      but i have this message :

      what is missing please ? your help is very appreciated.

       

      Thank you,

      Best Regards

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Hanane,

      could you please open ticket to SAP and provide more details: at which stage of the setup process are you exactly.

      Thanks & Regards,

      Olga.

       

      Author's profile photo T. KASI SURYANARAYANA MURTHY
      T. KASI SURYANARAYANA MURTHY

      Hi Olga,

      Can I check feature compatibility between BTP and on-premise application. What are features available within BTP version and on-premise version. I could see "SAP BTP migration Project" option in below image in BTP but not in on-premise version. similarly "Charts" option.

      Regards

      Kasi

       

      CCM%20app%20on%20BTP

      CCM app on BTP

      CCM App in BTP with BTP Migration Option

       

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Kasi,

      what exactly are you looking for? The Custom Code Migration app is the same on-premise and on SAP BTP ABAP Environment. In the app you can handle two types of migration projects: custom code migration to SAP S/4HANA and custom code migration to SAP BTP. This is exactly what this menu is telling you.

      Kind Regards,

      Olga.

      Author's profile photo T. KASI SURYANARAYANA MURTHY
      T. KASI SURYANARAYANA MURTHY

      Olga,

      Thanks for quick response. Attached below is  screen shot of CCM app from our on-premise system. I couldn't see the drop-down options that is shown in BTP version.

      Regards

      Kasi

      CCM app from on-Premise system

      Author's profile photo T. KASI SURYANARAYANA MURTHY
      T. KASI SURYANARAYANA MURTHY

      Image was missing from my previous post.

       

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Kasi,

      is it the S/4HANA 1809 system? For custom code analysis for SAP BTP you need >= 1909 system, as stated in the blog https://blogs.sap.com/2018/10/02/how-to-check-your-custom-abap-code-for-sap-cloud-platform-abap-environment/, chapter "ABAP custom code analysis with Custom Code Migration app on-premise".

      Kind Regards,

      Olga.

      Author's profile photo T. KASI SURYANARAYANA MURTHY
      T. KASI SURYANARAYANA MURTHY

      Sorry I didnt mention this earlier. our system is on 1909. This is our Central ATC system and I have applied all recommended notes from below OSS notes:

      2913617 - SAP Readiness Check for SAP S/4HANA
      2436688 – Recommended SAP Notes for using S/4HANA custom code checks in ATC or Custom Code Migration app
      2682626 – Code Inspector Check for restricted language scope version 5 (ABAP for SAP Cloud Platform)
      2684665 & 2830799 – Custom code checks for SAP Cloud Platform ABAP Environment
      2830799 -  check variant SAP_CP_READINESS_REMOTE_PREV

      HANA%201909

      HANA 1909

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hi Kasi,

      in the 1909 system it should look like this:

       

       

       

       

       

       

       

      If it is not so, then please open a ticket to SAP.

      Kind Regards,

      Olga.

      Author's profile photo T. KASI SURYANARAYANA MURTHY
      T. KASI SURYANARAYANA MURTHY

      Hi Olga, FYIO. I got below response from SAP.

      Dear Kasi,

      unfortunately the drop down is only available in the on premise version S/4HANA 2021 or later or in the latest cloud release. Nevertheless, you can create the two project types SAP S/4HANA Migration Project and SAP BTP Migration Project in the 1909 via the different target release selection. Select either a S/4 HANA or the Cloud target release to schedule the corresponding checks.

      The third option to create a Custom Code Analysis project and run an arbitrary ATC check is not available in the 1909 version.

      Best Regards
      Christopher Hermann
      ABAP Platform Developer Tools
      SAP Development Support

      Author's profile photo steven De Saeger
      steven De Saeger

      Hi Olga Dolinskaja,

       

      We have ran a first analysis via the custom fiori scanning app.

      When looking at the 'change scope' I noticed there are no entry points defined.

      We did import usage data from Solution Manager and linked the production usage data with the project.

      So I am a bit 'surprised' there are no entriy points found ?

      Thanks,

      Steven

       

      Author's profile photo Michael Schneider
      Michael Schneider

      Hi Steven,

      You mentioned you collected the usage data in Solution Manager? How did you collect the usage data via solution manager? There are three options:

      1. Data collected via UPL
      2. Data collected via ABAP Call Monitor
        1. Without collection of request entries poitnts (aka root)
        2. With collection of request entries poitnts (aka root)

      Only in the last option (or if you collected usage data using Transaction SUSG without Solution Manager), the app will show the request entry points.

      Kind regards, Michael

      Author's profile photo steven De Saeger
      steven De Saeger

      Hi Michael Schneider ,

      Thanks for the feedback.  Sorry for the delay in responding - I had to check with our SAP basis team on what option was chosen.

      Indeed option 2.1 was activated so that explains it.

      We will switch to 2.2.

      Thanks,

      Steven

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hi Olga Dolinskaja

      when I migrate a development object from an SAP Netweaver database to a new S/4HANA landscape using the Custom Code Migration App, is the version history of a development object also migrated or is the development object created as a "new" development object in the S/4HANA landscape with no information about the object's past?

       

      Kind regards,

      Niklas

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Niklas,

      this depends on your migration path. When you are doing a system conversion your version history stays in the converted system. In a greenfield project where you start with a fresh system and take-over custom objects from your old system the version history i snot available on the new system.

      Regards,

      Thomas.

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hi Thomas,

       

      thank you very much, the information is very helpful !

       

      Kind regards,

      Niklas

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hello Thomas,

       

      I have one more question since it is driving us crazy. How have the references of an object been calculated?

      We have checked a program that has thousands of references according to the app, but does not contain or use a single custom object. The program only accesses standard SAP tables without any extensions.

      So, we have tested some scenarios but we could not find any patterns. Any hint would help us.

       

      Kind regards,

      Niklas

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      We are using the where-used index for calculating the references. I think you should get the same results in the repository info system (transaction SE84)

      Regards,

      Thomas.

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hello Thomas,

      thank you for your answer, but unfortunately this is absolutely not the case with us. The Custom Code Migration app shows significantly more references than the where-used-list would suggest. We are aware that references of references are calculated as well.

      Kind regards,

      Niklas

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Niklas,

      can our support get system access to analyze the issue a bit more in detail?

      Please create a ticket on component BC-DWB-CEX-CCM.

      Regards,

      Thomas.

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hi Thomas,

      alright, i'll create a ticket.

      Kind regards,

      Niklas

      Author's profile photo Niklas Eidt
      Niklas Eidt

      Hi Thomas,

      I created an oss three weeks ago about to not being able to manually remove objects from scope, as this is a bigger problem for us.

      I think the problem discussed here lies in the opacity of the dependencies/connections between objects. One object causes more than 12000 references for us. Because of the opacity and the huge impact, it is not possible for me to check if the references are calculated correctly. You would really do me a big favor if you could tell me the development object that calculates the references of a single object, if there is one.

      Kind regards,

      Niklas

      Author's profile photo Łukasz Pęgiel
      Łukasz Pęgiel

      Dear Olga Dolinskaja & Thomas Fiedler ,

      I have a question about exemption process and CCM App. We have central ATC system and development system already converted to S/4. We're doing the custom code adaptation here and we're storing exemptions in central ATC system for the S/4Hana Readiness checks. Nevertheless, when I run the CCM App on the central ATC system, the exemptions seems not to be taken into account, and full list of findings is display and counted. Did I forgot some settings?

       

      Cheers
      Łukasz

      Author's profile photo Thomas Fiedler
      Thomas Fiedler

      Hi Lukasz,

      this is already fixed via the latest version of OSS note 3107617

       

      Regards,

      Thomas.

      Author's profile photo Łukasz Pęgiel
      Łukasz Pęgiel

      Thanks Mate!
      We had 4th version installed, now it's 7th. I will give it a try!

      Author's profile photo Harald Bitzer
      Harald Bitzer

      Hi Olga and Thomas,

      Thanks for the great blog. All is working, except the links to the code positions. The generated link is wrong, it is the Fiori Launchpad link https://<URL>/sap/bc/ui2/flp?sap-client=100&sap-language=DE in all cases.

      Is there any correction available?

      Thanks and Best Regards

      H.

      Author's profile photo Olga Dolinskaja
      Olga Dolinskaja
      Blog Post Author

      Hello Harald,

      could you please explain more in detail what do you mean?

      Thanks!

      Kind Regards,

      Olga.

      Author's profile photo Harald Bitzer
      Harald Bitzer

      Hi Olga,

      The links to the ABAP source code in the individual findings do not work. See an example below (yellow marked link).

      All of these links are leading to the Fiori Launchpad (URL https://<URL>/sap/bc/ui2/flp?sap-client=100&sap-language=DE) but not to any source code position.

      Best Regards

      H.

      Author's profile photo Christopher Hermann
      Christopher Hermann

      Hi Harald,

      currently there are no corrections for this kind of issues. Can you check if the table SYCMA_FND_URLS contains the same Fiori Launchpad links that are display in the app? If the links in the table point to the correct source code position, the issue is most probably related to the Fiori Launchpad settings.

      If the links in the table point to the Fiori Launchpad, I would recommend to open a ticket on component BC-DWB-CEX-CCM so that we can check the issue in your system.

      Regards, Christopher

       

      Author's profile photo Harald Bitzer
      Harald Bitzer

      Hi Christopher,

      Table SYCMA_FND_URLS is empty on our central S/4 HANA sandbox check system.

      Probably it makes sense that we open a ticket.

      Best Regards

      Harald

      Author's profile photo Jan Rychtar
      Jan Rychtar

      I am using BTP and Custom Code Migration for analyzing SAP BASIS 7.4 SP12 to migrate S4HANA 2022. When I create a project in Custom Code Migration application, I get the error message: "Function module "RS_ABAP_CHECK_PROGRAM_E" not found."

      I implemented this note

      2599695 Custom Code Migration Fiori App: Remote Stubs for the Checked System

      2888880 Remote analysis: Bulk determination of method names

      2270689 Remote Analysis for source system for reference

      Can someone help me?

      Regards Jan