04-26-2007 7:49 AM
hi,
i dont know what an user exit is please give me a clear idea about it, where it is used , how can we get advantage using it in our program.
04-26-2007 7:53 AM
Hi, have a look at following site.
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm
Regards,
Balakrishna.N
04-26-2007 7:52 AM
Hi, have a look at following site.
Message was edited by:
balakrishna nagabhairu
04-26-2007 7:53 AM
Hi, have a look at following site.
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm
Regards,
Balakrishna.N
04-26-2007 7:53 AM
Hi,
Check these links on User Exits
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.easymarketplace.de/userexit.php
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
http://sap.ittoolbox.com/documents/popular-q-and-a/debugging-a-user-exit-or-program-3022
http://help.sap.com/saphelp_nw04/helpdata/en/81/8c5738ee806b0ee10000009b38f889/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
Regards,
Ram
Pls reward points if helpful
04-26-2007 7:53 AM
Hi
User exits are nothing but the enhancements to Std SAP functionality.
see the links:
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.planetsap.com/userexit_main_page.htm
reward points
regards,
Anji
04-26-2007 7:53 AM
hi Gokul,
User Exits or Enhancement s are meant only for standard programs.
Using user exit u can add your own logic to a standard SAP Screen.
regards,
Navneeth.K
04-26-2007 7:56 AM
Hi Gokul,
For example if you want to add validation to a field in standard SAP code u create a field exit and assign that field exit to that tcode. once that tcode is used thies field exit will be fired. In this field exit u can write a code for validating that field.
SAP has provided exits for adding some extra functionality to the existing standard screens .
regards,
Navneeth.K
04-26-2007 7:53 AM
Hi Gokul,
<b>Plz find the explanation abt user-exit below</b>
User exits :
1. Introduction
2. How to find user exits
3. Using Project management of SAP Enhancements
1. Introduction:
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<program name><3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION ❤️ digit suffix>
Example:
The program for transaction VA01 Create salesorder is SAPMV45A
If you search for CALL CUSTOMER-FUNCTION i program
SAPMV45A you will find ( Among other user exits):
CALL CUSTOMER-FUNCTION '003'
exporting
xvbak = vbak
xvbuk = vbuk
xkomk = tkomk
importing
lvf_subrc = lvf_subrc
tables
xvbfa = xvbfa
xvbap = xvbap
xvbup = xvbup.
The exit calls function module EXIT_SAPMV45A_003
2. How to find user exits?
Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
If you know the Exit name, go to transaction CMOD.
Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
You will now come to a screen that shows the function module exits for the exit.
3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .
- Go to transaction CMOD
- Create a project called ZVA01
- Choose the Enhancement assign radio button and press the Change button
In the first column enter V45A0002 Predefine sold-to party in sales document.
Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
Press Save
Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
Now the function module is displayed. Double click on include ZXVVAU04 in the function module
Insert the following code into the include: E_KUNNR = '2155'.
Activate the include program. Go back to CMOD and activate the project.
Goto transaction VA01 and craete a salesorder.
Note that Sold-to-party now automatically is "2155"
<b>Reward points if it solves ur query or answer is helpful</b>
Thanks
Chinmay
04-26-2007 7:55 AM
Hi!
User exits are used for customizing the standard transactions by the wish of the user.
In most common they can be used for checking field entries (filled or not), data consistency (for example if field1 contains "A", then field2 has to be "B") and so on.
We can say it is used for everything, what the standard SAP cannot provide.
You can implement user exits using transaction CMOD (within a project), or check them using transaction SMOD.
Regards
Tamá