Skip to Content

Why Enhancement-Section and Enhancement-Point techniques were introduced as explicit options

What could be the reason? Why enhancement-section/enhancement-point were introduced instead of leveraging the BAdI as a hook to enhance functionality.

Thank you!

Regards,
Balaji

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 07, 2018 at 07:17 AM

    If the question is what are the differences between explicit enhancement options and BAdI implementations, then the main one is that enhancement options allows adding code inside the enhanced program, while BAdI implementation is code outside the program, so in the first case you have access to all variables, local classes, etc. And of course, combined with the Switch Framework, the code may be inactive by default, and activated by switching on Business Functions.

    If the question is why they gave such a powerful possibility, similar to what standard code modifications are, then I can just presume that they wanted to give internal projects/partners the opportunity to extend the standard/build new solutions easily.

    Etc.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.