Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to implement User Exit.

Former Member
0 Likes
35,210

Hi Gurus,

I am new to User Exit..

Can you tell me in detail as to how to implement a user-exit for a Tcode.

Regards,

Navin

1 ACCEPTED SOLUTION
Read only

Former Member
19,519

Hi,

The purpose of SMOD is to find User Exits.

Once we find the user exits, We go to CMOD. The purpose of the CMOD is to register what we are going to do in the particular enhancement. So, at the time of up gradation it will be easy to retain the code.

1.first goto CMOD give project name

2.click on Create.

Now in the next screen , click on Save and then on u201CEnhancement assignments)

3.Now enter your enhancement name, click on Save and then on u201CComponents

4.Now double click on the required function exit

5.just write the logic for requirment

6.save and activate

Regards,

Madhu

5 REPLIES 5
Read only

Sm1tje
Active Contributor
0 Likes
19,519

Before posting, try to do a search on SCN. You are bound to find loads and loads of info on this. But let me get you started with this link from help.sap.com:

[Enhancements|http://help.sap.com/saphelp_nw70/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm]

Read only

Former Member
0 Likes
19,519

Hi,

Please search in SDN with subject USER EXIT.

You will get your answer.

You can follow the below thread:-

[]

Regards

Sandipan

Read only

Former Member
0 Likes
19,519

hi

Userxits allow us to add our own functionality to SAP standard program

without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.

Do the below steps to get the user exits and see what exactly meets your requirement.

Get the Dev Class / Package of any Transaction code

Go to transaction SMOD , Press F4

Give in the Dev Class / Package, Press Enter

This gives the User Exits for any transaction

Goto SE84 --> Envir. --> Exit Techniques --> Business Add-ins --> Definitions

Give the Dev Class / Package and Press Enter

You will get the User Exits / BADIs' for a tcode

also try

http://help.sap.com/saphelp_erp2005vp/helpdata/en/91/459e3b891da20ee10000000a114084/frameset.htm

http://sap.niraj.tripod.com/id21.html

regards

sateesh

Read only

Former Member
19,520

Hi,

The purpose of SMOD is to find User Exits.

Once we find the user exits, We go to CMOD. The purpose of the CMOD is to register what we are going to do in the particular enhancement. So, at the time of up gradation it will be easy to retain the code.

1.first goto CMOD give project name

2.click on Create.

Now in the next screen , click on Save and then on u201CEnhancement assignments)

3.Now enter your enhancement name, click on Save and then on u201CComponents

4.Now double click on the required function exit

5.just write the logic for requirment

6.save and activate

Regards,

Madhu

Read only

Former Member
0 Likes
19,519

Thanx for the reply,

My Query is resolved..!