<?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 screen challenge in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476484#M557510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys here one interesting question about screens.&lt;/P&gt;&lt;P&gt; I have two screen numbering 100,200. screen 100 have two push buttons GOTO,EXIT. screen 200 have one push button BACK. if i click GOTO in screen100 that should call screen 200. if i click EXIT first time ,that should not respond.if i click EXIT second time that should exit out of program. condition is no conditional statements should not be used. only we can use if sy-ucomm = 'EXIT'.&lt;/P&gt;&lt;P&gt;TRY OUT&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE,&lt;/P&gt;&lt;P&gt;REWARD POINTS IF ANSWERED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 12:57:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T12:57:18Z</dc:date>
    <item>
      <title>screen challenge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476484#M557510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys here one interesting question about screens.&lt;/P&gt;&lt;P&gt; I have two screen numbering 100,200. screen 100 have two push buttons GOTO,EXIT. screen 200 have one push button BACK. if i click GOTO in screen100 that should call screen 200. if i click EXIT first time ,that should not respond.if i click EXIT second time that should exit out of program. condition is no conditional statements should not be used. only we can use if sy-ucomm = 'EXIT'.&lt;/P&gt;&lt;P&gt;TRY OUT&lt;/P&gt;&lt;P&gt;THANKS IN ADVANCE,&lt;/P&gt;&lt;P&gt;REWARD POINTS IF ANSWERED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 12:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476484#M557510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T12:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: screen challenge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476485#M557511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what u wnat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZV_SDN_DIALOG .
DATA: FLAG.
CALL SCREEN 100.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_0100 INPUT.
  IF SY-UCOMM = 'GOTO'.
    CALL SCREEN 200.
  ELSEIF SY-UCOMM = 'EXIT'.
    IF FLAG IS INITIAL.
      FLAG = 'X'.
    ELSE.
      LEAVE PROGRAM.
    ENDIF.
  ENDIF.

ENDMODULE.                 " USER_COMMAND_0100  INPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  USER_COMMAND_0200  INPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_0200 INPUT.
  IF SY-UCOMM = 'EXIT'.
*    CALL SCREEN 200.
    LEAVE TO SCREEN 100.
  ENDIF.
ENDMODULE.                 " USER_COMMAND_0200  INPUT

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 13:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476485#M557511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T13:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: screen challenge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476486#M557512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use count inside if condition and write the code like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-ucomm = 'EXIT'.&lt;/P&gt;&lt;P&gt;if count = 2.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;count = count + 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&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>Tue, 26 Jun 2007 13:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-challenge/m-p/2476486#M557512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T13:09:10Z</dc:date>
    </item>
  </channel>
</rss>

