<?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/1363330#M180116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Warren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create a program in SE38 with the following source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the transaction code and it will display the list of user exits for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  yam_find_user_exit_for_tcode 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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps and close the thread.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2006 09:25:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-07T09:25:07Z</dc:date>
    <item>
      <title>USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363323#M180109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to find out the user exits for every transaction aur iska subject ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363323#M180109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363324#M180110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)Go to se93.&lt;/P&gt;&lt;P&gt;Give the tcode and find the package.&lt;/P&gt;&lt;P&gt;Go to smod.&lt;/P&gt;&lt;P&gt;Press F4.&lt;/P&gt;&lt;P&gt;GIve the package and get the enhancements associated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Make a global find in the mian program of the transaction, with search strings like &lt;/P&gt;&lt;P&gt;"call customer", "user exit" etc.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363324#M180110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363325#M180111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just copy and  paste   program in this link..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab038.htm&amp;lt;/b&amp;gt;" target="test_blank"&gt;http://www.sap-img.com/ab038.htm&amp;lt;/b&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Finding the user-exits of a SAP transaction code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enter the transaction code in which you are looking for the user-exit&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;and it will list you the list of user-exits in the transaction code.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Also a drill down is possible which will help you to branch to SMOD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363325#M180111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363326#M180112</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;&amp;lt;b&amp;gt;Program to Find user exits with a TCode :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;A Short Tutorial on User Exits :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&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;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363326#M180112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363327#M180113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pl check this &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1641669"&gt;&lt;/A&gt;&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363327#M180113</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-06-07T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363328#M180114</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 these out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These links will help you to learn more on user exits.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/user_exit.html" target="test_blank"&gt;http://www.allsaplinks.com/user_exit.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check these threads for more details about user exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1303464"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="429991"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="658830"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.sap-img.com/abap/" target="test_blank"&gt;www.sap-img.com/abap/&lt;/A&gt; what-is-the-difference-between-smod-and-cmod.htm&lt;/P&gt;&lt;P&gt;contains custom program which gives details about SAP enhancement projects specified by SAP for standard transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tcodes - se84,smod(for searching)&lt;/P&gt;&lt;P&gt;         cmod(for creating )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all u should know the package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example vf03.&lt;/P&gt;&lt;P&gt;1&amp;gt;go to system status.&lt;/P&gt;&lt;P&gt;2&amp;gt;get program name&lt;/P&gt;&lt;P&gt;3&amp;gt;go to attrivutes(get package)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then go to se84 0r smod enter package name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u will get list of exits.&lt;/P&gt;&lt;P&gt;select the appropriate exit and in cmod&lt;/P&gt;&lt;P&gt;create project and activate the exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363328#M180114</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-06-07T09:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363329#M180115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the following program to search user exits by transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report z_find_user_exit no standard page heading.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;tables: tstc, tadir, modsapt, modact,&lt;/P&gt;&lt;P&gt;        trdir, tfdir, enlfdir, 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 : hotspot(30).&lt;/P&gt;&lt;P&gt; &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;at line-selection.&lt;/P&gt;&lt;P&gt;  get cursor field hotspot.&lt;/P&gt;&lt;P&gt;  check hotspot(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;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  perform get_data.&lt;/P&gt;&lt;P&gt;  perform write_list.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM get_data                                                 *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  select single * from tstc&lt;/P&gt;&lt;P&gt;              where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;  check sy-subrc eq 0.&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 = 'PROG'&lt;/P&gt;&lt;P&gt;              and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt; &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;      select single * from enlfdir&lt;/P&gt;&lt;P&gt;                     where funcname = tfdir-funcname.&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;    endif.&lt;/P&gt;&lt;P&gt; &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 = 'SMOD'&lt;/P&gt;&lt;P&gt;               and devclass = tadir-devclass.&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;endform.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM write_list                                               *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form write_list.&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:/(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; &lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363329#M180115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:24: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/1363330#M180116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Warren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create a program in SE38 with the following source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the transaction code and it will display the list of user exits for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  yam_find_user_exit_for_tcode 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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps and close the thread.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363330#M180116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-07T09:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: USER EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363331#M180117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copy and run this program in SE38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report z_find_userexit no standard page heading.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;  Enter the transaction code that you want to search through in order

*&amp;amp;  to find which Standard SAP User Exits exists.

*&amp;amp;

*&amp;amp;---------------------------------------------------------------------*



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Tables

*&amp;amp;---------------------------------------------------------------------*



tables : tstc,     "SAP Transaction Codes

         tadir,    "Directory of Repository Objects

         modsapt,  "SAP Enhancements - Short Texts

         modact,   "Modifications

         trdir,    "System table TRDIR

         tfdir,    "Function Module

         enlfdir,  "Additional Attributes for Function Modules

         tstct.    "Transaction Code Texts



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Variables

*&amp;amp;---------------------------------------------------------------------*



data : jtab like tadir occurs 0 with header line.

data : field1(30).

data : v_devclass like tadir-devclass.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Selection Screen Parameters

*&amp;amp;---------------------------------------------------------------------*

selection-screen begin of block a01 with frame title text-001.

selection-screen skip.

parameters : p_tcode like tstc-tcode obligatory.

selection-screen skip.

selection-screen end of block a01.



*&amp;amp;---------------------------------------------------------------------*

*&amp;amp; Start of main program

*&amp;amp;---------------------------------------------------------------------*



start-of-selection.



* Validate Transaction Code

  select single * from tstc

    where tcode eq p_tcode.



* Find Repository Objects for transaction code

  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 = enlfdir-area.



        move : tadir-devclass to v_devclass.

      endif.

    endif.



* Find SAP Modifactions

    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,

        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.



* Take the user to SMOD for the Exit that was selected.

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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2006 09:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/1363331#M180117</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-06-07T09:25:27Z</dc:date>
    </item>
  </channel>
</rss>

