<?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: Difference between EXIT and LEAVE THE PROGRAM in WHEN statement. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014515#M1166949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXIT stmt will leave the current porcessing block&lt;/P&gt;&lt;P&gt;The LEAVE PROGRAM stmt will leave the Executing Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2009 04:11:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-20T04:11:26Z</dc:date>
    <item>
      <title>Difference between EXIT and LEAVE THE PROGRAM in WHEN statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014512#M1166946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell the difference between EXIT and LEAVE THE PROGRAM in WHEN statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Creasy Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 02:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014512#M1166946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T02:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between EXIT and LEAVE THE PROGRAM in WHEN statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014513#M1166947</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;EXIT will take you out from the Current Processing Block i.e WHEN , whereas LEAVE PROGRAM will terminate the program.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 03:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014513#M1166947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T03:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between EXIT and LEAVE THE PROGRAM in WHEN statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014514#M1166948</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;LEAVE PROGRAM always leaves the current program - there is never any processing after LEAVE PROGRAM !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While If you use the EXIT statement within an event block but not in a loop, the system stops processing the block immediatelyand If the EXIT statement occurs inside a DO, WHILE, or LOOP loop, it is the loop that terminates, not the processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it will help you.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 04:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014514#M1166948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T04:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between EXIT and LEAVE THE PROGRAM in WHEN statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014515#M1166949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXIT stmt will leave the current porcessing block&lt;/P&gt;&lt;P&gt;The LEAVE PROGRAM stmt will leave the Executing Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2009 04:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-the-program-in-when-statement/m-p/5014515#M1166949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-20T04:11:26Z</dc:date>
    </item>
  </channel>
</rss>

