Skip to Content

Can we agree that implicit enhancments are better performance-wise than user exits?

Can we agree that implicit enhancments are better performance-wise than actual user exits?

My argument here is simple:

1) user exits (except in SD) are implemented in actual function modules

2) therefore, since ALL machines known to man are STILL single-stack, a user exit forces a machine to execute an old-fashioned "branch and link" to switch from the stack it's executing to a stack for the function module;

3) even though machines are very fast these days, there is a measurable performance hit from this "branch and link" (remember, memory has to be swapped as well as the stack)

4) no such peformance hit is incurred by implicit enhancements, because they execute in-line within a stack that SAP is already executing.

Yes? You agree?

If not why not?

(And again - please don't tell me that machines are so fast these days that it doesn't matter. If a performnce hit can be measured, then it matters.)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2016 at 09:57 PM

    I think you are right because I know SAP changed the BADI technology framework between versions (old/new BADI) due to performance issues. That being said as you know with modern compute resources you would need a N to be extremely to benefit from any retrofit optimizations to make up for the time consumed.

    The biggest problem right now is that unless we need "legacy code" bound by a performance metric, the cost of programmer time is still way too expensive compared to machine time. In addition the regression testing cost of legacy code might outweigh any business productivity gains. I'm not sure for existing user-exits I would want to convert to implicit enhancements unless I'm redoing business requirements or green-field. In addition much code in user-exits could have been built as a BRF+ rule instead which may lead to some decreased performance but allow us to eliminate the hard coding of specific business logic.

    So I guess my ideal world would be a implicit enhancement invoking a BRF+ rule to replace my user exit logic or the actual ideal is that business would adopt the standard process as provided in the system instead.

    Take care,


    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.