on 05-15-2008 11:19 AM
HI
Can any one tell me what is the use of userexit..... MV45AFZB. How do i see this in SPRO
How do it work and what is exact use of this.
Regards
ajoy
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajoy,
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 implemented as a call to
a function module. The code for the function module is written 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 function module exits is: EXIT_<program name><3
digit suffix>
The call to a function module exit is implemented as: CALL CUSTOMER.-FUNCTION ❤️ digit suffix>
Example:
The program for transaction VA01 Create sales order is SAPMV45A
If you search for CALL CUSTOMER-FUNCTION 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 Utilities->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 enhance transaction 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 all ready 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.
Go to transaction VA01 and create a sales order. Note that Sold-to-party now automatically is "2155".
I hope this will be helpful for you.
Reward points if useful.
I explained with an example in SD module. But as per your requirement GOTO se38 and find the relevant user exits for that and there you can modify the code. Actually you require a access key for doing that.
Cheers,
Swamy Kunche
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
A User Exit is a deviation from standard SAP functionality as required in certain scenarios.
in order to view this userexit (MV45AFZB) use tcode se38 and it will directly take you to the user exit.
otherwise, you need to know what module the userexit belongs to and then in spro
goto modifications and under that user exits...
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.