2007 Aug 13 9:44 AM
Hi all,
I am trying User-exit in CMOD.But i am not getting the purpose why we use User-exit.and how to use it?
Can anyone Explain Use-exit.
Thanks
Sanket Sethi
2007 Aug 13 9:48 AM
2007 Aug 13 9:48 AM
2007 Aug 13 9:49 AM
Hi,
SAP delivers a broad range of business functions within its R/3 application suite. The standard applications may not offer some of the functionality needed. The R/3 enhancement concept allows addition of ones own functionality to SAPs standard business applications.
SAP creates user exits for specific programs, screens and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the user exits act as hooks. One can hang his own add-on functionality onto these hooks.
The user exit is a point in a SAP program where a customers own program can be called. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.
There are three types of exits:
Menu Exits
Screen Exits
Function module Exits
MENU EXITS
1.Menu exits allow you to attach your own processes to action menu items. For this, the SAP applications programmer reserves certain menu entries in the GUI interface.
2.The Menu exit entries have function codes that begin with + (Plus sign).
3.Once you activate the menu exits, they become visible in the application. When the menu item is selected, either the functionality provided by the SAP applications programmer or your own functionality implemented in the program exit is processed.
Screen Exits
Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screens flow logic.
Function module Exits
1.Function module exits allow you, as customer, to implement additional logic in an application function. The SAP applications programmer defines where in the application function the function module exits are placed and which data is to be transferred. The programmer also creates the related function modules with short text, interface, and documentation and describes the intended functionality of the function module exit in the SAP documentation.
2.You code the function modules, and if needed the screens, text elements, and your own Includes for the function group.
3.After you activate the enhancement project that contains the function module as component the ABAP/4 code will be processed. Before that, the program exits have no effect.
Reward if it helps..
regards,
Omkar.
2007 Aug 13 9:49 AM
Hi Sanket sethi,
Generally, 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>
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
CUSTOMER EXITS-> t-code CMOD.
As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.
Among others, this enhancement technique has the advantage of
being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,
customer, and so on)
instead of a two-level landscape (SAP, customer) as with the customer exits.
You can create definitions and implementations of business add-ins at any level of the system landscape.
To unify enhancements of the SAP Standard you can migrate customer exits to business add-ins.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
Plz refer the following,
<b>In order to find out the user exits for any tcode,</b>
1. get the developement class of the tcode from SE93.
2. Now goto transaction SMOD and press F4,
3. give in the Deve class in the dev class and Press ENTER
this will show u the exits for any tcode.
or execute this report
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
<b>For information on Exits, check these links</b>
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