Skip to Content
Technical Articles
Author's profile photo Bhawna Verma

Custom Code Remediation

Overview:

Since, it was introduced twenty years ago, SAP ECC (Enterprise Central Component) has been a widely used Enterprise Resource Planning (ERP) tool. But as digitalization, cloud computing, and the demand for real-time data processing have increased, SAP ECC has become antiquated and unable to satisfy the needs of modern business. New and enhanced functionality to run the business processes simpler, faster and smarter, will only be available on S/4 HANA.

As part of this journey, learnings from one of the S/4 HANA brownfield implementation projects for one of the manufacturing customers has been discussed in this white paper.

The target audience for this white-paper are Consultants, Senior-Consultants, Principal Consultants, Project Managers, Delivery Managers and SMEs.

Introduction:

As an ABAP developer working on a HANA Migration Project, I must perform the “Code Remediation” activity and modify certain ABAP code to prevent any potential functional difficulties during the HANA migration.

For doing Code Remediation, you will run ABAP Test Cockpit (ATC) on your SAP S/4HANA system using the various ATC check variants which SAP provides, and you will receive a lengthy list of ATC findings that you must need to resolve.

There are multiple ATC check variants which SAP provides as when you plan to move S/4 HANA –

  1. S4HANA_READINESS
  2. S4HANA_READINESS_NO_FLE (As of S4HANA 2021, SAP has come up with this check variant only for customers who don’t want to chang0065 the extended material number length.)

Note: We perform code remediation only on custom objects. For standard objects SAP will take care.

How to get the ATC Findings in Eclipse ADT:

  1. Open the Program in Eclipse and click on Run As button (yellow highlighted) in Eclipse.
  2. Select the option ABAP Test Cockpit with from the given options.
  3. Enter the S4HANA_READINESS_2021_NO_FLE Check Variant suggested by SAP.
  4. Click on OK button and you will receive the list of ATC Findings.

Note: I’m showing you here through Eclipse ADT but you can also get these ATC findings via SAP GUI.

Procedure of resolving ATC Findings:

We can resolve the ATC finding in three ways:

  • By implementing Semi-Automatic Adjustments: Perform Quick Fixes or Recommended Quick Fixes on one object at a time.
  1. Issues belong to priority 1 and 2 must be fixed.
  2. When you click on Recommended Quick Fixes, you will get this pop-up.        
  3. It will ask for Transport Request (TR). 
  4. Once you will enter the TR, we will be able to see the recommended quick fix for the           required ATC Finding.
  • By implementing ATC Mass Fixes: This functionality can only be used in Eclipse not in GUI.
  • Read suggested notes against ATC Findings: You have to read the whole SAP Note (highlighted) on SAP SUPPORT PORTAL. Based on which the developer decides whether to implement the suggested change or not.             

Conclusion:

As you begin to plan the conversion of your ECC system to the S/4 HANA system, you begin to realize that a very large number of ABAP objects will have to be adapted to run on the S/4 HANA database. You need to follow all the above steps’ screenshots to perform the remediation using Eclipse ADT. Eclipse ADT will help you the most to resolve the ATC findings swiftly.

We can resolve Reports, Function Groups using eclipse other than these like enhancements, tables, views we can resolve it using SAP GUI.

For Smart forms, we didn’t get any specific criteria yet to remediate it.

Assigned Tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Vatsal Gupta
      Vatsal Gupta

      Very well & easily explained Bhawna ! Thanks for sharing.


       

      Author's profile photo Bhawna Verma
      Bhawna Verma
      Blog Post Author

      Thanks Vatsal.

      Author's profile photo Stuti Srivastava
      Stuti Srivastava

      Thankyou Bhawna for sharing such an informative Blog!

      Author's profile photo Bhawna Verma
      Bhawna Verma
      Blog Post Author

      I'm glad, it is helpful.

      Author's profile photo Vivek Saluja
      Vivek Saluja

      hi Bhawna,

      well explained Thanks for sharing the process of custom code remediation.

      My question is lets say there are custom objects which cannot be remediated and have to redeveloped in S4 system

      In which  Phase of the project would you identify such objects?

      in which phase would you develop them? -

       

      Author's profile photo Bhawna Verma
      Bhawna Verma
      Blog Post Author

      Hi Vivek,

      The identification of custom objects that cannot be remediated and have to be redeveloped would occur during the requirement gathering phase of project which is initial stage of the project.

      And it would be redeveloped in last phase of the project which is realization phase.

      Author's profile photo Vivek Saluja
      Vivek Saluja

      Thank you.

      Author's profile photo Katrina Eunice Rabor
      Katrina Eunice Rabor

      Hi, Bhawna.

      We are about to start with code remediation for our custom codes. My question is, in which sequence should the objects be remediated? How do you decide which objects or object types to remediate first?

       

      Thanks,

      Katrina R.

      Author's profile photo Bhawna Verma
      Bhawna Verma
      Blog Post Author

      Hi Katrina,

      Good questions you have asked.

      So, the answer for your first question is the sequence to remediate the objects is not fixed but if you follow the sequence like DDIC, Reports/Programs, Function Group/Function Modules, Enhancements. etc., it will be a good practice.

      Answer for second question is the decision on which objects or object types to remediate first depends on various factors, such as -

      1) Start with objects that have the highest impact on critical business processes.

      2) Address the objects with fewer dependencies first to avoid complications.

      Author's profile photo Ranendra Parida
      Ranendra Parida

      Hi Bhawna,

      What about SAP HANA (Graphical Views) Remediation or I can say SLT remediation. How to perform the steps of HANA Views remediation? in a ECC to S/4 HANA Conversion . Any idea?