Tuesday, August 23, 2016

Interview questions on BADI

Ways to Find a BADI

- Through Trace ST05 - V_EXT_IMP and V_EXT_ACT , these two views will hold the values of BADIs and its interfaces called during an execution of a Tcode / Program


2. Go to Se24 in CL_EXITHANDLER , place a breakpoint in its method GET_INSTANCE, everytime a BADI is called this class will be called .

3. Go to the program for which you need to find the BADI , search for the term CL_EXITHANDLER=>GET_INSTANCE and place a break-point

4. For NEW BADI search for the term CALL BADI

--- Difference between BADI and Customer Exit

BADI
Customer-exit
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects.
CUSTOMER EXITS (enhancements) are FUNCTIONS so they are called using CALL FUNCTION (or more exactly CALL CUSTOMER FUNCTION
Badi’s allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Business Add-Ins can be created at each level within such a system infrastructure
Customer exits assumes a two-level infrastructure (SAP and customer solutions)
Some BADI can have multiple independent implementations, which is much better for software deployment as several developers can implement the same BADI independently.
Customer-exit implemented in one project cannot be implemented in other.

No comments:

Post a Comment