‎2006 Feb 03 9:02 AM
Hello Friends,
Can any body tell me how to find User-Exit of a perticular screen and to do modification in that screen.
Suppose if i want to display my own message during saving of a Sales Order in Va01 t-code.
Your help is Highly appreciated.
Thanx in Advance.
‎2006 Feb 03 9:12 AM
Hi jak
Follow the following steps.
goto the transaction va01. goto system menu and find the program (screen) name in the status.
then goto teh program in se38. then find the package in attributes in GOTO menu.
then goto txn smod there find you can find the user exit using the serach help.
in the search help give the package name. it will list the available user exits.
regards
kishore
‎2006 Feb 03 9:05 AM
Hi,
goto the program of that transaction code and find Customer-exit.
Or find the development class of the program and find the enhancements for the same development class in SMOD
for Sales are it is very easy
goto
SPRO-> Sales & Distribution -> System Modification -> User Exits.
‎2006 Feb 03 9:06 AM
Hi,
use the transaction SMOD or CMOD to find user-exit.
If you don't like to search, you could try to use the http://service.sap.com/notes and search the keywords va01 exit message ... sometimes it's quicker than the CMOD
Rgd
Frédéric
‎2006 Feb 03 9:08 AM
run this program n find requried user exits
REPORT zuserexit NO STANDARD PAGE HEADING.
*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
‎2006 Feb 03 9:12 AM
Hi jak
Follow the following steps.
goto the transaction va01. goto system menu and find the program (screen) name in the status.
then goto teh program in se38. then find the package in attributes in GOTO menu.
then goto txn smod there find you can find the user exit using the serach help.
in the search help give the package name. it will list the available user exits.
regards
kishore
‎2006 Feb 03 9:20 AM
Hi,
First get the Program Name for ur TCODE.
Then goto SE80-> Enter Program name -> search for FM
'customer-function'.
In that FM u get include where u can write ur own code.
Regards,
Digesh Panchal