cancel
Showing results for 
Search instead for 
Did you mean: 

what is user exit in MM?

Former Member
0 Kudos

is there any difference between user exit and enhancement? does a end user raise a ticket for user exit? please help

Edited by: sherlyn chopra on Oct 1, 2008 4:36 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member335885
Active Contributor
0 Kudos

What is and how user exits can be used?

What is the transaction code to see all available user exits?

Method of using this?

User exit jus nothing but just a code ....which is not provided the standard sap system..but function could be added later into the code ..this is done by abap people...

User exit is a place where we can write our own logic inside SAP programs. Instead of modification of SAP code, we can place our custom logic in User Exit.

There are three types of User exits:

1. Function Exits

2. Menu Exits

3. User Exits

Finding User Exits:

1. Take VA03 as example. Go to System status; select the program (double click); Find by the key word u2018Call Customer-functionu2019; Double click on the u2018Call Functionu2019 to go to the code; Double click on the customer function no.

It will take to the function exit in which SAP provides a Include program, where we can write down our own logic.

2. Run transaction SE84 and click on u2018Enhancementu2019 on left screen. Then click on u2018Customer Exitsu2019. Then double click on u2018Enhancementsu2019.

3. In transaction CMOD, type the name of your project and press the CREATE pushbutton; Once you SAVE your project, you can add as many enhancements as you want by pressing the SAP enhancements pushbutton; Add the enhancements

you want to add to the Project.

4. There are some exit provided by SAP in the program as subroutines. For example, go to transaction VA02; Double click on the program. It will take to the program; Some includes are provided by SAP as user exit. Double click on the include name, then it will take inside the include. Double click on MV45AFZZ (Program)include; Here we have different forms which acts as user exits. In these forms we can include our custom logic

5. Open the program through SE80 transaction; Click on the u2018Screenu2019 and all the available screens will be displayed. Then search if any Exit screen is available. Normally short text of the screen gives an idea whether Exit screen or not.

6. Finding BADIs : Double click on the u2018Programu2019; Search by string u2018cl_exithandler=>get_instanceu2019

;Search result is displayed. Double click on any one in the list.

http://www.sap-basis-abap.com/abap/difference-between-user-exits-screen-exits-field-exits.htm

http://www.sap-basis-abap.com/pm/user-exits-in-sap-pm.htm

http://www.sap-basis-abap.com/sapab013.htm

for eg:

BAPI_INCOMINGINVOICE_CANCEL Invoice Verification: reverse invoice

BAPI_INCOMINGINVOICE_CREATE Invoice Verification: Post Invoice

BAPI_INCOMINGINVOICE_GETDETAIL Invoice Verification: display invoice

BAPI_INCOMINGINVOICE_GETLIST Invoice Verification: List Invoices

BAPI_INCOMINGINVOICE_PARK Invoice Verification: Park Invoice

BAPI_INCOMINGINVOICE_RELEASE Invoice Verification: release invoice

BAPI_INCOMINGINVOICE_SAVE Invoice Verification: Flag Invoice for Background Processing

Thanks & Regards,

Kiran

Answers (2)

Answers (2)

kunal_ingale
Active Contributor
0 Kudos

hi

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

enhancements are nothing but the changes made to std SAP system

u can use user exit or badi or substitutions(fi-co module) for enhancement

refer following links

http://www.sourceveda.com/page4.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d2316743c611d182b30000e829fbfe/content.htm

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

kunal

Former Member
0 Kudos

Enhancements are "enhancements" made to the system and includes forms, screens and user exits. In other words, user exit is one of the various types of enhancements in SAP.

Typically, in support, the end user will create ticket for a requirement or a problem- not for user exit, etc. The support team decides whether user exit will suffice and if yes, which user exit.

Hope this answers,

Lakshman