<?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: EXIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200156#M130843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anandha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the command &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; to leave the current processed function module or method. Just the same behavior like in Java. I think this command came not a long time ago but it works fine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2006 10:03:20 GMT</pubDate>
    <dc:creator>ralf_geiger</dc:creator>
    <dc:date>2006-01-05T10:03:20Z</dc:date>
    <item>
      <title>EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200152#M130839</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;I have a scenario where in a inbound function module, i need to stop idoc processing at some place if an condition is not met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use exit it either exits the current loop or block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any command to stop whatever may be the processing after that.&lt;/P&gt;&lt;P&gt;if i have 1000 lines of code and in the 5th line if i issue some command, it shouldn't process remaining lines&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 08:24:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200152#M130839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200153#M130840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use '&amp;lt;b&amp;gt;STOP&amp;lt;/b&amp;gt;' statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STOP is followed immediately by the END-OF-SELECTION processing. If you do not want this, you may have to use EXIT instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajasekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 08:39:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200153#M130840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T08:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200154#M130841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Control the command with an If statement,Exit should take you out of the block, but normally you must not use an exit in such conditions. Put a flag and set it accordingly and check it using the IF-ENDIF clause,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 08:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200154#M130841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-05T08:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200155#M130842</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;PRE&gt;&lt;CODE&gt;stop.
leave program.
message ... type x.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look into command help for details, first one still executes printout, last one is short-dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 08:41:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200155#M130842</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-01-05T08:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200156#M130843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anandha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the command &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; to leave the current processed function module or method. Just the same behavior like in Java. I think this command came not a long time ago but it works fine &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2006 10:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/1200156#M130843</guid>
      <dc:creator>ralf_geiger</dc:creator>
      <dc:date>2006-01-05T10:03:20Z</dc:date>
    </item>
  </channel>
</rss>

