<?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 the user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302623#M158982</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;Use this code to find user exits in a particular transaction. I got this from SDN forums, don't remember the author though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the helpful answers&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 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.

 

* 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, 26 Apr 2006 17:05:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-26T17:05:09Z</dc:date>
    <item>
      <title>finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302618#M158977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to find a user exit &amp;lt;b&amp;gt;that will propose a product expirtation date based on a calculation from the material master field cal by the bulk batch comingle date.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help in me in finding that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;thnx a ton,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 14:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302618#M158977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302619#M158978</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;Step 1 :- Execute transaction &lt;/P&gt;&lt;P&gt;step 2 :- Click on Status Menu&lt;/P&gt;&lt;P&gt;step 3 :- Double click on the program (screen) __?????___&lt;/P&gt;&lt;P&gt;Step 4 :- Search source code for the 'Customer-Function' string using the find button. Remember to select 'In main program'.&lt;/P&gt;&lt;P&gt;Step 5 :- A list of search results should be displayed indicating where all function exits can be found. &lt;/P&gt;&lt;P&gt;You can now double click on each of them to go to its position in the source code. This also &lt;/P&gt;&lt;P&gt;allows for the insertion of breakpoints so that you can test if the exits are called in the &lt;/P&gt;&lt;P&gt;appropriate place.&lt;/P&gt;&lt;P&gt;Step 6 :-Once you have found the Function Exit within the source code (Find Function Exit) you need to &lt;/P&gt;&lt;P&gt;access the actual function module it executes. This is done using the following steps:                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 6.1 :- &lt;/P&gt;&lt;P&gt;Step 1&lt;/P&gt;&lt;P&gt;Locate desired 'Call Customer-function' statement within source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2&lt;/P&gt;&lt;P&gt;If code is not within main program (module pool) e.g. SAP* then you will need to find this &lt;/P&gt;&lt;P&gt;out by selecting 'Main Program' from the 'GOTO' menu. The Main program for transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3&lt;/P&gt;&lt;P&gt;The actual function module name can now be calculated based on the information retrieved,&lt;/P&gt;&lt;P&gt;it is defined by the following format:&lt;/P&gt;&lt;P&gt;EXIT_&amp;lt;Program name&amp;gt;_&amp;lt;Exit number&amp;gt; &lt;/P&gt;&lt;P&gt;eg :- 'EXIT_SAPLMR1M_004'.&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;Step 7.1:-&lt;/P&gt;&lt;P&gt;Once you have found the Exit function module &lt;/P&gt;&lt;P&gt;Step 1&lt;/P&gt;&lt;P&gt;Execute transaction CMOD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2&lt;/P&gt;&lt;P&gt;Select 'SAP Enhancements' from the 'Utilities' menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3&lt;/P&gt;&lt;P&gt;Select 'All selections' from the 'Edit' menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4&lt;/P&gt;&lt;P&gt;Now populate the Component name field with the exit function module and press&lt;/P&gt;&lt;P&gt;the execute button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5&lt;/P&gt;&lt;P&gt;A list of all Exits(Enhancements) containing that function module should now be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5&lt;/P&gt;&lt;P&gt;You can now double click on the desired exit to display a detailed description of its uses and a list of all &lt;/P&gt;&lt;P&gt;components contained in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Implementing Function Exit &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is required in-order to activate Function exit:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Step 1&lt;/P&gt;&lt;P&gt;The first step is to enter source code into function module in the usual way i.e. via SE37. &lt;/P&gt;&lt;P&gt;There will already be an include declaration within the code with the following &lt;/P&gt;&lt;P&gt;format:  Include zx*.&lt;/P&gt;&lt;P&gt;Double click on this to create it, source code can then be entered within here. &lt;/P&gt;&lt;P&gt;Although it is good practice to create another include with this to store your&lt;/P&gt;&lt;P&gt;code, this allows separation of difference enhancements allowing them to be easlity &lt;/P&gt;&lt;P&gt;removed without de-activating the enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2&lt;/P&gt;&lt;P&gt;Execute transaction CMOD and create new Enhancement. Enter name and press the create&lt;/P&gt;&lt;P&gt;Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3&lt;/P&gt;&lt;P&gt;The following screen should be displayed, enter short text then click on the 'Enhancement &lt;/P&gt;&lt;P&gt;Step 4&lt;/P&gt;&lt;P&gt;Now enter the Exit name (enhancement) which contains the desired Function Exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5&lt;/P&gt;&lt;P&gt;Return to initial screen of CMOD and press the activate icon. The exit is now ready for use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Mark The Helfull Answers &amp;amp; close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still not clear i will send u the document on userexit @E-MAIL&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;Manoj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 14:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302619#M158978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T14:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302620#M158979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;But when I searched for the "customer-function" in the &amp;lt;b&amp;gt;main program&amp;lt;/b&amp;gt;, i could not found any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program I searched for that is "SAPLMGMM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the correct program, i'm searching for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 14:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302620#M158979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T14:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302621#M158980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I am not sure about the program which ur using . But this the correct procedure to fine &amp;amp; implement  USER-EXIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there are no user exit then there will BADI ( Business Add ins )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since SAP is moving towards BADI in upcomming versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regsrds&lt;/P&gt;&lt;P&gt;Manoj .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 15:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302621#M158980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302622#M158981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to find the user exit for other transactions(eg:xk03), i found some user exits with the process you have mentioned. it worked. But I don't know why it is not working for Material Master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me in finding the BADI's for that, otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 16:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302622#M158981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302623#M158982</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;Use this code to find user exits in a particular transaction. I got this from SDN forums, don't remember the author though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the helpful answers&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 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.

 

* 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, 26 Apr 2006 17:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302623#M158982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T17:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: finding the user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302624#M158983</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;Have you looked this BADI for material master?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BADI_MATERIAL_CHECK&amp;lt;/b&amp;gt; - Enhanced checks for material master table             &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BADI_MATERIAL_OD&amp;lt;/b&amp;gt;                                                     &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;BADI_MATERIAL_REF&amp;lt;/b&amp;gt; - Addition of customer-defined default data for material&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also find this user exits for material master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MGA00001&amp;lt;/b&amp;gt; - Material Master (Industry): Checks and Enhancements      &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MGA00002&amp;lt;/b&amp;gt; - Material Master (Industry): Number Assignment            &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MGA00003&amp;lt;/b&amp;gt; - Material Master (Industry and Retail): Number Display    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&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>Wed, 26 Apr 2006 17:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-the-user-exit/m-p/1302624#M158983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-26T17:09:29Z</dc:date>
    </item>
  </channel>
</rss>

