<?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: Question about subscreen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694819#M623656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use leave screen statement .. but set next screen attribute of the subscreen to '0100'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Aug 2007 06:53:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-19T06:53:51Z</dc:date>
    <item>
      <title>Question about subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694815#M623652</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;In my program, my main screen is 0100 and I have a subscreen 0200. When I'm in subscreen 0200 and click on the Back (green arrow) button, it always execute the Exit Command of my main screen. In the Exit module of my main screen, I have &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE V_OKCODE.&lt;/P&gt;&lt;P&gt;    WHEN C_EXIT OR C_BACK.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is what I want when I'm in my main screen as this will exit my program. However, when I'm in my subscreen, it will also fire this code and exit the program entirely, which is not what I want. What I need is when I'm in my subscreen and click on the Back button, I need to exit to my main screen and if I'm in my main, I will exit the program if click on Back button again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 08:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694815#M623652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T08:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694816#M623653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just write LEAVE SCREEN instead of LEAVE TO SCREEN 0 and see.&lt;/P&gt;&lt;P&gt;CASE V_OKCODE.&lt;/P&gt;&lt;P&gt;WHEN C_EXIT OR C_BACK.&lt;/P&gt;&lt;P&gt;LEAVE  SCREEN .&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694816#M623653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question about subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694817#M623654</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 tried LEAVE SCREEN, and it didn't even leave to the main screen. It stays at the subscreen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 09:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694817#M623654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question about subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694818#M623655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me with this? My program only has 1 back button on the top, but have multiple subscreens. How can I exit a subscreen to the main screen by clicking on the back button? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried LEAVE SCREEN, nothing happen, &lt;/P&gt;&lt;P&gt;I have tries LEAVE TO SCREEN 0, the subscreen exit the program entirely, which is not what I want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2007 06:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694818#M623655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-19T06:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about subscreen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694819#M623656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use leave screen statement .. but set next screen attribute of the subscreen to '0100'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2007 06:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-subscreen/m-p/2694819#M623656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-19T06:53:51Z</dc:date>
    </item>
  </channel>
</rss>

