<?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 Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333933#M798938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest way to find a user-exit for a given transaction. Execute this program and type in the t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Report ZUSEREXIT&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZUSEREXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding the user-exits of a SAP transaction code &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the transaction code in which you are looking for the user-exit &lt;/P&gt;&lt;P&gt;and it will list you the list of user-exits in the transaction code. &lt;/P&gt;&lt;P&gt;Also a drill down is possible which will help you to branch to SMOD. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Written by : SAP Basis, ABAP Programming and Other IMG Stuff &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/*" target="test_blank"&gt;http://www.sap-img.com/*&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&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.[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 05:38:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T05:38:36Z</dc:date>
    <item>
      <title>User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333930#M798935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to find the User Exit for particular t.code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anbu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 05:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333930#M798935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333931#M798936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;In order to find out the user exits for any tcode,&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;1. get the developement class of the tcode from SE93.&lt;/P&gt;&lt;P&gt;2. Now goto transaction SMOD and press F4,&lt;/P&gt;&lt;P&gt;3. give in the Deve class in the dev class and Press ENTER&lt;/P&gt;&lt;P&gt;this will show u the exits for any tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check these threads for sample program.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="398229"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="401754"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 05:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333931#M798936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333932#M798937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Code SE18 is used to Identify the BADI available.&lt;/P&gt;&lt;P&gt;Look for the string 'CL_EXITHANDLER' in the standard program. This is a class which has a method 'GET_INSTANCE' which is used to trigger BADI's from the Standard Program. The interface parameter for this static method 'EXIT_NAME' is used to pass the BADI to the method.&lt;/P&gt;&lt;P&gt;Open Standard Program and do a global search 'CL_EXITHANDLER'.&lt;/P&gt;&lt;P&gt;SE18 &amp;gt; give the BADI name found through above search.&lt;/P&gt;&lt;P&gt;CUSTOMER_ADD_DATA &amp;gt; which has a method SAVE_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.Code SE19 is used to Implement BADI.&lt;/P&gt;&lt;P&gt;SE19 &amp;gt; give the implementation name &amp;gt; Give the Definition name as CUSTOMER_ADD_DATA and the Short Text.&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>Thu, 07 Feb 2008 05:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333932#M798937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333933#M798938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest way to find a user-exit for a given transaction. Execute this program and type in the t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Report ZUSEREXIT&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZUSEREXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding the user-exits of a SAP transaction code &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the transaction code in which you are looking for the user-exit &lt;/P&gt;&lt;P&gt;and it will list you the list of user-exits in the transaction code. &lt;/P&gt;&lt;P&gt;Also a drill down is possible which will help you to branch to SMOD. &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Written by : SAP Basis, ABAP Programming and Other IMG Stuff &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/*" target="test_blank"&gt;http://www.sap-img.com/*&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&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.[/code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 05:38:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333933#M798938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333934#M798939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;goto the transaction first for example xk01 and in the right side u can see the some ECP(1)800 if u click there u get the program name.&lt;/P&gt;&lt;P&gt;note the program name......&lt;/P&gt;&lt;P&gt;goto&lt;DEL&gt;-&amp;gt;se38&lt;/DEL&gt;-&amp;gt;give the program name and goto attributes----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt;find the package name.&lt;/P&gt;&lt;P&gt;now goto SMOD transaction and go for search help give the package name there .....then u will get the exits available for the particular transaction...&lt;/P&gt;&lt;P&gt;note the name of exit required and goto cmod transaction...........and give job name (zxyz) and give the exit&lt;/P&gt;&lt;P&gt;if u double click on exit u will get a function module in which there will be a include u have 2 open the include and write u r code there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 05:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333934#M798939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333935#M798940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi arul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finding user exits&lt;/P&gt;&lt;P&gt;1) run the tcode -&amp;gt; system -&amp;gt; status-&amp;gt; take the prog name and take the attributes in prog -&amp;gt;take the package name.&lt;/P&gt;&lt;P&gt;2) Goto smod Utilitise-&amp;gt;find-&amp;gt;gv the package name their and press F8&lt;/P&gt;&lt;P&gt;u will no of exits presents for that tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Regrads&lt;/P&gt;&lt;P&gt;Santhsoh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 05:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/3333935#M798940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T05:59:48Z</dc:date>
    </item>
  </channel>
</rss>

