<?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/1402143#M194317</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;1. what is the defference between enhancement and user-exits?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm&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="1903570"&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="1714219"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA" target="test_blank"&gt;http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Difference between CMOD and SMOD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap.htm" target="test_blank"&gt;http://www.sap-img.com/abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2006 13:57:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-13T13:57:28Z</dc:date>
    <item>
      <title>user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402139#M194313</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 have two doubts.pls clarify.&lt;/P&gt;&lt;P&gt;1. what is the defference between enhancement and user-exits?&lt;/P&gt;&lt;P&gt;2. Difference between CMOD and SMOD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Janardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402139#M194313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402140#M194314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exits &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen exits are exits that allow you to use a reserved part of the screen (A subscreen) to display or input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is determined be SAP where the sub screen will be displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax is: CALL CUSTOMER-SUBSCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen exit is not processed untill the corresponding subscreen has been created in an enhancement project, &lt;/P&gt;&lt;P&gt;and the project has been activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function codes are only processed in the main screens flow logic&lt;/P&gt;&lt;P&gt;You are not allowed to enter a name for the subscreens command field&lt;/P&gt;&lt;P&gt;You are not allowed to define GUI stauses&lt;/P&gt;&lt;P&gt;You are not allowed to enter a value for Next screen&lt;/P&gt;&lt;P&gt;The global data of the program is not available for the subscreen. Data for the subscreen is provided by function modules. &lt;/P&gt;&lt;P&gt;These function modules belongs to the same function group as the subscreen Subscreens are edited with transaction CMOD. &lt;/P&gt;&lt;P&gt;When you activate a project containg subscreens, the calling screen is regenerated and the subscreen is displayed next &lt;/P&gt;&lt;P&gt;time you display the calling screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The developer must create the subscreen and the corresponding PBO and PAI modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to identify screen exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look after CALL CUSTOMER-SUBSCREEN in the screenprogram of the screen you want to modify.&lt;/P&gt;&lt;P&gt;Use transaction CMOD menu Utillities -&amp;gt; SAP enhancements to search for screen exits&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;MENU EXITS&lt;/P&gt;&lt;P&gt;Menu exits allow you to add your own functionallity to menus. Menu exits are implemented by SAP, and are reserved menu &lt;/P&gt;&lt;P&gt;entries in the GUI interface. The developer can add his/her own text and logic for the menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function codes for menu exits all start with "+" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to create a new menu item in the Office menu. The text for the menu should be "Run ZTEST", and the menu will &lt;/P&gt;&lt;P&gt;run report ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto transaction SE43 Area Menu Maintenance&lt;/P&gt;&lt;P&gt;In Area Menu Paramenter type 'S000' (S triple Zero)&lt;/P&gt;&lt;P&gt;Select Change and ignore all the warning screens&lt;/P&gt;&lt;P&gt;Expand the office menu. In the buttom of the office tree you will find a menu named "Customer function"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the text. In the pop-up screen change the text to "Run ZTEST". Note that the trsnaction code is +C01&lt;/P&gt;&lt;P&gt;Goto transaction SE93 and create transaction +C01 that calls report ZTEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you will se the menu displayed in the office tree. If you delete transaction +C01 again, the new menu will dissapear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER EXITS&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 functionmodule. &lt;/P&gt;&lt;P&gt;The code for the function module is writeen by the developer. You are not writing the code directly in the function module, &lt;/P&gt;&lt;P&gt;but in the include that is implemented in the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The naming standard of function modules for functionmodule exits is: 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: 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;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program for transaction VA01 Create salesorder is SAPMV45A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you search for CALL CUSTOMER-FUNCTION i program SAPMV45A you will find ( Among other user exits):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL CUSTOMER-FUNCTION '003'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;xvbak = vbak&lt;/P&gt;&lt;P&gt;xvbuk = vbuk&lt;/P&gt;&lt;P&gt;xkomk = tkomk&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;lvf_subrc = lvf_subrc&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;xvbfa = xvbfa&lt;/P&gt;&lt;P&gt;xvbap = xvbap&lt;/P&gt;&lt;P&gt;xvbup = xvbup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit calls function module EXIT_SAPMV45A_003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to find user exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the Exit name, go to transaction CMOD. Choose menu Utillities-&amp;gt;SAP Enhancements. &lt;/P&gt;&lt;P&gt;Enter the exit name and press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will now come to a screen that shows the function module exits for the exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Using Project management of SAP Enhancements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to create a project to enahance trasnaction VA01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction CMOD&lt;/P&gt;&lt;P&gt;Create a project called ZVA01&lt;/P&gt;&lt;P&gt;Choose the Enhancement assign radio button and press the Change button&lt;/P&gt;&lt;P&gt;In the first column enter V45A0002 Predefine sold-to party in sales document . Note that an enhancement can only &lt;/P&gt;&lt;P&gt;be used i 1 project. If the enhancement is allready in use, and error message will be displayed&lt;/P&gt;&lt;P&gt;Press Save&lt;/P&gt;&lt;P&gt;Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.&lt;/P&gt;&lt;P&gt;Now the function module is displayed. Double click on include ZXVVAU04 in the function module&lt;/P&gt;&lt;P&gt;Insert the following code into the include: E_KUNNR = '2155'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the include program. Go back to CMOD and activate the project. &lt;/P&gt;&lt;P&gt;Goto transaction VA01 and craete a salesorder. Note that Sold-to-party now automatically is "2155"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have look at this links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/ole.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/ole.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIOFFI/BCCIOFFI.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP context , interfaces are only of two types.&lt;/P&gt;&lt;P&gt;1) INBOUND interfaces&lt;/P&gt;&lt;P&gt;2)OUTBOUND Interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INBOUND:(from external system data is fetched as flat files which is moved to SAP database tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this process we get data in the form of flat files(.txt or .xlx). we will read this data from the files using FM like UPLOAD/WS_UPLOAD/GUI_UPLOAD into internal&lt;/P&gt;&lt;P&gt;tables. And using BDC methods or LSMW tool, we will update the database tables with this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTBOUND:(Data from SAP dtabase is retrieved adn stored as flatfiles on presentaion server or application server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this process we retrieve data using select statements from the database tables and will populate the internal tables. based on the requirement, we will use FM like DOWNLOAD/WS_DOWNLAOD/GUI_DOWNLOAD to write data from internal tables to flat files on th presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*the above mentioned Fm will work for files on presentaion server(local file system) . IF u want to handle files on the application server, use DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other technologies that u mentioned like RFC, BAPI, EDI,ALE, IDOCS etc might be used as apart of interface code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402140#M194314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402141#M194315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Janajana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;What is User Exits?&amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt;The following document is about exits in SAP :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The R/3 enhancement concept allows you to add your own functionality to SAP&amp;#146;s standard business applications without having to modify the original applications.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP creates user 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;&lt;/P&gt;&lt;P&gt;Types of Exits  &lt;/P&gt;&lt;P&gt;There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu Exits &lt;/P&gt;&lt;P&gt;Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item&amp;#146;s text when activating the item in an add-on project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen Exits &lt;/P&gt;&lt;P&gt;Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen&amp;#146;s flow logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Module Exits  &lt;/P&gt;&lt;P&gt;Function module exits add functions 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;When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These calls have the following syntax:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL CUSTOMER-FUNCTION &amp;#145;001&amp;#146;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Exits &lt;/P&gt;&lt;P&gt;Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field.  Example: The data element BBBNR identifies a company&amp;#146;s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field exit concept lets you create a special function module that contains this logic.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.6c, you can use "RSMODPRF" program to create field exits. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of a user exits :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE user_exit_0001 INPUT  
    CASE okcode. 
        WHEN 'BACK OR EXIT'. 
            CASE sy-dynnr. 
                    WHEN '100'. 
                         SET SCREEN 0. 
                         LEAVE SCREEN. 
                    WHEN '200'. 
****************************************************************************** 
**** Note that you can write any code that satisfy your needs.                                                     **** 
**** But in this case, this was wrote as a sample code for reference sake.                                    **** 
**** And you can test it.                                                                                **** 
******************************************************************************  
                         SET SCREEN 100. 
                         LEAVE SCREEN. 
             ENDCASE. 
      ENDCASE. &lt;/CODE&gt;&lt;/PRE&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; Here is difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="914973"&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="1642041"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402141#M194315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402142#M194316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;diff between cmod and smod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMOD is the Project Management of SAP Enhancements (i.e., SMOD Enhancements). SMOD contains the actual enhancements and CMOD is the grouping of those SMOD enhancements.  &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 function module 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;For Example:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program for transaction VA01 Create salesorder is SAPMV45A &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you search for CALL CUSTOMER-FUNCTION program SAPMV45A you will find ( Among other user exits):  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL CUSTOMER-FUNCTION '003' &lt;/P&gt;&lt;P&gt;  exporting &lt;/P&gt;&lt;P&gt;    xvbak   = vbak &lt;/P&gt;&lt;P&gt;    xvbuk   = vbuk &lt;/P&gt;&lt;P&gt;    xkomk   = tkomk &lt;/P&gt;&lt;P&gt;  importing &lt;/P&gt;&lt;P&gt;    lvf_subrc = lvf_subrc &lt;/P&gt;&lt;P&gt;  tables &lt;/P&gt;&lt;P&gt;    xvbfa = xvbfa &lt;/P&gt;&lt;P&gt;    xvbap = xvbap &lt;/P&gt;&lt;P&gt;    xvbup = xvbup.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit calls function module EXIT_SAPMV45A_003  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How to find user exits  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the Exit name, go to transaction CMOD. Choose menu Utillities-&amp;gt;SAP Enhancements.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the exit name and press enter.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will now come to a screen that shows the function module exits for the exit.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use this ABAP program to search for user exits :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding the user-exits of a SAP transaction code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Using Project management of SAP Enhancements  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to create a project to enhance transaction VA01 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Go to transaction CMOD &lt;/P&gt;&lt;P&gt;- Create a project called ZVA01 &lt;/P&gt;&lt;P&gt;- Choose the Enhancement assign radio button and press the Change button &lt;/P&gt;&lt;P&gt;In the first column enter V45A0002 Predefine sold-to party in sales document . Note that an enhancement can only be used for 1 project. If the enhancement is allready in use, and error message will be displayed &lt;/P&gt;&lt;P&gt;- Press Save &lt;/P&gt;&lt;P&gt;- Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002.  &lt;/P&gt;&lt;P&gt;- Double Click on the exit. &lt;/P&gt;&lt;P&gt;Now the function module is displayed. Double click on include ZXVVAU04 in the function module &lt;/P&gt;&lt;P&gt;Insert the following code into the include: E_KUNNR = '2155'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate the include program. Go back to CMOD and activate the project.  &lt;/P&gt;&lt;P&gt;Goto transaction VA01 and create a salesorder. Note that Sold-to-party now automatically is "2155"  &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;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402142#M194316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: user exits</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402143#M194317</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;1. what is the defference between enhancement and user-exits?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm&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="1903570"&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="1714219"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA" target="test_blank"&gt;http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Difference between CMOD and SMOD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap.htm" target="test_blank"&gt;http://www.sap-img.com/abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2006 13:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exits/m-p/1402143#M194317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-13T13:57:28Z</dc:date>
    </item>
  </channel>
</rss>

