<?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: finding user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905386#M683433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you ferry,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2007 16:25:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-15T16:25:07Z</dc:date>
    <item>
      <title>finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905381#M683428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;i was trying to learn how to code user exits, i was following some document i found on this sdn.sap,  the process says that, find out the program name , then goto that program through se38 , and then search for   " call customer function "  , but when i went that way,&lt;/P&gt;&lt;P&gt;i could not find any " call customer function " , instead there  aere around 25 INCLUDES tehre, if i have to code inside these includes, how do i find which include is correct one for my work, i could not find documentations for any of these includes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please some one guide me  , how to find correct user exit, and how to code it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905381#M683428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905382#M683429</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;Please check this sample code on how to find user exits for a given transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/code/abap26.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905382#M683429</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-15T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905383#M683430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just run the below report in se38 to find required user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YUSEREXIT NO STANDARD PAGE HEADING.&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  YUSEREXIT                                                  *&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; Finding the user-exits of a SAP transaction code&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp; Enter the transaction code in which you are looking for the user-exit&lt;/P&gt;&lt;P&gt;*&amp;amp; and it will list you the list of user-exits in the transaction code.&lt;/P&gt;&lt;P&gt;*&amp;amp; Also a drill down is possible which will help you to branch to SMOD.&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;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 TYPE 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;&lt;/P&gt;&lt;P&gt;REWARD POINTS if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Vishnu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905383#M683430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905384#M683431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks friends, for the reply,&lt;/P&gt;&lt;P&gt;i have this code, but when i mentioned this  in an interview , he  clearly said, very unproffesional, way, and we dont get all the user exits with this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any other way  around friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even if this program is allowed it just gives, the exits available for the given tcode, but  doent  tell anything, like, which one  suits my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i appreciate  your  help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 15:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905384#M683431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905385#M683432</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;The above sample codes will give a short cut to find all corresponding user exits available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find the exact user exits which meet your requirement, you will need to try one by one the above user exits by placing a break point and do the debugging. There is no easy way based on my past experiences. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes, you may need to use BADI instead user exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 16:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905385#M683432</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-15T16:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: finding user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905386#M683433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you ferry,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2007 16:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-user-exit/m-p/2905386#M683433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-15T16:25:07Z</dc:date>
    </item>
  </channel>
</rss>

