Skip to Content
author's profile photo Former Member
Former Member

USER EXITS

HI GOOD MORNING TO ALL

i want to know the purpose of the user exits.

i want to know each and every indivisal functionality of the each user exits( we have different types of the user exits in sap those iam asking indivisally). if possbile with smalll examples.

mahi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 12, 2007 at 04:21 AM

    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 <3 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 i 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"

    Fast Links:

    A program to help find the user exits of a transaction quickly

    Finding" target="_blank">http://www.sap-img.com/ab038.htm">Finding the user-exits of a SAP transaction code

    FAQ on User Exits

    Field" target="_blank">http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm">Field exits (SMOD/CMOD) Questions and Answers

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2007 at 04:25 AM

    Hi,

    User exits are predefined INCLUDE's which SAP provides and will not touch them later, customers can provide their code in these include's.

    But these are now obsolete concepts as they have disadvantages that they can be used only once that is no multiple implementation possible so we use customer exits.

    Following are the type of customer exits.

    Function exits (Fncion module exits)

    Screen ecxits (To modify the screens)

    Menu Exits (To add new menu entries).

    Field exits (To provide some functionalify on screen fields).

    See the link

    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm

    Regards,

    Sesh

    /

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.