0% found this document useful (0 votes)
158 views

Enhancement Framework Notes

The Enhancement Framework allows for four types of enhancements to SAP repository objects: source code, function group, class, and kernel BADI enhancements. Source code enhancements involve plugging custom code into standard SAP source code at specific enhancement points or sections. Function group enhancements allow adding parameters and code to standard SAP function modules.

Uploaded by

Nagesh reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
158 views

Enhancement Framework Notes

The Enhancement Framework allows for four types of enhancements to SAP repository objects: source code, function group, class, and kernel BADI enhancements. Source code enhancements involve plugging custom code into standard SAP source code at specific enhancement points or sections. Function group enhancements allow adding parameters and code to standard SAP function modules.

Uploaded by

Nagesh reddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Enhancement Framework: is the new technique provided by SAP for

enhancing SAP repository objects. As part of this, there are 4 types of


enhancements.

1. Source code enhancements

2. Function group enhancements

3. Class enhancements

4. Kernel BADI’s

Source code enhancements: It is the process of enhancing the standard SAP


source code by plugging customer specific source code. There are 2 types of
source code enhancements.

a) Implicit source code enhancements

b) Explicit source code enhancements

Implicit source code enhancements: In this, the enhancements can be done in


the source code of the standard SAP Repository objects and for this SAP has
provided the enhancement options at the following areas

a) Begin and end of Subroutines, F.M's, methods

b) At the end of Include programs and Report programs

c) Inside the events

d) At the end of Visibility sections in the local class definition


Explicit source code enhancements: In this, the enhancement options have to
defined and implemented by Developer itself. It exists in two forms

a) Enhancement point: supports multiple implementations

Syntax:

enhancement-point <point name> spots <enhancement spot name>.

b) Enhancement section: supports single implementation

Syntax:

enhancement-section <section name> spots <enhancement spot name>.

statements.

end-enhancement-section.

Note: Whenever we implement enhancement-section, the code between


enhancement-section and end-enhancement-section will be ignored and instead
it executes the code inside the implementation.

Note: To implement Source code, function group and class enhancements, the
object must be opened in enhanceable mode.

Function Group Enhancements: In this, we can enhance standard


function modules provided by SAP. As part of this, we can do following
enhancements

1. We can add additional parameters (Always Optional)


2. We can plug additional source code in the standard source code of the F.M
based on additional parameters.

You might also like