Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to understand Default implementation in Enhancement spot(Multiple use)

0 Kudos

Hi Abapers,

We are having some issue in Enhancement spot (Default Implementation).

This is Multiple use BADI,initially we have created one implementation and enabled as default and moved to Quality system. After that we have created another implementation as non-default.

Default implementation got deactivated while activating Non-default Implementaion and while triggering program default implementation not yet triggered.

Need to know purpose of Default Implementation.

Also when do we need to make Default Implementation in enhancement spot .

Thanks,

Rajesh

1 ACCEPTED SOLUTION

former_member1716
Active Contributor

rajeshkumar01,

Default implementations are the one which will be called when there are no active implementations exist, in your case since you have created an active implementation there is no purpose in accessing the default implementation class which makes sense.

In case you wanted to another implementation then you should create a new as it is multiple use, in that case both of your Non default implementations will be called.

Please note that you should not change change the default implementation as it is only for SAP use.

Ground rule there can be only default implementation existing and it will be only called when there are no active implementations, if there are other active non default implementations the the default one need not be called.

You can follow the LINK for more details, below screen shot is from SAP portal.

Regards!

1 REPLY 1

former_member1716
Active Contributor

rajeshkumar01,

Default implementations are the one which will be called when there are no active implementations exist, in your case since you have created an active implementation there is no purpose in accessing the default implementation class which makes sense.

In case you wanted to another implementation then you should create a new as it is multiple use, in that case both of your Non default implementations will be called.

Please note that you should not change change the default implementation as it is only for SAP use.

Ground rule there can be only default implementation existing and it will be only called when there are no active implementations, if there are other active non default implementations the the default one need not be called.

You can follow the LINK for more details, below screen shot is from SAP portal.

Regards!