Documente Academic
Documente Profesional
Documente Cultură
(http://w
ww.sap.c
Products
om/) (https://www.sap.com/products.html)
Industries (https://www.sap.com/industries.html)
Support Support (https://www.sap.com/support.html)
Community (https://www.sap.com/community.html)
Developer Partner
(https://www.sap.com/developer.html) Partner (https://www.sap.com/partner.html)
About (https://www.sap.com/corporate/en.html)
(https://sharedui.services.sap.com/v2/protected.html?ref=https://archive.sap.com/)
Home (https://www.sap.com) / Community (https://www.sap.com/community.html) / Archives (/) / Discussions + Actions
Archive (/discussions) / ABAP Switching, Enhancing, and Adapting Standard Programs
(/discussions/space/abap/switching-enhancing-and-adapting-standard-programs)
What is the difference between an exit and a user exit? When I run the program that is floating around (The
one that displays all <b>exits</b> for a tcode) I see many exits but not the <b>user exits</b> that we use.
This tells me that there is a difference between the exits in smod and the user exits. For instance, if I run the
https://archive.sap.com/discussions/thread/684598 1/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
However we are not using any of those. What I want to know is when do I use one of those verses using the
user exits in the include RV60AFZC. We are currently using USEREXIT_FILL_VBRK_VBRP.
Davis
(https://people.sap.com/aaron.shover2)
Correct Answer
(https://people.sap.com/mohanvamsi.krishna)
You question is all about the difference between USER EXIT and CUSTOMER EXIT.
User-exits(modifications)
USER EXITS are FORMS and are called by SAP standard programs using PERFORM.
Inside the form (user exit) you can read and change almost any global data from host program.
User exits are more flexible because you have more information to use in your code but on the other
hand , it is very easy to manipulate erroneously global data and lead the standard program to a dump
or even to make database inconsistent.
With user-exits the code , the developer has written will not be there for next version unless
modification assistance tool is used.
Customer-exits(enhancements)
CUSTOMER EXITS are FUNCTIONS so they are called using CALL FUNCTION (or more exactly
CALL CUSTOMER FUNCTION).
Inside a function (customer exit) you can only acces your import/export/changing/tables parameters.
Customer exits are more restrictive but you are sure any change you can make to any parameters will
never lead to inconsistency
As I can't put it in the form of table. Just map the same point in both exits.
- Mohan
0
View this answer in context (/discussions/message/4644007#4644007)
(https://answers.sap.com/questions/ask.html?primaryTagId=338571334339306322581424656448659)
https://archive.sap.com/discussions/thread/684598 3/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
6 replies
(https://people.sap.com/srinivas.r2)
Srinivas R (https://people.sap.com/srinivas.r2)replied
To find a Exit.
https://archive.sap.com/discussions/thread/684598 4/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
Thats it..
Suppose you need to find out all the user exits related to a
tcode.
Hope it helps.
Thanks,
Srinivas
0
likes
(https://people.sap.com/aaron.shover2)
Lundi Vox (https://people.sap.com/aaron.shover2)replied
Regards,
Davis
0
likes
https://archive.sap.com/discussions/thread/684598 5/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
(https://people.sap.com/srinivas.r2)
Srinivas R (https://people.sap.com/srinivas.r2)replied
The below are the include for the billing document user exits
apart from the available function module exits.
include rv60afzz.
include rv60afza.
include rv60afzb.
include rv60afzc.
include rv60afzd.
Thanks,
Srinivas
0
likes
(https://people.sap.com/aaron.shover2)
Lundi Vox (https://people.sap.com/aaron.shover2)replied
Thanks,
Davis.
0
likes
https://archive.sap.com/discussions/thread/684598 6/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
Correct Answer
(https://people.sap.com/mohanvamsi.krishna)
User-exits(modifications)
Inside the form (user exit) you can read and change almost
any global data from host program.
With user-exits the code , the developer has written will not be
there for next version unless modification assistance tool is
used.
Customer-exits(enhancements)
Customer exits are more restrictive but you are sure any
change you can make to any parameters will never lead to
inconsistency
https://archive.sap.com/discussions/thread/684598 7/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
As I can't put it in the form of table. Just map the same point in
both exits.
- Mohan
0
likes
(https://people.sap.com/aaron.shover2)
Lundi Vox (https://people.sap.com/aaron.shover2)replied
Davis
0
likes
Share & Follow
(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity)
(https://www.youtube.com/c/SAPCommunities) (https://www.linkedin.com/company/sap)
(https://plus.google.com/+SAPCommunities) (https://instagram.com/sap/) (http://www.slideshare.net/SAP)
https://archive.sap.com/discussions/thread/684598 8/9
8/9/2017 Difference between an exit (smod/cmod) and a user exit
https://archive.sap.com/discussions/thread/684598 9/9