Skip to Content
0

Distinguishing kernel badi with classical badi

Jan 02, 2017 at 12:07 PM

1.5k

avatar image
S D

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Suhas Saha
Jan 02, 2017 at 02:07 PM
1

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!

Share
10 |10000 characters needed characters left characters exceeded
Shyam Das Jan 03, 2017 at 03:14 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded