<?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: problem in calling a selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487866#M1256041</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;In the PAI event of the screens 100,200, write the below statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN &amp;lt;numb&amp;gt; (usually if it is a report program, the selection screen no will be 1000)&lt;/P&gt;&lt;P&gt;other wise from the selection screen, Menu-&amp;gt;status(to get the selection screen no)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2009 09:35:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-14T09:35:57Z</dc:date>
    <item>
      <title>problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487864#M1256039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;    Please see the code below.&lt;/P&gt;&lt;P&gt;when r_rbr = 'X', I'm calling sel screen 100.&lt;/P&gt;&lt;P&gt;when r_cvr = 'X', I'm calling selection screen 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that when I call screen 100 or 200 &amp;amp; press BACK button, even then also it goes to start of selection.Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON RADIOBUTTON  GROUP r1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF g_flag IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF r_rbr = c_x.&lt;/P&gt;&lt;P&gt;*BREAK-POINT.&lt;/P&gt;&lt;P&gt;      CALL SELECTION-SCREEN 100.&lt;/P&gt;&lt;P&gt;      g_flag  = 'X'.&lt;/P&gt;&lt;P&gt;    ELSEIF r_cvr = c_x.&lt;/P&gt;&lt;P&gt;      CALL SELECTION-SCREEN 200.&lt;/P&gt;&lt;P&gt;      g_flag  = 'X'.&lt;/P&gt;&lt;P&gt;&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;START-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fetch data from data base tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF r_rbr = c_x&lt;/P&gt;&lt;P&gt;   AND g_flag NE 'X'.&lt;/P&gt;&lt;P&gt;    PERFORM fetch_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM data_consolidate.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF r_cvr = c_x.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; AND g_flag NE 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM fetch_data1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 09:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487864#M1256039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487865#M1256040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to handle PF_STATUS for your screens &amp;amp; module_exit_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set 'E' in the status for your back button, when you press this it'll come out of the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 09:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487865#M1256040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487866#M1256041</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;In the PAI event of the screens 100,200, write the below statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN &amp;lt;numb&amp;gt; (usually if it is a report program, the selection screen no will be 1000)&lt;/P&gt;&lt;P&gt;other wise from the selection screen, Menu-&amp;gt;status(to get the selection screen no)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 09:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487866#M1256041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487867#M1256042</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;Do it this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Tables : SSCRFIELDS.  " Added

AT SELECTION-SCREEN ON RADIOBUTTON GROUP r1.

IF g_flag IS INITIAL.

IF r_rbr = c_x.
*BREAK-POINT.
CALL SELECTION-SCREEN 100.
g_flag = 'X'.
clear sscrfields-ucomm.      " Added line
ELSEIF r_cvr = c_x.
CALL SELECTION-SCREEN 200.
g_flag = 'X'.
clear sscrfields-ucomm.  " Added line
ENDIF.
ENDIF.

START-OF-SELECTION.
* fetch data from data base tables
IF r_rbr = c_x
AND g_flag NE 'X'.
PERFORM fetch_data.

PERFORM data_consolidate.
ENDIF.

IF r_cvr = c_x.
* AND g_flag NE 'X'.

PERFORM fetch_data1.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this does not work&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>Tue, 14 Apr 2009 09:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487867#M1256042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487868#M1256043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 09:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487868#M1256043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem in calling a selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487869#M1256044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddharth,&lt;/P&gt;&lt;P&gt;  Its not working yet...when I'm executing the program on second screen..its throwing me on first screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 09:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-a-selection-screen/m-p/5487869#M1256044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T09:58:53Z</dc:date>
    </item>
  </channel>
</rss>

