<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: user-exits in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896932#M681055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out userexits for a perticular transaction by the follwing way,&lt;/P&gt;&lt;P&gt;User exits are maintained for a Package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose you have a tcode, then in the menu bar, go to      &amp;lt;b&amp;gt;System&lt;DEL&gt;-&amp;gt;Status&lt;/DEL&gt;--&amp;gt;get the program name of the tcode &amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;2.  then go inside the program, then menubar &amp;lt;b&amp;gt;Go to--&lt;DEL&gt;&amp;gt; Attributes&lt;/DEL&gt;--&amp;gt;get the Package name of the program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;3. then open tcode &amp;lt;b&amp;gt;SMOD&amp;lt;/b&amp;gt; and press F4 option on the Enhancement field&lt;/P&gt;&lt;P&gt;4. A pop-up will come there you have the &amp;lt;b&amp;gt;Package&amp;lt;/b&amp;gt; filed....enter the Package name there.&lt;/P&gt;&lt;P&gt;5. then click Enter. you will get a no. of possible user exits for the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhawani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        BHAWANI SHANKAR MOHANTY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 08:53:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T08:53:40Z</dc:date>
    <item>
      <title>user-exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896930#M681053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to find a user exits in program..&lt;/P&gt;&lt;P&gt;suppose we have transaction, by using that how can i get a user exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;pandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 07:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896930#M681053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T07:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: user-exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896931#M681054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   There are many ways to find user exits in the standard transaction.....go through these steps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Locating User Exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you can add functionality to a SAP system, you need to be able to locate the appropriate      user exits. SAP has provided around 2000 user exits.&lt;/P&gt;&lt;P&gt;In this document, we will cover a couple of methods to accomplish this task:&lt;/P&gt;&lt;P&gt;	Searching from transaction CMOD&lt;/P&gt;&lt;P&gt;	Searching from the Application Hierarchy&lt;/P&gt;&lt;P&gt;	Making your own customized search&lt;/P&gt;&lt;P&gt;Keep in mind that you must first search for an enhancement.  Once you find an enhancement, you can display its components -- the actual user exits. Then you need to include the enhancement containing the required user exit as a component in your own project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method #1: Using Transaction CMOD &lt;/P&gt;&lt;P&gt; 	- Transaction CMOD contains search functionality to help locate enhancements.&lt;/P&gt;&lt;P&gt;	- Selecting the "Utilities -&amp;gt; SAP enhancements" menu path in transaction CMOD will take you 	  to an enhancement selection screen (see graphic above).&lt;/P&gt;&lt;P&gt;	- You can limit the search for enhancements based on:&lt;/P&gt;&lt;P&gt;		Enhancement name&lt;/P&gt;&lt;P&gt;		Development class&lt;/P&gt;&lt;P&gt;	-  After clicking on the &amp;#145;Execute&amp;#146; pushbutton (or &amp;#145;F8&amp;#146;) on the selection screen, the system will  	  display a listing of the development classes that contain enhancements (see graphic above).&lt;/P&gt;&lt;P&gt;	-  From this listing, you can double-click a development class to display its enhancements.&lt;/P&gt;&lt;P&gt;	-  If you have clicked on the &amp;#145;Display components&amp;#146; pushbutton on the selection screen (see 	  graphic on previous page), the components of each enhancement will automatically be 		  displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Remark: To use this search method one must either know the part of the enhancement name 	or the development class. But if one looks at SAP&amp;#146;s naming convention for user exits (see note 	below), the screen numbers/program names/ function codes/etc are contained in the 		components name and there is no scope for that in selection options.&lt;/P&gt;&lt;P&gt;	Also one cannot restrict the search to only one type of exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method #2:  Using SAP Application Hierarchy&lt;/P&gt;&lt;P&gt;	-  Selecting the "Overview -&amp;gt; Applic. hierarchy -&amp;gt; SAP" menu path in the ABAP/4 Development 	  Workbench will take you to a listing of all standard SAP applications and components (see 	  graphic above).&lt;/P&gt;&lt;P&gt;	-  To locate a user exit for a particular application, follow these steps from the SAP Application 	  Hierarchy:&lt;/P&gt;&lt;P&gt;	-  Select the appropriate application by single clicking on it.&lt;/P&gt;&lt;P&gt;	-  Choose the "Edit   Sel./desel. subtree" menu path.&lt;/P&gt;&lt;P&gt;	-  Click on the &amp;#145;Repository Infosys.&amp;#146; pushbutton.&lt;/P&gt;&lt;P&gt;	-  This will take you to the ABAP/4 Repository Information System.&lt;/P&gt;&lt;P&gt;	-  Double click on the &amp;#145;Environment&amp;#146; branch.&lt;/P&gt;&lt;P&gt;	-  Double click on the &amp;#145;Customer enhancement&amp;#146; branch.&lt;/P&gt;&lt;P&gt;	-  Double-click on the &amp;#145;Customer exit&amp;#146; branch.&lt;/P&gt;&lt;P&gt;	-  This will take you to the customer exit (or enhancement) selection screen with the appropriate 	   development class for the application selecting on the Application Hierarchy.&lt;/P&gt;&lt;P&gt;	-  Click on the &amp;#145;Execute&amp;#146; pushbutton.&lt;/P&gt;&lt;P&gt;	-  This will take you to a listing of all enhancements that meet the selection criteria.&lt;/P&gt;&lt;P&gt;	  From this listing, you can display the components of each enhancement and the 			  documentation.  You will be taken automatically to transaction SMOD from the ABAP/4 		  Repository Information System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Remark: To use this one must have knowledge about the application hierarchy to which that 	particular enhancement belongs. Also one has to explode individual enhancements to identify 	weather the component is contained in that enhancement.&lt;/P&gt;&lt;P&gt;	Like previous method, there is no scope for selection option on the components name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method #3:  Writing a small report program&lt;/P&gt;&lt;P&gt;	The details about projects, enhancements and components are contained in two SAP tables:&lt;/P&gt;&lt;P&gt;      	MODSAP: containing enhancement name, type of exit and component&lt;/P&gt;&lt;P&gt;      	MODACT: containing project name and enhancements&lt;/P&gt;&lt;P&gt;	Thus by writing a report program to retrieve data from these two tables, you can customize 	your search requirements.&lt;/P&gt;&lt;P&gt;	Code for one such sample program is attached in annexure A and the corresponding 		transaction code to execute this program is YSMD .&lt;/P&gt;&lt;P&gt;	Using this you can list all components that match a particular string like the program name or 	the function code as well as search for only one type of exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: SAP&amp;#146;s naming convention for user exits-&lt;/P&gt;&lt;P&gt;&amp;#149;	Program/Function exits : EXIT_AAAAAAAA_nnn  where&lt;/P&gt;&lt;P&gt;                       		AAAAAAAA stands for the program name which contains the exit and&lt;/P&gt;&lt;P&gt;                       		nnn is a SAP assigned number starting from 001&lt;/P&gt;&lt;P&gt;&amp;#149;	Menu exits : AAAAAAAA+XXX where&lt;/P&gt;&lt;P&gt;                      		 AAAAAAAA stands for the program name which contains the exit and&lt;/P&gt;&lt;P&gt;                       		+XXX is the name of the function code contained in  the menu item&lt;/P&gt;&lt;P&gt;&amp;#149;	Screen Exits : AAAAAAAA_nnnn_BBBBBBBB_CCCCCCCC_mmmm  where&lt;/P&gt;&lt;P&gt;                       		AAAAAAAA : calling program name&lt;/P&gt;&lt;P&gt;                            	 nnnn      : calling screen number&lt;/P&gt;&lt;P&gt;                       		BBBBBBBB : area&lt;/P&gt;&lt;P&gt;                       		CCCCCCCC : called program name&lt;/P&gt;&lt;P&gt;                            	mmmm     : called screen number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a program to find exits and BAdis for a transaction....just cut and paste it in ur abap editor and execute......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z_TO_FIND_BADI_EXITS                                                *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_TO_FIND_BADI_EXITS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : TSTC,&lt;/P&gt;&lt;P&gt;TADIR,&lt;/P&gt;&lt;P&gt;MODSAPT,&lt;/P&gt;&lt;P&gt;MODACT,&lt;/P&gt;&lt;P&gt;TRDIR,&lt;/P&gt;&lt;P&gt;TFDIR,&lt;/P&gt;&lt;P&gt;ENLFDIR,&lt;/P&gt;&lt;P&gt;SXS_ATTRT ,&lt;/P&gt;&lt;P&gt;TSTCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : FIELD1(30).&lt;/P&gt;&lt;P&gt;DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_TCODE LIKE TSTC-TCODE,&lt;/P&gt;&lt;P&gt;P_PGMNA LIKE TSTC-PGMNA .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA wa_tadir type tadir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT P_TCODE IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF NOT P_PGMNA IS INITIAL.&lt;/P&gt;&lt;P&gt;TSTC-PGMNA = P_PGMNA.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TADIR&lt;/P&gt;&lt;P&gt;WHERE PGMID = 'R3TR'&lt;/P&gt;&lt;P&gt;AND OBJECT = 'PROG'&lt;/P&gt;&lt;P&gt;AND OBJ_NAME = TSTC-PGMNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE : TADIR-DEVCLASS TO V_DEVCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TRDIR&lt;/P&gt;&lt;P&gt;WHERE NAME = TSTC-PGMNA.&lt;/P&gt;&lt;P&gt;IF TRDIR-SUBC EQ 'F'.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TFDIR&lt;/P&gt;&lt;P&gt;WHERE PNAME = TSTC-PGMNA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ENLFDIR&lt;/P&gt;&lt;P&gt;WHERE FUNCNAME = TFDIR-FUNCNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TADIR&lt;/P&gt;&lt;P&gt;WHERE PGMID = 'R3TR'&lt;/P&gt;&lt;P&gt;AND OBJECT = 'FUGR'&lt;/P&gt;&lt;P&gt;AND OBJ_NAME EQ ENLFDIR-AREA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE : TADIR-DEVCLASS TO V_DEVCLASS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM TADIR INTO TABLE JTAB&lt;/P&gt;&lt;P&gt;WHERE PGMID = 'R3TR'&lt;/P&gt;&lt;P&gt;AND OBJECT in ('SMOD', 'SXSD')&lt;/P&gt;&lt;P&gt;AND DEVCLASS = V_DEVCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM TSTCT&lt;/P&gt;&lt;P&gt;WHERE SPRSL EQ SY-LANGU&lt;/P&gt;&lt;P&gt;AND TCODE EQ P_TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;WRITE:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) P_TCODE,&lt;/P&gt;&lt;P&gt;45(50) TSTCT-TTEXT.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;IF NOT JTAB[] IS INITIAL.&lt;/P&gt;&lt;P&gt;WRITE:/(105) SY-ULINE.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_HEADING INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sorting the internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;sort jtab by OBJECT.&lt;/P&gt;&lt;P&gt;data : wf_txt(60) type c,&lt;/P&gt;&lt;P&gt;wf_smod type i ,&lt;/P&gt;&lt;P&gt;wf_badi type i ,&lt;/P&gt;&lt;P&gt;wf_object2(30) type C.&lt;/P&gt;&lt;P&gt;clear : wf_smod, wf_badi , wf_object2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the total SMOD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT JTAB into wa_tadir.&lt;/P&gt;&lt;P&gt;at first.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_HEADING INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/1 SY-VLINE,&lt;/P&gt;&lt;P&gt;2 'Enhancement/ Business Add-in',&lt;/P&gt;&lt;P&gt;41 SY-VLINE ,&lt;/P&gt;&lt;P&gt;42 'Description',&lt;/P&gt;&lt;P&gt;105 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE:/(105) SY-ULINE.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;clear wf_txt.&lt;/P&gt;&lt;P&gt;at new object.&lt;/P&gt;&lt;P&gt;if wa_tadir-object = 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_object2 = 'Enhancement' .&lt;/P&gt;&lt;P&gt;elseif wa_tadir-object = 'SXSD'.&lt;/P&gt;&lt;P&gt;wf_object2 = ' Business Add-in'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_GROUP INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/1 SY-VLINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 wf_object2,&lt;/P&gt;&lt;P&gt;105 SY-VLINE.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wa_tadir-object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_smod = wf_smod + 1.&lt;/P&gt;&lt;P&gt;SELECT SINGLE MODTEXT into wf_txt&lt;/P&gt;&lt;P&gt;FROM MODSAPT&lt;/P&gt;&lt;P&gt;WHERE SPRSL = SY-LANGU&lt;/P&gt;&lt;P&gt;AND NAME = wa_tadir-OBJ_NAME.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_NORMAL INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For BADis&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;wf_badi = wf_badi + 1 .&lt;/P&gt;&lt;P&gt;select single TEXT into wf_txt&lt;/P&gt;&lt;P&gt;from SXS_ATTRT&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu&lt;/P&gt;&lt;P&gt;and EXIT_NAME = wa_tadir-OBJ_NAME.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_NORMAL INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/1 SY-VLINE,&lt;/P&gt;&lt;P&gt;2 wa_tadir-OBJ_NAME hotspot on,&lt;/P&gt;&lt;P&gt;41 SY-VLINE ,&lt;/P&gt;&lt;P&gt;42 wf_txt,&lt;/P&gt;&lt;P&gt;105 SY-VLINE.&lt;/P&gt;&lt;P&gt;AT END OF object.&lt;/P&gt;&lt;P&gt;write : /(105) sy-ULINE.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/(105) SY-ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_TOTAL INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;WRITE:/ 'No.of Exits:' , wf_smod.&lt;/P&gt;&lt;P&gt;WRITE:/ 'No.of BADis:' , wf_badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;WRITE:/(105) 'No userexits or BADis exist'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;WRITE:/(105) 'Transaction does not exist'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wf_object type tadir-object.&lt;/P&gt;&lt;P&gt;clear wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD FIELD1.&lt;/P&gt;&lt;P&gt;CHECK FIELD1(8) EQ 'WA_TADIR'.&lt;/P&gt;&lt;P&gt;read table jtab with key obj_name = sy-lisel+1(20).&lt;/P&gt;&lt;P&gt;move jtab-object to wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wf_object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful...&lt;/P&gt;&lt;P&gt;Badrinath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Badri Thiriveedhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896931#M681054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T08:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: user-exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896932#M681055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find out userexits for a perticular transaction by the follwing way,&lt;/P&gt;&lt;P&gt;User exits are maintained for a Package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. suppose you have a tcode, then in the menu bar, go to      &amp;lt;b&amp;gt;System&lt;DEL&gt;-&amp;gt;Status&lt;/DEL&gt;--&amp;gt;get the program name of the tcode &amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;2.  then go inside the program, then menubar &amp;lt;b&amp;gt;Go to--&lt;DEL&gt;&amp;gt; Attributes&lt;/DEL&gt;--&amp;gt;get the Package name of the program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;3. then open tcode &amp;lt;b&amp;gt;SMOD&amp;lt;/b&amp;gt; and press F4 option on the Enhancement field&lt;/P&gt;&lt;P&gt;4. A pop-up will come there you have the &amp;lt;b&amp;gt;Package&amp;lt;/b&amp;gt; filed....enter the Package name there.&lt;/P&gt;&lt;P&gt;5. then click Enter. you will get a no. of possible user exits for the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhawani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        BHAWANI SHANKAR MOHANTY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 08:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896932#M681055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T08:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: user-exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896933#M681056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          goto se93 t.code&lt;/P&gt;&lt;P&gt;               enter the transaction and get the package name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         goto smod...&lt;/P&gt;&lt;P&gt;                   click on utilties .. find  on the tool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     enter the package name and execute it...&lt;/P&gt;&lt;P&gt;                        u get a list of userexits....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896933#M681056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: user-exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896934#M681057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check that ur system having Program named ZUSEREXIT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise this is the code, u just need to enter T-code.&lt;/P&gt;&lt;P&gt;List of all user exit will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Include           ZUSEREXIT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zuserexit no standard page heading.&lt;/P&gt;&lt;P&gt;tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.&lt;/P&gt;&lt;P&gt;tables : tstct.&lt;/P&gt;&lt;P&gt;data : jtab like tadir occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : field1(30).&lt;/P&gt;&lt;P&gt;data : v_devclass like tadir-devclass.&lt;/P&gt;&lt;P&gt;parameters : p_tcode like tstc-tcode obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'PROG'&lt;/P&gt;&lt;P&gt;and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;select single * from trdir where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;select single * from tfdir where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;select single * from enlfdir where funcname =&lt;/P&gt;&lt;P&gt;tfdir-funcname.&lt;/P&gt;&lt;P&gt;select single * from tadir where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'FUGR'&lt;/P&gt;&lt;P&gt;and obj_name eq enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;select * from tadir into table jtab&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'SMOD'&lt;/P&gt;&lt;P&gt;and devclass = v_devclass.&lt;/P&gt;&lt;P&gt;select single * from tstct where sprsl eq sy-langu and&lt;/P&gt;&lt;P&gt;tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;format color col_positive intensified off.&lt;/P&gt;&lt;P&gt;write:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) p_tcode,&lt;/P&gt;&lt;P&gt;45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 'Exit Name',&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 'Description',&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;loop at jtab.&lt;/P&gt;&lt;P&gt;select single * from modsapt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu and&lt;/P&gt;&lt;P&gt;name = jtab-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified off.&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 jtab-obj_name hotspot on,&lt;/P&gt;&lt;P&gt;21 sy-vline ,&lt;/P&gt;&lt;P&gt;22 modsapt-modtext,&lt;/P&gt;&lt;P&gt;95 sy-vline.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;write:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;describe table jtab.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;format color col_total intensified on.&lt;/P&gt;&lt;P&gt;write:/ 'No of Exits:' , sy-tfill.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'No User Exit exists'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(95) 'Transaction Code Does Not Exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;get cursor field field1.&lt;/P&gt;&lt;P&gt;check field1(4) eq 'JTAB'.&lt;/P&gt;&lt;P&gt;set parameter id 'MON' field sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;call transaction 'SMOD' and skip first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 12:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2896934#M681057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T12:18:43Z</dc:date>
    </item>
  </channel>
</rss>

