<?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: Menu Exit  &amp; Screen Exit Implementation Step by Step Implementation Needed: in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664475#M614847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&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, 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. These function modules belongs to the same function group as the subscreen&lt;/P&gt;&lt;P&gt;Subscreens are edited with transaction CMOD. When you activate a project containg subscreens, the calling screen is regenerated and the subscreen is displayed next time you display the calling screen&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 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. The code for the function module is writeen 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;&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. 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 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;Please check if the thread given below would be of any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#&lt;/A&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2007 18:58:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-24T18:58:33Z</dc:date>
    <item>
      <title>Menu Exit  &amp; Screen Exit Implementation Step by Step Implementation Needed:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664474#M614846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am in need of how to implement Menu Exit and Screen Exit using a simple&lt;/P&gt;&lt;P&gt; example.If any step by step implementation through snapshots were it will be&lt;/P&gt;&lt;P&gt; helpful instead just some links that doesn't work after some steps due to version&lt;/P&gt;&lt;P&gt; changes or not proper steply explanations.Points will be rewarded accordingly.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks for your help in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 18:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664474#M614846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Exit  &amp; Screen Exit Implementation Step by Step Implementation Needed:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664475#M614847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudha,&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, 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. These function modules belongs to the same function group as the subscreen&lt;/P&gt;&lt;P&gt;Subscreens are edited with transaction CMOD. When you activate a project containg subscreens, the calling screen is regenerated and the subscreen is displayed next time you display the calling screen&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 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. The code for the function module is writeen 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;&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. 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 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;Please check if the thread given below would be of any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#" target="test_blank"&gt;http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/menu-exits-72696#&lt;/A&gt;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 18:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664475#M614847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T18:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Exit  &amp; Screen Exit Implementation Step by Step Implementation Needed:</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664476#M614848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helpful Document .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2008 00:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-exit-screen-exit-implementation-step-by-step-implementation-needed/m-p/2664476#M614848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-26T00:52:08Z</dc:date>
    </item>
  </channel>
</rss>

