首页 > SAP > ABAP > What is Enhancement Framework in SAP
2019
08-29

What is Enhancement Framework in SAP

1.2Implicit Enhancement Options

Implicit enhancement option is source code enhancement concept.These are incorporated directly in ABAP source code of SAP standard software.

1.1.1.1.1.Where we can we find the implicit enhancement options ?

Implicit enhancement options are available at these places.Implicit enhancements are provided at specific code places by SAP.

At the end of type declaration, before “END OF … ” to add additional fields.
At the end of Reports, Function pool, Module pool and after the last statement.
At the start and end of all Function Modules.
At the start and end of all Subroutines.
At the end of PUBLIC, PROTECTED and PRIVATE sections of class.

2.3Explicit Enhancement Options

Explicit enhancement options are also source code enhancements and they are also available at ABAP source code level. We have two types of Explicit Enhancement options

Enhancement Point
Enhancement Section.

An Explicit Enhancement Point is an option provided by SAP to enhance the SAP source code without modifying it.It is implemented by using syntax “ENHANCEMENT-POINT“.

An Explicit Enhancement Section is also an option provided by SAP to replace the SAP source code without modifying it.It is implemented by using syntax “ENHANCEMENT-SECTION” and  “END-ENHANCEMENT-SECTION“. The replaced code will exists in between these statements.Both these options are managed using Enhancement Spots.

[adsenseyu1]

3.4Function Group Enhancements

This is new enhancement concept introduced in Enhancement framework to add only optional parameters in Importing, Exporting, Changing and Tables to the interface of all functional modules in SAP standard software. There are some restrictions to some functional modules and you can not add Exceptions to the interface.Be cautions while enhancing the interface of the functional modules.

4.5Class Enhancements

This is new enhancement concept introduced in Enhancement framework to

Add only optional parameters in Importing, Exporting, Changing and Tables to the standard class method interface
Define additional attributes and methods in PUBLIC, PROTECTED and PRIVATE sections of the standard class
Define Pre and Post method for an SAP standard class method. ( Pre method will execute before standard method and Post method will execute after standard method )

5.6Kernel BAdI

All the above enhancement techniques are newly delivered with Enhancement Framework but Kernel BAdI is an improvement to the old classical BAdI technique.The new BAdI technology will work same as the Classical BAdI. Kernel BAdI’s are also implemented and managed using Enhancement Spots.

In our next tutorials we will pick each and every enhancement technique and understand them with an examples.Please comment if you like this post.