<?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 leave/exit ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837407#M922737</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 want the program to return back to the calling screen, however, &lt;/P&gt;&lt;P&gt;it does not work when i use leave program, it basically leave all the screen, &lt;/P&gt;&lt;P&gt;i try to use exit, set screen 0, but it doesn work, please advise how does it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 02:11:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T02:11:18Z</dc:date>
    <item>
      <title>leave/exit ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837407#M922737</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 want the program to return back to the calling screen, however, &lt;/P&gt;&lt;P&gt;it does not work when i use leave program, it basically leave all the screen, &lt;/P&gt;&lt;P&gt;i try to use exit, set screen 0, but it doesn work, please advise how does it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 02:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837407#M922737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T02:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: leave/exit ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837408#M922738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have u tried LEAVE LIST-PROCESSING. &lt;/P&gt;&lt;P&gt;I think it'll b useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewaerd if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 02:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837408#M922738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T02:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: leave/exit ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837409#M922739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LEAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leave processing.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 2&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION tcod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... AND SKIP FIRST SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Terminates the current processing and starts the (new) transaction tcod .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples&lt;/P&gt;&lt;P&gt;Start Transaction SM02 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION 'SM02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restart current transaction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION SY-TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;... AND SKIP FIRST SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Processes the first screen of the transaction in the background. If possible, the fields on this screen are filled with values from the SAP memory . Therefore, you should set the desired values with SET PARAMETER . If an error occurs when processing the initial screen (due to incorrect or imcomplete parameter values), this is reported and you must correct or complete the input manually on this screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 3&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN scr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the current screen and processes the screen scr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If scr = 0, processing in CALL mode continues after the CALL SCREEN statement. Otherwise, you branch to the transaction selection screen.&lt;/P&gt;&lt;P&gt;Related SET SCREEN , LEAVE SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 4&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the current screen and processes the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the next screen has the number 0 (either defined statically or set dynamically by SET SCREEN 0 ), processing in CALL mode continues after the CALL SCREEN statement. Otherwise, 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;If the next screen is specified dynamically, you can use the short form "LEAVE TO SCREEN scr. " instead of a combination of the " SET SCREEN scr. " and " LEAVE SCREEN. " commands.&lt;/P&gt;&lt;P&gt;Related SET SCREEN , LEAVE TO SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 5&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... AND RETURN TO SCREEN scr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Switches from "dialog processing" (module pool, screens) of the current transaction to "list processing". You can then use all the usual list layout commands ( WRITE , SKIP , ...).&lt;/P&gt;&lt;P&gt;After leaving the current screen, the list formatted in this way is displayed implicitly or explicitly by LEAVE SCREEN . Here, all list programming options are possible, e.g. line selection, F keys , windows.&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING continues with "Processing Before Output" ( PBO ) of the screen which controls the list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;After switching to list processing mode with SET PF-STATUS ... , you are recommended to define a GUI (Graphical User Interface) of type List or List in dialog box .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;... AND RETURN TO SCREEN scr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING continues with "Processing Before Output" ( PBO ) of the screen scr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Using LEAVE LIST-PROCESSING to leave list processing explicitly is only necessary in exceptional cases; normally, the standard F keys (F3 Back and F15 Exit ) are sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Returns from list processing and re-processes the return screen (LEAVE TO LIST-PROCESSING) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING is not required if you use the standard F keys in list processing (F3 Back and F15 Exit ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form 7&lt;/P&gt;&lt;P&gt;LEAVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Leaves the " CALL mode " (introduced by: CALL TRANSACTION , CALL DIALOG , LEAVE TO LIST-PROCESSING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect of LEAVE after&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcod :&lt;/P&gt;&lt;P&gt;Return from the called transaction tcod . Processing continues after " CALL TRANSACTION ... ".&lt;/P&gt;&lt;P&gt;CALL DIALOG dial :&lt;/P&gt;&lt;P&gt;Return from the called dialog module dial . The IMPORT objects of the calling program are passed. Processing continues after " CALL DIALOG ... ".&lt;/P&gt;&lt;P&gt;SUBMIT prog AND RETURN :&lt;/P&gt;&lt;P&gt;Return from the called program prog . Processing continues after the call to " SUBMIT prog ... ".&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN scr :&lt;/P&gt;&lt;P&gt;Return from list processing. The screen scr is reprocessed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;LEAVE is not required if you use standard F keys in the list processing (F3 Back and F15 Exit ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Labels: ABAP SYNTAX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837409#M922739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: leave/exit ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837410#M922740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I have solved the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 07:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/leave-exit/m-p/3837410#M922740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T07:52:39Z</dc:date>
    </item>
  </channel>
</rss>

