<?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/2611415#M599049</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;go thru the following links&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="295834"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&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;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://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;&amp;lt;b&amp;gt;reward points for useful ans&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 09:38:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T09:38:00Z</dc:date>
    <item>
      <title>User Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611413#M599047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any one of you elaborate me where and how can we use User exits in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where we can find a list of user exits. How these user exits serve for client requirements. what is the Transaction code to see all user exits in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please educate me on above scenarios, your suggestions will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raghu Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611413#M599047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: User Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611414#M599048</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;USEREXIT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Userxits allow us to add our own functionality to SAP standard program&lt;/P&gt;&lt;P&gt;without  modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.&lt;/P&gt;&lt;P&gt;    All Userexits start with the word USEREXIT_...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM USEREXIT_..&lt;/P&gt;&lt;P&gt;z..&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary&lt;/P&gt;&lt;P&gt;customer code is inserted in the customer include starting with the z..&lt;/P&gt;&lt;P&gt;in the form routine. &lt;/P&gt;&lt;P&gt;e.g. USEREXIT_SAVE_DOCUMENT_PREPARE &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions&lt;/P&gt;&lt;P&gt;instead they are using EXITs which come bundeled in enhancement packages . Neverthiless existing USEREXITS will be supported by SAP an all the newer versions of SAP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;HOW TO FIND USEREXITS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Userexits can be found in number of ways:&lt;/P&gt;&lt;P&gt;1) To find userexits in SD module , goto object navigator(SE80) and select&lt;/P&gt;&lt;P&gt;    development class from the list and enter VMOD in it. All of the userexits in SD are contained in the development class VMOD. Press &lt;/P&gt;&lt;P&gt;enter and you will find all the includes which contain userexits in SD for&lt;/P&gt;&lt;P&gt;different functions like PRICING, ORDER PROCESSING etc. Select the userexit according to the requirement and read the comment inserted in it&lt;/P&gt;&lt;P&gt;and start coding .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Some examples of userexits in SD(SALES &amp;amp; DISTRIBUTION ) are:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1)ADDING OF NEW FIELDS IN PRICING   &lt;/P&gt;&lt;P&gt; In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields. &lt;/P&gt;&lt;P&gt;   The fields which are not in either of the two tables KOMK and KOMP&lt;/P&gt;&lt;P&gt;cannot be used in pricing .Sometimes a need arises when the pricing&lt;/P&gt;&lt;P&gt;is to be based on some other criteria which is not present in the form of fields in either of the two tables.&lt;/P&gt;&lt;P&gt;  This problem can be solved by using USEREXITS which are provided for pricing in SD.&lt;/P&gt;&lt;P&gt;  Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;USEREXIT_PRICING_PREPARE_TKOMP  or&lt;/P&gt;&lt;P&gt;USEREXIT_PRICING_PREPARE_TKOMK&lt;/P&gt;&lt;P&gt;Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In the case of userexit which will be called when invoicing is done ,these&lt;/P&gt;&lt;P&gt;are provided in the include RY60AFZZ which is in the standard SAP&lt;/P&gt;&lt;P&gt;program SAPMV45A. The name of the userexits are same. i.e&lt;/P&gt;&lt;P&gt;USEREXIT_PRICING_PREPARE_TKOMP  or&lt;/P&gt;&lt;P&gt;USEREXIT_PRICING_PREPARE_TKOMK&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely&lt;/P&gt;&lt;P&gt;created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that&lt;/P&gt;&lt;P&gt;has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose&lt;/P&gt;&lt;P&gt;includes are provided in each of them .&lt;/P&gt;&lt;P&gt; To create the field in header data(KOMK) the include provided is KOMKAZ&lt;/P&gt;&lt;P&gt; and to create the field in item data(KOMP) the include provided is KOMPAZ.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2)The other method of finding userexit is to find the word USEREXIT in the&lt;/P&gt;&lt;P&gt;associated program of the transaction for which we want to determine userexit using SE38. &lt;/P&gt;&lt;P&gt;3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Some other examples of userexits in SD are:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;USEREXIT_NUMBER_RANGE&lt;/P&gt;&lt;P&gt;This userexit is used to assign a different internal document number to the&lt;/P&gt;&lt;P&gt;sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;P&gt; This userexit is used to insert the ABAP code which will be called when&lt;/P&gt;&lt;P&gt;the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Exits &amp;amp; Enhancements&lt;/P&gt;&lt;P&gt; There are mainly six types of EXITs in sap which have been collected in the form of enhancement packages and attached to standard code in SAP.&lt;/P&gt;&lt;P&gt;These are different from USEREXIT in the way that they are implemented &lt;/P&gt;&lt;P&gt;in the form of FUNCTIONs while in USEREXITS we use form routines for their implementation. These are also sometimes known as function exits .&lt;/P&gt;&lt;P&gt;   These start from the word EXIT_ followed by the program name and then followed by a three digit number.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;e.g.  EXIT_SAPMV45A_002&lt;/P&gt;&lt;P&gt;  This exit is found in SD in enhancement V45A0002.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPES OF EXITS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1)MENU EXITS&lt;/P&gt;&lt;P&gt;2)FUNCTION EXITS&lt;/P&gt;&lt;P&gt;3)TABLE EXITS&lt;/P&gt;&lt;P&gt;4)SCREEN EXITS&lt;/P&gt;&lt;P&gt;5)KEYWORD EXITS&lt;/P&gt;&lt;P&gt;6)FIELD EXITS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;We use SAP transactions CMOD and SMOD to manage exits. Before implementing an exit , it is required to create the project by using CMOD&lt;/P&gt;&lt;P&gt;selecting the enhancement e.g. V45A0002 and selecting the component&lt;/P&gt;&lt;P&gt;(one which fulfills our need) i.e the exit which will be implemented in SMOD and after coding has been done the project has to be activated.&lt;/P&gt;&lt;P&gt;  An exit can be coded only once.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FUNCTION EXITS&lt;/P&gt;&lt;P&gt;  These are used to add functionality through ABAP code . These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any tupe of exit including function exits.&lt;/P&gt;&lt;P&gt;   The function exits are called from the standard SAP program in the form&lt;/P&gt;&lt;P&gt;of ABAP statement &lt;/P&gt;&lt;P&gt;CALL CUSTOMER-FUNCTION 'NNN' &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This is in contrast to USEREXITs where PERFORM statement is used to call&lt;/P&gt;&lt;P&gt;the required userexit.&lt;/P&gt;&lt;P&gt; To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its compnents the function exit to be implemented is selected and on double clicking it the exit code will appear in ABAP EDITOR(se38) where a Z include will be found and the customer code should be entered in this include.  &lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ADDING A DEFAULT SOLD-TO-PARTY in Sales Order Creation&lt;/P&gt;&lt;P&gt;    To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located&lt;/P&gt;&lt;P&gt;in enhancement no V45A0002 . Before we can choose the exit we have to &lt;/P&gt;&lt;P&gt;create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components . In the components you will see the&lt;/P&gt;&lt;P&gt;exit EXIT_SAPMV45A_002 . This exit is used for our purpose.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Double clicking on this exit will takes us to function builder (SE37) . This&lt;/P&gt;&lt;P&gt;function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is  E_KUNNR&lt;/P&gt;&lt;P&gt;of type KNA1-KUNNR i.e if we move the desired customer name to this&lt;/P&gt;&lt;P&gt;structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order.&lt;/P&gt;&lt;P&gt; This function also contains a customer include ZXVVA04 . This include&lt;/P&gt;&lt;P&gt;will be used to write our custom code .&lt;/P&gt;&lt;P&gt;  Double clicking on this include and it will prompt us that this include does not exists do you want to create this object ,select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.&lt;/P&gt;&lt;P&gt; e.g. E_KUNNR = 301.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Activate the include and Activate the project. Now when ever the SALES ORDER will be created , sold-to-party field will come up with a predefined&lt;/P&gt;&lt;P&gt;customer . &lt;/P&gt;&lt;P&gt;FIELD EXITS&lt;/P&gt;&lt;P&gt;  The field exits are managed,created,activated through program RSMODPRF. The field exit is associated with a data element existing in ABAP dictionary and hence to the screen field using that data element.&lt;/P&gt;&lt;P&gt;  The format of field exit is :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; FIELD_EXIT_dataelement_A-Z or 0-9&lt;/P&gt;&lt;P&gt;   If a particular screen and program name is not specified than the field exit will effect all the screens containing that data element.&lt;/P&gt;&lt;P&gt;   The function module associated with field exit shows two parameters&lt;/P&gt;&lt;P&gt;INPUT and OUTPUT.  Input parameter contains the data passed to the field exit when the field exit was invoked by the R/3 , We can write our own code to change the output parameter depending upon our requirements.&lt;/P&gt;&lt;P&gt;    Before the field exit can have any effect the system profile parameter&lt;/P&gt;&lt;P&gt;ABAP/FIELDEXIT in all the application servers should be set to YES&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ABAP/FIELDEXIT = YES.&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;A href="http://help.sap.com/saphelp_bw21c/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw21c/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_bw21c/helpdata/en/c8/19762743b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_bw21c/helpdata/en/c8/19762743b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap/abap/code/abap26.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/code/abap26.htm&lt;/A&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;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;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&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;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/spmp.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/spmp.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/enhance/enhancehome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/enhance/enhancehome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;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;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&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;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/94/bef83770798b76e10000009b38f842/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/94/bef83770798b76e10000009b38f842/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/13/1f2d1a831a43be8a43ecd14170bf1c/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/13/1f2d1a831a43be8a43ecd14170bf1c/frameset.htm&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;dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611414#M599048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: User Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611415#M599049</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;go thru the following links&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="295834"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&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;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://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;&amp;lt;b&amp;gt;reward points for useful ans&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611415#M599049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: User Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611416#M599050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;To enhance the functionality of SAP provided std  transactions as per the client requirements we use this enhancements&lt;/P&gt;&lt;P&gt;Suppose client wants us to keep some extra fields in the Sales order creation screen which SAP was not provided&lt;/P&gt;&lt;P&gt;similary some extra fields on material master like that&lt;/P&gt;&lt;P&gt;we have to use screen exits for this type of work&lt;/P&gt;&lt;P&gt;simialry to keep some conditions we use the function exits&lt;/P&gt;&lt;P&gt;and to modify the Menus we use Menu exits etc&lt;/P&gt;&lt;P&gt;see the doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The naming standard of function modules for functionmodule exits is: &lt;/P&gt;&lt;P&gt;EXIT_&amp;lt;program name&amp;gt;&amp;lt;3 digit suffix&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call to a functionmodule exit is implemented as: &lt;/P&gt;&lt;P&gt;CALL CUSTOMER.-FUNCTION &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; digit suffix&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find a Exit.&lt;/P&gt;&lt;P&gt;Goto Transaction -- Find The Package &lt;/P&gt;&lt;P&gt;SMOD &lt;DEL&gt;&amp;gt;f4&lt;/DEL&gt;&amp;gt;Use the Package here to Find the Exits In the Package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else if you Want to search by Application Area wise ,&lt;/P&gt;&lt;P&gt;There is one more tab to find the Exits in the Respective Application Area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementing the Exit-- CMOD &lt;DEL&gt;Create Projects&lt;/DEL&gt;Assgn your Component .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Run ur Transaction to Check if it Triggers.&lt;/P&gt;&lt;P&gt;Thats it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you need to find out all the user exits related to a tcode.&lt;/P&gt;&lt;P&gt;1. Execute the Tcode.&lt;/P&gt;&lt;P&gt;2. Open the SAP program.&lt;/P&gt;&lt;P&gt;3. Get the Development Class.&lt;/P&gt;&lt;P&gt;4. Execute Tcode SE84.&lt;/P&gt;&lt;P&gt;5. Open the Node 'Envir. -&amp;gt; Exit Techniques -&amp;gt; 'Customer Exits -&amp;gt; Enhancements'&lt;/P&gt;&lt;P&gt;6. Enter the Development class and execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this thread..&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="916759"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Type the transaction : system-&amp;gt;status-&amp;gt; &amp;lt;PROG. NAME&amp;gt;&lt;/P&gt;&lt;P&gt;2 open SE37 , type EXIT&lt;STRONG&gt;&amp;lt;PROG NAME&amp;gt;&lt;/STRONG&gt; and press F4 to get the list of function exits available.&lt;/P&gt;&lt;P&gt;3. Open CMOD utilities-&amp;gt;SAP enhancements&lt;/P&gt;&lt;P&gt;EDIT-&amp;gt;All selections&lt;/P&gt;&lt;P&gt;4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.&lt;/P&gt;&lt;P&gt;5. The displayed list contains the enhancements names for the transaction You were looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Create a project in CMOD and the code in default include-&amp;gt;activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/sap/abap/code/abap26.htm" target="test_blank"&gt;http://www.erpgenie.com/sap/abap/code/abap26.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which gives the list of exits for a tcode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information on Exits, check these links&lt;/P&gt;&lt;P&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;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;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&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;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&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;User-Exits&lt;/P&gt;&lt;P&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;A href="http://www.sap-img.com/ab038.htm" target="test_blank"&gt;http://www.sap-img.com/ab038.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.sap-basis-abap.com/sapab013.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab013.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283" target="test_blank"&gt;http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283&lt;/A&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;1. Document on UserExits in FI/CO&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc" target="test_blank"&gt;http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Finding User Exits...&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits" target="test_blank"&gt;http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. List of all User Exits...&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;/P&gt;&lt;P&gt;REPORT z_find_userexit 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;  Enter the transaction code that you want to search through in order&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;  to find which Standard SAP User Exits exists.&lt;/STRONG&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; Tables&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;TABLES : tstc,     "SAP Transaction Codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         tadir,    "Directory of Repository Objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         modsapt,  "SAP Enhancements - Short Texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         modact,   "Modifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         trdir,    "System table TRDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         tfdir,    "Function Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         enlfdir,  "Additional Attributes for Function Modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         tstct.    "Transaction Code Texts&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; Variables&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt; &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;&lt;/P&gt;&lt;P&gt;DATA : field1(30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_devclass LIKE tadir-devclass.&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;&lt;/P&gt;&lt;P&gt;*&amp;amp; Selection Screen Parameters&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;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&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;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK a01.&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;&lt;/P&gt;&lt;P&gt;*&amp;amp; Start of main program&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;&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validate Transaction Code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM tstc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHERE tcode EQ p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find Repository Objects for transaction code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF 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;&lt;/P&gt;&lt;P&gt;       WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         AND object   = 'PROG'&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;    MOVE : tadir-devclass TO v_devclass.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;         WHERE name = 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;      IF trdir-subc EQ 'F'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM tfdir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WHERE pname = 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;        SELECT SINGLE * FROM enlfdir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WHERE funcname = tfdir-funcname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM tadir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            AND object   = 'FUGR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            AND obj_name = enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &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;      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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Find SAP Modifactions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT * FROM tadir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      INTO TABLE jtab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHERE pgmid    = 'R3TR'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        AND object   = 'SMOD'&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;    SELECT SINGLE * FROM tstct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHERE sprsl EQ sy-langu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        AND tcode EQ p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    20(20) p_tcode,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF NOT jtab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;      2 'Exit Name',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      21 sy-vline ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      22 'Description',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      95 sy-vline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE:/(95) 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;      LOOP AT jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM modsapt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WHERE sprsl = sy-langu AND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        name = jtab-obj_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        FORMAT COLOR COL_NORMAL INTENSIFIED OFF.&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 jtab-obj_name HOTSPOT ON,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        21 sy-vline ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        22 modsapt-modtext,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        95 sy-vline.&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE:/(95) sy-uline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DESCRIBE TABLE jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SKIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      FORMAT COLOR COL_TOTAL INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE:/ 'No of Exits:' , sy-tfill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WRITE:/(95) 'No User Exit exists'.&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;  ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE:/(95) 'Transaction Code Does Not Exist'.&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Take the user to SMOD for the Exit that was selected.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;  GET CURSOR FIELD field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK field1(4) EQ 'JTAB'.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611416#M599050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: User Exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611417#M599051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Why do you need enhancements ?&lt;/P&gt;&lt;P&gt;The standard applications do not offer some of the functionality you need. The R/3 enchancement concept allows you to add your own functionality to SAP's standard business applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the different types of enhancements ?&lt;/P&gt;&lt;P&gt;Enhancements using customer exits&lt;/P&gt;&lt;P&gt;Customers' potential requirements which are not included in the standard software are incorporated in the standard as empty modification 'shells'. Customers can then fill these with their own coding. Enhancements can relate to programs, menus and screens. Upward compatibility is assured. In other words, SAP guarantees that the jump from the standard software to the exit and the interface which call the exit will remain valid in future releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancements to ABAP/4 Dictionary elements&lt;/P&gt;&lt;P&gt;These are ABAP/4 Dictionary enhancements (creation of table appends), text enhancements (customer-specific key words and documentation for data elements) and field exits (creation of additional coding for data elements).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is customer development ?&lt;/P&gt;&lt;P&gt;Creating customer-specific objects within the customer name range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is SSCR ?&lt;/P&gt;&lt;P&gt;SSCR (SAP Software Change Registration) is a procedure, for registering all manual changes to SAP source coding and SAP Dictionary objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between modifications and enhancements ?&lt;/P&gt;&lt;P&gt;Modifications mean making changes to the SAP standard functionality. &lt;/P&gt;&lt;P&gt;Enhancements mean adding some functionality to SAP standard functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the disadvantages of modification ?&lt;/P&gt;&lt;P&gt;Modifying standard code can lead to errors &lt;/P&gt;&lt;P&gt;Modifications mean more work during software upgrades&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the advantages of enhancements ?&lt;/P&gt;&lt;P&gt;Do not affect standard SAP source code&lt;/P&gt;&lt;P&gt;Do not affect software upgrades&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when do you opt for modification ? &lt;/P&gt;&lt;P&gt;Customer exits are not available for all programs and screens within the R/3 standard applications. You can only use exits if they already exist within the SAP R/3 System . Otherwise you have to opt for modifications .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the various types of customer exits ?&lt;/P&gt;&lt;P&gt;Menu exits&lt;/P&gt;&lt;P&gt;Screen exits&lt;/P&gt;&lt;P&gt;Function module exits &lt;/P&gt;&lt;P&gt;Keyword exits &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a menu exit ?&lt;/P&gt;&lt;P&gt;Adding items to the pulldown menus in standard R/3 applications .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;13.What is a screen exit ?&lt;/P&gt;&lt;P&gt;Adding fields to the screens within R/3 applications. SAP creates screen exits by placing special subscreen areas within a standard R/3 screen and calling a customer subscreen from within the standard dynpro's flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a function module exit ?&lt;/P&gt;&lt;P&gt;Adding functionality to R/3 applications. Function module exits play a role in both menu and screen exits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a keyword exit ?&lt;/P&gt;&lt;P&gt;Add documentation to the data elements of key words defined in the ABAP/4 Dictionary. The system displays this documentation whenever a user presses F1 to get online help for a screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do SAP organizes its exits ?&lt;/P&gt;&lt;P&gt;SAP organizes its exits in packages that are called SAP enhancements. Each SAP enhancement can contain many individual exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Creating menu exits&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For screen exits.&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chech these links for user exists its usefull&lt;/P&gt;&lt;P&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;/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;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/dd/561602545a11d1a7020000e829fd11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/dd/561602545a11d1a7020000e829fd11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab013.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab013.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://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;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:40:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/2611417#M599051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:40:32Z</dc:date>
    </item>
  </channel>
</rss>

