Badi Faq
Badi Faq
Definition View
Implementation View
Definition View : -
In the definition view, an application programmer predefined exit points in a source that
allow specific industry sectors, partners and customers to attach additional functionality
to standard SAP source code without having to modify the original object.
To find out the BADI definition
Transaction code : SE18.
BADI definition are Interface .
Implementation View :-
The users of Business Add-Ins can Enhance(customize) the logic they need or use a
standard logic if one is available.
To implement BADI
Transaction code : SE19.
BADI implementation are Class.
3. Types of BADI:
Within SAP
Multiple Use BADI.
Filter Depend BADI.
Custom BADI (Not used/Rarely used)
4. What is Single implementation BADI?
A BADI which has only one implementation (single class) is called single implementation
BADI.
It is type of BADI which has a filter value so that only those implementations which satisfy the
filter value are executed. The remaining implementations are not executed this type of BADI is
called a filter BADI.
7.Properties of BADI?
Within SAP
Multiple use
Filter-depend
8. Enhancement point
SAP has some standard functionality defined for a report , but it may be required that
you'll need to add your own code. In this case the code that you'll add will be executed along
with the standard code.
9. Enhancement section.
SAP has its standard functionality defines but it may not suit your requirement, in that
case you may need to add your code and you'll need that code to be executed only. By this
method the existing code is automatically commented and a copy of the same code is available to
edit.
After executing the report only your code will be executed and the standard code will be
bypassed.
The enhancement spots are used to manage explicit enhancement options. That means
you can add your code in standard ABAP code without need of access key, which implies that
the standard code is not disturbed. Enhancement spots specify the places where we can add our
code in standard SAP.
In the case of the static variant, addition TYPE is not declared. The static type of the reference
variable badi must be a BAdI . This determines which BAdI will be used.