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: 

Question on userexit vs enhancement

Former Member
0 Kudos

I have a manual note to be implemented. However I have a user exit and also enhancement for that order.

One is manual changing the code with object or access key and other is by clicking enhance button in the SE38 program and perform implicit enhancement in the same userexit.

My question is which one is better choice among manual change of user exit or by clicking enhancement in the SE38 screen and putting the code in that user exit. please suggest standard SAP Practice.

3 REPLIES 3

matt
Active Contributor

Your question is confused. A manual change to code with object key is not a user exit. It is better to use an enhancement than a manual change. The order of preference to achieve functionality is (best to worst):

  • Configuration/Customer space code (i.e. Z*, Y*)
  • SAP supplied user exit/routine/badi/explicit enhancement
  • Enhancement
  • Manual change with object key
  • Clone/copy of SAP code.

Former Member
0 Kudos

Actually I meant to say SAP Supplied User Exit. In SAP Supplied User Exit, if you want to put the code we need to have a object key. Correct?. Once we use object key it is like making changes to SAP Standard code and will be an issue during upgrade. Otherway is to put enhancement there. Please correct me if I am wrong

Is there any reason you can't just share the note number? And if there are specific instructions in the note then why is this a question?

Making advance corrections using object keys does not cause any issues with the upgrade (at least I don't perceive clicking two buttons as "issue"). Neither do "approved modifications" like SD user exits (MV45AFZZ & Co).