Skip to Content
avatar image
Former Member

Distinguishing kernel badi with classical badi

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 02, 2017 at 02: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!

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 03, 2017 at 03: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

    Add comment
    10|10000 characters needed characters exceeded