01-02-2017 12:07 PM
Hi All,
I am getting a list of kernal badis and classic badis from cl_exit handler class.
but can anybody guide me how to distinguish between kernal badi and classical badi as approach for these badis implementation is different.
Regards,
SD
01-02-2017 2:07 PM
I am getting a list of kernal badis and classic badis from cl_exithandler class.
You don't need the cl_exithandler class to instantiate the Kernel BAdIs, rather the GET/CALL BADI statements!
01-03-2017 3:14 PM
As Suhas mentioned there is a difference in the way these BADI 's are called.
Classical BADI was good with OO but later SAP & Customers figured out that calling CL_EXITHANDLER and hitting the DB was slowing down the system so SAP thought of migrating this to Kernal level and hence the name.
Kernel BADI will have an enhancement spot(enhancement framework) and the definition will be attached to this Enh Spot. We can create several implementation if its allowed as per the BADI definition.
SAP is migrating the classic BADI's to Kernel BADI's with each new support pack.
BR/Shyam