cancel
Showing results for 
Search instead for 
Did you mean: 

How we identify the User Exists

Former Member
0 Kudos

please give me the help

Accepted Solutions (0)

Answers (5)

Answers (5)

ravi_kumar100
Active Contributor
0 Kudos

Hi,

Add this link to ur favourites and you will be comfortable with user exits.

http://sapass.metro.client.jp/UserExit/

REgards,

R.K

Lakshmipathi
Active Contributor
0 Kudos

Dear ramsuresh

check the link

[User Exit |http://help.sap.com/saphelp_46c/helpdata/en/4a/5b75387be80518e10000009b38f889/frameset.htm]

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear Ramsuresh,

Use transaction code CMOD. Go to menu Utilities -> SAP enhancements.

In the field Exit name put an *, in the maximum number of hits enter value like 2000, then execute.

Then you can see all the user exits.

Generic information on 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 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"

Hope this helps you.

Do let me know in case of any queries.

Regards,

Rakesh

Former Member
0 Kudos

Thanks for the infermation this will helpfull to me

do you have amy infermation regarding adding a new tab and new field in the sales doc OR

Please give me the infermation

Former Member
0 Kudos

Hi

T Code SMOD -

Former Member
0 Kudos

Hi Ramsuresh,

The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As is usual in the SAP world, the later the version of SAP you are using, the more exits are available.

Refer to the following links.

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.erpgenie.com/abap/code/abap26.htm

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

Reward if helpful.

Regards,

Mandeep