Avoid Modifications by Using Implicit Enhancements in Standard SAP Code

  • by Faisal Altaf, SAP Technical Division Head, Al Yamamah Steel Industries Co.
  • August 5, 2011
Discover the use of the implicit enhancement option, including all possible areas where the enhancement can be used. Learn about the implementation of dynamic and static implicit enhancements with examples. You can also see how to add one new column in SAP List Viewer (ALV) of a standard report using implicit enhancement (without modification) as an example.
Key Concept
The implicit enhancement is a new technology to enhance SAP’s standard objects such as includes, function modules, forms, global classes and all source code units. The enhancement option makes it possible to add your own functionality to standard SAP objects without changing the original object. The additional functionality you added to the system by enhancement does not create any problems while the system upgrades and can be available without making any adjustment.

In SAP standard code there are some predefined positions where you can add custom code implicitly without any special enhancement. No enhancement spot is required for this type of enhancement. Implicit enhancements are available from SAP NetWeaver Application Server (SAP NetWeaver AS) 7.0.

Sometimes you have requirements to set a default value for a standard field, or you have to add an extra column in the standard SAP List Viewer (ALV). Or you might have to include a custom include in standard code. All such requirements can be fulfilled by using implicit enhancements. Without using implicit enhancements, you have to modify the standard code, which can cause problems when upgrading your system.

Later in this article I explain how to add new column in a standard SAP report using an implicit enhancement. The output of the report shows salaries in different time units (e.g., annually, monthly, weekly, and daily). I will show you the way to add one more column to ALV of this report output. You will see that I will do three enhancements to achieve the required result. First, I add a field in the structure, then I do calculations for converting all time units to a single time unit (annually) and assign the value to that field, and finally add the entry in the field catalog of ALV to display the new column in the output.

I’ll show you how to implement implicit enhancements, but first let’s look at displaying implicit enhancement options and the various pieces of code in which they can be installed.

Faisal Altaf

Faisal Altaf is a certified development consultant. He has more than seven years of experience and currently is working with Al Yamamah Steel Industries Co., Saudi Arabia, as the SAP technical division head. He completed his MS in software engineering and intends to complete his Ph.D. in the field of SAP.



See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.