In This Blog We Will Discussed About What Is Instance Generation Modes in Kernel BADI And Creation of 3 Types of Mode.
Instance Generation Mode:-
Definition:-
This property controls the instantiation of the object plug-ins during execution of the statement GET BADI. The following are possible specifications:
Types:
Newly created instantiation Reused instantiation Context-dependent instantiation
Use:
The first two specifications define context-free BAdIs. In the case of the newly created instantiation, new object plug-ins are created at each execution of the statement GET BADI. In the case of reused instantiation, an object plug-in that was used once in the current internal mode is reused – if it is required more than once.
In the case of context-dependent instantiation, a context must be specified for GET BADI . This context controls instantiation. Only one object plug-in is created for each context and implementing class. Each time there is another GET BADI with the same context, it is reused. A context is an instance of a class that implements the tag interface IF_BADI_CONTEXT. The specification takes place in the form of a reference to such an instance.
In This Blog We Will Discussed About What Is Instance Generation Modes in Kernel BADI And Creation of 3 Types of Mode. Instance Generation Mode:- Definition:- This property controls the instantiation of the object plug-ins during execution of the statement GET BADI. The following are possible specifications: Types: Newly created instantiation Reused instantiation Context-dependent instantiation Use: The first two specifications define context-free BAdIs. In the case of the newly created instantiation, new object plug-ins are created at each execution of the statement GET BADI. In the case of reused instantiation, an object plug-in that was used once in the current internal mode is reused – if it is required more than once. In the case of context-dependent instantiation, a context must be specified for GET BADI . This context controls instantiation. Only one object plug-in is created for each context and implementing class. Each time there is another GET BADI with the same context, it is reused. A context is an instance of a class that implements the tag interface IF_BADI_CONTEXT. The specification takes place in the form of a reference to such an instance. Read More Application Development Blog Posts articles
#SAP
+ There are no comments
Add yours