<?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: Incorrect nesting error in user exit include in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/incorrect-nesting-error-in-user-exit-include/m-p/8606808#M1662847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot define a screen module in a function module code.&lt;/P&gt;&lt;P&gt;Refer to available documentation how to properly implement enhancements of this kind. Enhancement name is MM06E005 (in SMOD). Screen definitions and the corresponding modules will happen in function group XM06, not in the exit function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit:&lt;/EM&gt; To elaborate, your PBO module will go into include ZXM06ZZZ, or better yet, into new include ZXM06O01 which should be part of ZXM06ZZZ (just to keep the usual naming convention).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tamas Hoznek on Feb 28, 2012 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2012 22:05:17 GMT</pubDate>
    <dc:creator>Tamas_Hoznek</dc:creator>
    <dc:date>2012-02-28T22:05:17Z</dc:date>
    <item>
      <title>Incorrect nesting error in user exit include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incorrect-nesting-error-in-user-exit-include/m-p/8606807#M1662846</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;In one of my requirement I had to add an additional screen using EXIT_SAPMM06E_016, this Function module exists in XM06 Function group, this exit holds an include ZXM06U41.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function group holds screens, so when I implement a screen and create the PBO module in this particular include, it by default includes &lt;/P&gt;&lt;P&gt;MODULE STATUS_XXX OUTPUT.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i check this include it says:&lt;/P&gt;&lt;P&gt;Incorrect nesting: Before the statement "MODULE", the structure introduced by "FUNCTION" must be concluded with "ENDFUNCTION". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue where the open function is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be very much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 19:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incorrect-nesting-error-in-user-exit-include/m-p/8606807#M1662846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-28T19:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect nesting error in user exit include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/incorrect-nesting-error-in-user-exit-include/m-p/8606808#M1662847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot define a screen module in a function module code.&lt;/P&gt;&lt;P&gt;Refer to available documentation how to properly implement enhancements of this kind. Enhancement name is MM06E005 (in SMOD). Screen definitions and the corresponding modules will happen in function group XM06, not in the exit function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit:&lt;/EM&gt; To elaborate, your PBO module will go into include ZXM06ZZZ, or better yet, into new include ZXM06O01 which should be part of ZXM06ZZZ (just to keep the usual naming convention).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tamas Hoznek on Feb 28, 2012 2:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 22:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/incorrect-nesting-error-in-user-exit-include/m-p/8606808#M1662847</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2012-02-28T22:05:17Z</dc:date>
    </item>
  </channel>
</rss>

