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

exits

Former Member
0 Likes
728

Hi ,

Can anybody tell me how to find exits for a particular transaction . Is it poosible to find exits for a particular screen.

Bye.

6 REPLIES 6
Read only

anversha_s
Active Contributor
0 Likes
697

hi,

n order to find out the user exits for any tcode,

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>pls mark points o all helpful answers</i></b>

Message was edited by: Anversha s

Read only

gopi_narendra
Active Contributor
0 Likes
697

goto SE93 find the dev class

now go to SMOD press F4 give the dev class and press ENTER

this will givev the exits for a tcode

Check this thread my reply

<b>

Regards

- Gopi

Message was edited by: Gopi Narendra

Read only

Former Member
0 Likes
697

Below is the code:

&----


*& Report ZUSEREXIT *

*& *

&----


*& Finding the user-exits of a SAP transaction code *

*& *

*& Enter the transaction code in which you are looking for the *

*& user-exit and it will list you the list of user-exits in the *

*& transaction code. Also a drill down is possible which will help you *

*& to branch to SMOD. *

&----


REPORT zuserexit NO STANDARD PAGE HEADING.

TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.

TABLES : tstct.

DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.

DATA : field1(30).

DATA : v_devclass LIKE tadir-devclass.

PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.

SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.

IF sy-subrc EQ 0.

SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'

AND object = 'PROG'

AND obj_name = tstc-pgmna.

MOVE : tadir-devclass TO v_devclass.

IF sy-subrc NE 0.

SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.

IF trdir-subc EQ 'F'.

SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.

SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.

SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'

AND object = 'FUGR'

AND obj_name EQ enlfdir-area.

MOVE : tadir-devclass TO v_devclass.

ENDIF.

ENDIF.

SELECT * FROM tadir INTO TABLE jtab

WHERE pgmid = 'R3TR'

AND object = 'SMOD'

AND devclass = v_devclass.

SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu

AND tcode EQ p_tcode.

FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.

WRITE:/(19) 'Transaction Code - ',

20(20) p_tcode,

45(50) tstct-ttext.

SKIP.

IF NOT jtab[] IS INITIAL.

WRITE:/(95) sy-uline.

FORMAT COLOR COL_HEADING INTENSIFIED ON.

WRITE:/1 sy-vline,

2 'Exit Name',

21 sy-vline ,

22 'Description',

95 sy-vline.

WRITE:/(95) sy-uline.

LOOP AT jtab.

SELECT SINGLE * FROM modsapt

WHERE sprsl = sy-langu AND

name = jtab-obj_name.

FORMAT COLOR COL_NORMAL INTENSIFIED OFF.

WRITE:/1 sy-vline,

2 jtab-obj_name HOTSPOT ON,

21 sy-vline ,

22 modsapt-modtext,

95 sy-vline.

ENDLOOP.

WRITE:/(95) sy-uline.

DESCRIBE TABLE jtab.

SKIP.

FORMAT COLOR COL_TOTAL INTENSIFIED ON.

WRITE:/ 'No of Exits:' , sy-tfill.

ELSE.

FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.

WRITE:/(95) 'No User Exit exists'.

ENDIF.

ELSE.

FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.

WRITE:/(95) 'Transaction Code Does Not Exist'.

ENDIF.

AT LINE-SELECTION.

GET CURSOR FIELD field1.

CHECK field1(4) EQ 'JTAB'.

SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).

CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

*---End of Program.

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

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

http://www.planetsap.com/userexit_main_page.htm

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
697

Hi Neetesh Shrivastava ,

<b>Exits :</b>

Exits are the extra points given by the application developers for the customers to include their own business logic to fulfil the business requirement ....

<b>Finding of Exits :</b>

1. On which screen u want to know whether there is an exit or not... go to that screen / tcode and in the menu path System --> Status .. get the Program Name ..

2. Double click on the Program Name (which goes into the program ....) and

3. Click on the "Search/Find" button in the standard toolbar and find for the keyword "CALL CUSTOMER-FUNCTION"..

If there are any results then u will come to know that there are exit provisions for that tcode

4. get the Function module name and go to SE84 (repository information browser) Click on Enhancments node --> Customer Exits --> Enhancements and give the Function module name in the Selection screen called "Component name" (which u can see by expanding the selection criteria ... then if u press F8 (execute) u can see the list of Exits .... from which u can select the Exit u want (either from then description / from the input and o/p parameters u can get that )

Hope this helps ....

Cheers

Kripa Rangachari ....

Message was edited by: Kripa Rangachari

Read only

Former Member
0 Likes
697

set break-point in FM MODX_FUNCTION_ACTIVE_CHECK VIA se37, when we run the TCode, check the contents of the field 'l_funcname'.

Best Regards,

Edgar

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
697

Hi,

One simple way is to navigate to the program of the TCODE (Goto System->status). In the program you search for CALL CUSTOMER or CL_EXIT_HANDLER and also you can search for exit . This will give you an initial idea if at all there is any exit in the program.

Regards,

Sesh