-
How to find the user exits for a particular screen or menu
Hello
Can anyone help me
I want to know how to find the user exits for a particular screen or menu
Just post me the process
Question asked by visitor suman
-
Junior Member
Re: How to find the user exits for a particular screen or menu
We can search for the enhancements for a particular transaction is by navigating to the program of the transaction code and searching for the term 'CALL CUSTOMER'.
or we can go to the transaction code 'smod' and search the exit accordigng to the package.
-
Junior Member
Re: How to find the user exits for a particular screen or menu
*&---------------------------------------------------------------------* *& report zuserexit *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* *report zuserexit. 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
-
Junior Member
Re: How to find the user exits for a particular screen or menu
this is the code for the program with this u can find out the userexits for the transaction code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules