<?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/3677086#M885512</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;For Standard transaction SAP provided the  the enhancements(for ex:for xd01  SAPMF02D). The enhancements having one user exit or more than one user exit (user exit:EXIT_ SAPMF02D_001.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Userexit is a methodology using which we can add our custom code in the SAP Standard transaction without disturbing the SAP Standard code. SAP will provide enhancement for one transaction. We can have more then one enhancement. Enhancement is a container with a set of userexits. SAP will provide only definition of the exit. Which does not contain any standard code. In the relevant transaction program SAP will call their exit as a standard. The Userexit needs to be implemented inorder to provide a custom logic to serve business requirement.&lt;/P&gt;&lt;P&gt;   SMOD: It is used to find the enhancement related to different applications.&lt;/P&gt;&lt;P&gt;   CMOD: It is used to implement the userexit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 types of exits available:&lt;/P&gt;&lt;P&gt;1)	Function-module Exits,&lt;/P&gt;&lt;P&gt;2)	Menu exits,&lt;/P&gt;&lt;P&gt;3)	Screen exits and&lt;/P&gt;&lt;P&gt;4)	Field exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Functionmodule exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    These exits are used to provide additional functionality to SAP standard transaction. By default SAP is not provided this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example my requirement is, when user create or change customer and the customer belongs to US Country the Industry sector (brsch) field is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Find the enhancement. For that one goes to SMOD.&lt;/P&gt;&lt;P&gt;Click on F4 on Enhancement. We Search for enhancement. In this case we can           found the enhancement by giving the Description: &lt;STRONG&gt;mast&lt;/STRONG&gt;. We got the enhancement as&lt;/P&gt;&lt;P&gt;SAPMF02D: User exits: Customer master data.&lt;/P&gt;&lt;P&gt;(Or)&lt;/P&gt;&lt;P&gt; We find the enhancement at transaction level,&lt;/P&gt;&lt;P&gt;     Go to XD01 transaction click on System/Status/double click on Program name&lt;/P&gt;&lt;P&gt;     In this program we search for &amp;#147;CALL customer-function&amp;#146;. We get the all related exits the starts with EXIT name._ enhancementname_Threedigitnumber. Sometimes it Will not an enhancement &lt;/P&gt;&lt;P&gt;Step2: Go to CMOD create the custom project.&lt;/P&gt;&lt;P&gt;           Click on Enhancement assignments button&lt;/P&gt;&lt;P&gt;                 Give the Enhancement name: SAPMF02D&lt;/P&gt;&lt;P&gt;Step 3: Click on Components button. Under that we found the one function module:&lt;/P&gt;&lt;P&gt;EXIT_ SAPMF02D_001. Double Click on that function module. In the Source code tab of this function module SAP provide the one Zinclude. SAP doesn&amp;#146;t know our requirement. In this Zinclude we provide our own custom logic to make of the parameters provided in import, export and tables section.&lt;/P&gt;&lt;P&gt;We write the following code:&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 i_kna1-land1 = 'US' AND			&lt;/P&gt;&lt;P&gt;i_kna1-brsch = ' &amp;#145;.&lt;/P&gt;&lt;P&gt;MESSAGE e001 (f2) WITH &amp;#145; Industry sector should not be blank for US Customers&amp;#146;.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step4: SAVE, CHECH and ACTIVATE the Cutsom project.&lt;/P&gt;&lt;P&gt;Step5: Now go to XD01 Transaction We perform our requirement. After we don&amp;#146;t        want that requirement go to CMOD and deactivated the custom project.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;If it is helpful rewards points&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pratap.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2008 14:15:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-15T14:15:50Z</dc:date>
    <item>
      <title>user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677083#M885509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is enhancement and user exits?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677083#M885509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677084#M885510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exits &amp;amp; Customer Exits :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exits: These are subroutines used in the SAP namespace 'hard-coded' at various points within SAP Repository objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer Exits :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Menu Exits: Menu exits add items to the pull down menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications. These special entries have function codes that begin with "+" (a plus sign).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Screen Exits: Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special sub screen areas on a standard R/3 screen and calling a customer sub screen from the standard screen&amp;#146;s flow logic. It is called by call customer- sub screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Function Module Exits :Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits. When you add a new menu item to a standard pulldown menu, you use a function module exit to define the actions that should take place once your menu is activated. Function module exits also control the data flow between standard programs and screen exit fields.&lt;/P&gt;&lt;P&gt;It is called by Call Customer- function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:55:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677084#M885510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677085#M885511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Welcome To SDN !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customizing exits allow you to add your own functionality to SAP&amp;#146;s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.&lt;/P&gt;&lt;P&gt;If you want to enhance the functionality of your R/3 System, you should take advantage of the exits available in standard R/3 applications. There are two main reasons why you should use exits rather than modifying SAP software yourself. Add-ons attached to exits have the advantage that:&lt;/P&gt;&lt;P&gt;&amp;#149; They do not affect standard SAP source code&lt;/P&gt;&lt;P&gt;When you add new functionality to your SAP System using SAP&amp;#146;s exits, you do not alter the source code of standard SAP programs in any way. The code and screens you create are encapsulated as separate objects. These customer objects are linked to standard applications, but exist separately from SAP&amp;#146;s standard software package.&lt;/P&gt;&lt;P&gt;&amp;#149; They do not affect software updates&lt;/P&gt;&lt;P&gt;When you add new functionality to your R/3 System using SAP&amp;#146;s exits, your objects (called customer objects) must adhere to strict naming conventions. When it comes time to upgrade a to a new software release, customer objects&amp;#146; names ensure that they will not be affected by any changes or new additions to the standard software package. &lt;/P&gt;&lt;P&gt;Customer exits are not available for all programs and screens found in R/3 standard applications. You can only use customer exits if they already exist in the R/3 System. You find find more information about locating applications with pre-defined exits in Locating Applications that have Exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As part of the enhancement concept, it is possible for the customer to &lt;/P&gt;&lt;P&gt;add his own elements to application logic, screens and menus. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current possibilities for enhancement are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text enhancements: &lt;/P&gt;&lt;P&gt;Allow the customer to add supplementary documentation for data fields &lt;/P&gt;&lt;P&gt;non-specific to a transaction, and to change key word texts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field exits: &lt;/P&gt;&lt;P&gt;Every screen element with data element reference can branch to PBO or &lt;/P&gt;&lt;P&gt;prior to PAI to a function module if desired. The field contents are &lt;/P&gt;&lt;P&gt;available here for doing special checks and making changes (e.g. user- &lt;/P&gt;&lt;P&gt;specific checks, authority checks, writing entered data and producing &lt;/P&gt;&lt;P&gt;statistics...). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function exits: &lt;/P&gt;&lt;P&gt;From the main program you branch into a software level, in which you you&lt;/P&gt;&lt;P&gt;can store ABAP/4 coding. The applications programmer at SAP determines &lt;/P&gt;&lt;P&gt;where in the main program the function exit is placed, and which data is&lt;/P&gt;&lt;P&gt;imported/exported via the interface. The accompanying documentation &lt;/P&gt;&lt;P&gt;describes the functionality of the function exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu enhancements: &lt;/P&gt;&lt;P&gt;Pre-conceived menu items can be activated and named. On the function code &lt;/P&gt;&lt;P&gt;set at menu item selection, there can be a reaction in a relevant &lt;/P&gt;&lt;P&gt;function exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen enhancements: &lt;/P&gt;&lt;P&gt;The customer can determine the layout of areas in screens provided by the &lt;/P&gt;&lt;P&gt;applications developer. Here, additional information can be displayed or &lt;/P&gt;&lt;P&gt;data entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this SAP hlep on User exits.&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;Take a look here&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;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;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677085#M885511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677086#M885512</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;For Standard transaction SAP provided the  the enhancements(for ex:for xd01  SAPMF02D). The enhancements having one user exit or more than one user exit (user exit:EXIT_ SAPMF02D_001.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Userexit is a methodology using which we can add our custom code in the SAP Standard transaction without disturbing the SAP Standard code. SAP will provide enhancement for one transaction. We can have more then one enhancement. Enhancement is a container with a set of userexits. SAP will provide only definition of the exit. Which does not contain any standard code. In the relevant transaction program SAP will call their exit as a standard. The Userexit needs to be implemented inorder to provide a custom logic to serve business requirement.&lt;/P&gt;&lt;P&gt;   SMOD: It is used to find the enhancement related to different applications.&lt;/P&gt;&lt;P&gt;   CMOD: It is used to implement the userexit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 types of exits available:&lt;/P&gt;&lt;P&gt;1)	Function-module Exits,&lt;/P&gt;&lt;P&gt;2)	Menu exits,&lt;/P&gt;&lt;P&gt;3)	Screen exits and&lt;/P&gt;&lt;P&gt;4)	Field exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Functionmodule exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    These exits are used to provide additional functionality to SAP standard transaction. By default SAP is not provided this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example my requirement is, when user create or change customer and the customer belongs to US Country the Industry sector (brsch) field is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1: Find the enhancement. For that one goes to SMOD.&lt;/P&gt;&lt;P&gt;Click on F4 on Enhancement. We Search for enhancement. In this case we can           found the enhancement by giving the Description: &lt;STRONG&gt;mast&lt;/STRONG&gt;. We got the enhancement as&lt;/P&gt;&lt;P&gt;SAPMF02D: User exits: Customer master data.&lt;/P&gt;&lt;P&gt;(Or)&lt;/P&gt;&lt;P&gt; We find the enhancement at transaction level,&lt;/P&gt;&lt;P&gt;     Go to XD01 transaction click on System/Status/double click on Program name&lt;/P&gt;&lt;P&gt;     In this program we search for &amp;#147;CALL customer-function&amp;#146;. We get the all related exits the starts with EXIT name._ enhancementname_Threedigitnumber. Sometimes it Will not an enhancement &lt;/P&gt;&lt;P&gt;Step2: Go to CMOD create the custom project.&lt;/P&gt;&lt;P&gt;           Click on Enhancement assignments button&lt;/P&gt;&lt;P&gt;                 Give the Enhancement name: SAPMF02D&lt;/P&gt;&lt;P&gt;Step 3: Click on Components button. Under that we found the one function module:&lt;/P&gt;&lt;P&gt;EXIT_ SAPMF02D_001. Double Click on that function module. In the Source code tab of this function module SAP provide the one Zinclude. SAP doesn&amp;#146;t know our requirement. In this Zinclude we provide our own custom logic to make of the parameters provided in import, export and tables section.&lt;/P&gt;&lt;P&gt;We write the following code:&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 i_kna1-land1 = 'US' AND			&lt;/P&gt;&lt;P&gt;i_kna1-brsch = ' &amp;#145;.&lt;/P&gt;&lt;P&gt;MESSAGE e001 (f2) WITH &amp;#145; Industry sector should not be blank for US Customers&amp;#146;.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step4: SAVE, CHECH and ACTIVATE the Cutsom project.&lt;/P&gt;&lt;P&gt;Step5: Now go to XD01 Transaction We perform our requirement. After we don&amp;#146;t        want that requirement go to CMOD and deactivated the custom project.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;If it is helpful rewards points&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pratap.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 14:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677086#M885512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677087#M885513</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;Enhancements:&lt;/P&gt;&lt;P&gt;that is, inserting user developments at points predefined by SAP. We have Customer exits, Userexits and BAdi's which are predefined by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Userexits:&lt;/P&gt;&lt;P&gt;User exits are actually empty subroutines that SAP developers provide for you. You can fill them with your own source code.&lt;/P&gt;&lt;P&gt;The original purpose of user exits was to allow the user to avoid  modification adjustment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 14:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677087#M885513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677088#M885514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kovile,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go through the following link,&lt;/P&gt;&lt;P&gt;it will give you the detailed description about user exits and enhancements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://sap.niraj.tripod.com/id21.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if usefull,&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;A.kalyan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/3677088#M885514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:15:10Z</dc:date>
    </item>
  </channel>
</rss>

