<?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 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144901#M991043</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;  The EXIT command will stop the LOOP passings, exit from the SUBROUTINES..etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the current program and continues processing after CALL TRANSACTION , CALL DIALOG or SUBMIT prog AND RETURN .&lt;/P&gt;&lt;P&gt;If you use LEAVE TO TRANSACTION , SUBMIT prog or start the program via the transaction menu or a transaction code, you branch to the transaction selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 07:28:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T07:28:44Z</dc:date>
    <item>
      <title>difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144900#M991042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what is the difference between exit and leave program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to come to sap screen which one have to use.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;srii.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144900#M991042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T07:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144901#M991043</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;  The EXIT command will stop the LOOP passings, exit from the SUBROUTINES..etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the current program and continues processing after CALL TRANSACTION , CALL DIALOG or SUBMIT prog AND RETURN .&lt;/P&gt;&lt;P&gt;If you use LEAVE TO TRANSACTION , SUBMIT prog or start the program via the transaction menu or a transaction code, you branch to the transaction selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144901#M991043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144902#M991044</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;use EXIT statement to come on to the main SAP Screen if you want to come back to the program then use LEAVE PROGRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Bhamidipati on Jul 11, 2008 9:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144902#M991044</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-11T07:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144903#M991045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sridhar ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit is a command used with to come out of the loops while leave program is used to leave the running program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following programs ;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9f893f17493c17e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9f893f17493c17e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEAVE PROGRAM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144903#M991045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T07:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144904#M991046</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:&lt;/P&gt;&lt;P&gt;If the EXIT statement is listed within a loop, it leaves the loop by ending the current loop process. Program execution is continued after the closing statement in the loop. &lt;/P&gt;&lt;P&gt;Outside of a loop, the EXIT statement leaves the current processing block. But better to use Exit inside the loop only! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM:&lt;/P&gt;&lt;P&gt;This statement immediately ends the current main program and deletes its internal session - including all loaded programs, instances, and their data . &lt;/P&gt;&lt;P&gt;The LEAVE PROGRAM statement can appear anywhere within any processing blocks. It ends the program regardless of the program/object or the program group of the internal session in which it is executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144904#M991046</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-07-11T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144905#M991047</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;&lt;/P&gt;&lt;P&gt;EXIT is used to end the Further processing after The EXIT Statement if the condition does not meet.&lt;/P&gt;&lt;P&gt;The output before EXIT is then Displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But LEAVE PROGRAM is used to Leave the defined program just after the the Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally if to Coming Back to Calling Program after the Processing of Called Program it is used.Or After a Certain Statement if you want to Leave the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the link-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9f893f17493c17e10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9f893f17493c17e10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/ABAP/CALL%20ANOTHER%20PROGRAM%20FROM%20LIST.html" target="test_blank"&gt;http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/ABAP/CALL%20ANOTHER%20PROGRAM%20FROM%20LIST.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144905#M991047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T07:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144906#M991048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The EXIT command will stop the LOOP passings, exit from the SUBROUTINES..etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the current program and continues processing after CALL TRANSACTION , CALL DIALOG or SUBMIT prog AND RETURN .&lt;/P&gt;&lt;P&gt;If you use LEAVE TO TRANSACTION , SUBMIT prog or start the program via the transaction menu or a transaction code, you branch to the transaction selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144906#M991048</guid>
      <dc:creator>S0023931147</dc:creator>
      <dc:date>2008-07-11T07:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit and leave program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144907#M991049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXIT&lt;/STRONG&gt; is mainly used &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In Events&lt;/STRONG&gt; (to leave the event and to process further) . &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In Loops&lt;/STRONG&gt; (to exit from the current loop). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LEAVE PROGRAM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; Leaves the current program and continues processing after CALL TRANSACTION, CALL DIALOG or SUBMIT prog AND RETURN . &lt;/P&gt;&lt;P&gt;If you use LEAVE TO TRANSACTION, SUBMIT prog or start the program via the transaction menu or a transaction code, you branch to the transaction selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM always leaves the current program - &lt;STRONG&gt;there is never any processing after LEAVE PROGRAM!&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 07:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-and-leave-program/m-p/4144907#M991049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T07:40:18Z</dc:date>
    </item>
  </channel>
</rss>

