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

user exit

Former Member
0 Likes
2,109

how do i create a user exit for a certain transaction

6 REPLIES 6
Read only

Former Member
0 Likes
556

Hi Willard,

Execute the transaction CMOD.

Give a project name.

Press create button and then give the short text..

Press "Enhancement assignments" in the application toolbar..

It will prompt you to save the project..

Save it..

THen in the "Enhancement assignments" screen give the enhancement name..

Then go to the initial screen of cmod..

Press the "activate project" button or CTRL + F3..

This will actiavate your user exit code..

Find some more link:

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

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

http://www.sap-img.com/abap/what-is-user-exits.htm

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

http://www.easymarketplace.de/userexit.php

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

http://www.sappoint.com/abap/userexit.pdf

Reward points if this Helps.

Manish

Read only

Former Member
0 Likes
556

Hi

Do you want to make use of an user exit? Or do you want to provide user exit?

I assume, you want to make use of an user exit. In this case, you are nothing to do with CMOD.

Function exit, menu exit and screen exit are only enhancements but not user exit. <b>User exit is almost a modification</b> (because you are writing something in SAP area) <b>where SAP provides an empty routine where you can mention your INCLUDE name and write coding your include. To do that you need SAP Modification Key.</b>

The difference between the actual modifications in SAP programs and user-exit modifications is - at the time of update SAP will ignore this area.

Regards

Surya.

Read only

Former Member
0 Likes
556

User exits



SAP standard applications cannot be changed. But wherever SAP provided the uses to change the standard logic, those are called ‘Customer Enhancements / User Exits’. (Small Codes)


Types of User Exits:


1. Menu Exit
2. Screen Exit / Field Exit
3. Function Exit
4. Program Exit

Working Process:


· User exit identification:
TCode: SMOD
· If you know the enhancement, enter it and make some changes.
· If you don’t know the enhancement :
Goto Environment à Application Hierarchy à SAP
· We can see all the modules in SAP.
Select a module à Goto Edit à Select Subtree +/-
Select the Module/Package à Goto Environment à Repository Info system àSelected Packages (SE81)
· You will go to the Object Developer Screen.
· Goto Objects à Enhancements à User Exits à
Enhancement – double click
· Execute the search (F8)
· Check for the required exit and Goto the FM inside it and write a small code in the Include Program.
· Now our exit is ready for execution
(Or)
Goto SE80 and enter the TCode for which u want the exit and scroll down the screens and FMs somewhere the possible exits will be mentioned.


·

Activating the Exit

TCode: CMOD

· Here create a project à give small Description

· Here we have to enter our enhancement and activate the project.

Award points if helpful,

Thanks

Aneesh

Read only

anversha_s
Active Contributor
0 Likes
556

Hi

<b><i>in order to find out the user exits for any tcode,</i></b>

1. get the developement class of the tcode from SE93.

2. Now goto transaction SMOD and press F4,

3. give in the Deve class in the dev class and Press ENTER

this will show u the exits for any tcode.

or execute this report

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

which gives the list of exits for a tcode

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

For information on Exits, check these links

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

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

http://www.sap-img.com/abap/what-is-user-exits.htm

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

http://www.easymarketplace.de/userexit.php

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

http://www.sappoint.com/abap/userexit.pdfUser-Exit

rgds

Anver

<b><i>if hlped pls mark points</i></b>

Read only

Former Member
0 Likes
556

Have a look at below link. It will give you steps to create the user exits.

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

Best Regards,

Vibha

*Please mark all the helpful answers