cancel
Showing results for 
Search instead for 
Did you mean: 

user exit

Former Member
0 Kudos

Hi,

Pls give the answer of my problems,

What is the USER EXIT. Pls give the three examples of user exit in the real scenario.

pls help me.

Accepted Solutions (0)

Answers (4)

Answers (4)

Lakshmipathi
Active Contributor
0 Kudos

Dear pankaj

In simple terminology, User exits offer you the option of enhancing existing functions according to your personal requirements. User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. 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.

For example, during sales order processing, if you want to address a specific scenario which has not been addressed in standard, then you can apply the user exit as detailed below:-

User exits in the program MV45AFZZ - USEREXIT_FIELD_MODIFICATION - This user exit can be used to modify the attributes of the screen fields.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hello,

User Exits comes under enhancements:

Point in an SAP program where a customer's own program can be called. In contrast to customer exits, user exits allow developers to access and modify program components and data objects in the standard system. On upgrade, each user exit must be checked to ensure that it conforms to the standard system.

There are two types of user exit:

User exits that use INCLUDEs.

These are customer enhancements that are called directly in the program.

User exits that use tables.

These are used and managed using Customizing.

Examples:

1) USEREXIT_DELETE_DOCUMENT

This user exit can be used for deleting data which was stored in a separate table during sales document creation, for example, if the sales document is deleted

2) USEREXIT_MOVE_FIELD_TO_VBAP

Use this user exit to assign values to new fields at sales document item level.

Prase

Former Member
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.

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"

Former Member
0 Kudos

User exits are provided in various places through out the system in order to allow system modifications and enhancements. User exits allow developers to access and modify program components and data objects in the standard system.

There are 2 types of user exits

1 user exits that use includes

2 user exits that use tables

goto

IMGSALES AND DISTRIBUTIONSYSTEM MODIFICATIONS--USER EXITS

USER EXITS ARE AVAILABLE IN SD FOR THE FOLLOWING

User exits for price determination

user exits for partner determination

userexits for credit check & risk management

user exits in sales

user exits for sales doc processing

user exits for contract processing

user exits for product allocation

user exits for availability check

user exits for product selection

user exits for billing plans

user exits for shipping

user exits for transportation

user exits for sales support

and also search in this forum u will get a lot on this topic