<?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: Screen module pool programing - leave screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303917#M1223174</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;Where are you writing leave screen, that also would matter....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are writing leave screen in the user_exit where you are calling that screen, then possible it will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to debug once you call the screen where exactly the control goes... and when you come back from the screen where exactly the control goes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2009 16:05:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-16T16:05:51Z</dc:date>
    <item>
      <title>Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303915#M1223172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling screen in one of the user exit of standard Transaction (CO15). after getting some data I want to return to the code back in user exit. I try with leave screen, lleave program but it directly exit me from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to exit from that screen and come back to user exit code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 15:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303915#M1223172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T15:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303916#M1223173</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;Try..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 16:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303916#M1223173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303917#M1223174</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;Where are you writing leave screen, that also would matter....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are writing leave screen in the user_exit where you are calling that screen, then possible it will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to debug once you call the screen where exactly the control goes... and when you come back from the screen where exactly the control goes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 16:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303917#M1223174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T16:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303918#M1223175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; another way to proceed is set value 0 in proprierties tab of the screen, in the field "next screen".&lt;/P&gt;&lt;P&gt;Then after the last instruction of the PAI of your custom screen, the code returns after the call screen.&lt;/P&gt;&lt;P&gt;And you don't have to put the LEAVE SCREEN instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 16:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303918#M1223175</guid>
      <dc:creator>andrea_galluccio2</dc:creator>
      <dc:date>2009-03-16T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303919#M1223176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working any of the above way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 16:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303919#M1223176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T16:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303920#M1223177</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;What happens when you do LEAVE TO SCREEN 0.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw...how are you calling the screen..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you using &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL SCREEN 'Screen Number'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 17:02:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303920#M1223177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T17:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303921#M1223178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I call the screen using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 0100(screen #).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in PAI module on back command or any command I want to go back to user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SAVE'.&lt;/P&gt;&lt;P&gt;"call a subroutine to save the data or give statements to save data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;LEAVE to screen 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 17:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303921#M1223178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T17:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303922#M1223179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module USER_COMMAND_0100 input.&lt;/P&gt;&lt;P&gt;clear ok_code.&lt;/P&gt;&lt;P&gt;ok_code = sy-ucomm.    &amp;lt;--- Collect SY-UCOMM in ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SAVE'.&lt;/P&gt;&lt;P&gt;"call a subroutine to save the data or give statements to save data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;SET SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 03:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303922#M1223179</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-03-17T03:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303923#M1223180</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 set screen &amp;lt;screen_number&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 03:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303923#M1223180</guid>
      <dc:creator>former_member632729</dc:creator>
      <dc:date>2009-03-17T03:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Screen module pool programing - leave screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303924#M1223181</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;Check the below&lt;/P&gt;&lt;P&gt;leave to screen "screen numebr"&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;Anki Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 05:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-module-pool-programing-leave-screen/m-p/5303924#M1223181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T05:07:18Z</dc:date>
    </item>
  </channel>
</rss>

