Professional Documents
Culture Documents
Badidocument 130201090729 Phpapp02
Badidocument 130201090729 Phpapp02
Kernel-BAdI enhancement
A BAdI
is an anticipated point of extension these points act like sockets and exist
in the original source code.
is a predefined anchor for an Object PlugIn.
has a well-defined interface in contrast to source code plugIns and is
therefore more stable to changes in the original source code.
No active implementations:
o GET BADI is ignored while compiling
o CALL BADI just takes the time for a simple if-statement.
One active implementation
o Direct call of that implementation
Only implementations, that are switched on are considered.
Active Flag
o Only active implementations are considered
Obviously getting a new BAdI and calling its methods is much simpler
and needs less code.
The old classic-BADI used to mix both implementation selection and
method call in the same CALL METHOD statement. The implementations
could only be chosen at run-time because of the above reason and due to
the fact that the BADI handle could only be gotten from another method
call by passing the BADI name.
Whereas in the new Kernel-BADI, the active BADI implementations are
included into the load of BADI handle at compile time and the filter
criterion are expanded as IF statements. This is the reason the new KernelBADIs are much faster than classic-BADIs.
Once the BAdI has been created, it can be used inside the program using the
commands
GET BADI and CALL BADI.
Global Logic
SWITCH FRAMEWORK
The Switch Framework can be used to
Switch on industry solutions / Enterprise Add-ons
Develop new functions without affecting existing ones
Enhance delivered systems at partner and customer site in the context of the
enhancement framework with own functions