<?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: Multiple Selection-Screen Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399937#M10170</link>
    <description>&lt;P&gt;Be careful, AT SELECTION-SCREEN is called after input for any of the 3 selection screens (1000, 0100, 0200). You should test the system variable SY-DYNNR (screen number) to decide which code to run.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 22:30:53 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2017-01-04T22:30:53Z</dc:date>
    <item>
      <title>Multiple Selection-Screen Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399936#M10169</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am creating a program that is prompting the user to either enter inputs, or reference a file that has inputs.  When I use the below code, the program creates a begin screen that prompts the user, then correctly navigates to the manual / file input reference.  The issue comes when the user inputs the information then clicks execute, the program does not process, but when you click (F3) back, the program processes.&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
*&amp;amp; SELECT-OPTIONS &amp;amp; PARAMETER DECLARATION&lt;BR /&gt;
*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
parameters: rb1 RADIOBUTTON GROUP ab,&lt;BR /&gt;
 rb2 RADIOBUTTON GROUP ab.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen begin of screen 100 title TEXT-T03.&lt;BR /&gt;
parameters: P_BUKRS like PAYR-ZBUKR obligatory,&lt;BR /&gt;
 P_HBKID like PAYR-HBKID obligatory.&lt;BR /&gt;
select-options P_HKTID for PAYR-HKTID.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen end of screen 100.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen begin of screen 200.&lt;BR /&gt;
parameters: P_FNAME type STRING obligatory.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen end of screen 200.&lt;BR /&gt;
&lt;BR /&gt;
at SELECTION-SCREEN.&lt;BR /&gt;
 if rb1 = 'X'.&lt;BR /&gt;
 call SELECTION-SCREEN 100.&lt;BR /&gt;
 perform GET_CHECKS_FOR_YEAR.&lt;BR /&gt;
 perform FIND_KUKEY.&lt;BR /&gt;
 perform FIND_OPEN_CHECKS.&lt;BR /&gt;
 perform UPDATE_OPEN_CHECKS.&lt;BR /&gt;
 else.&lt;BR /&gt;
 call SELECTION-SCREEN 200.&lt;BR /&gt;
 perform READ_UNIX_FILE.&lt;BR /&gt;
 endif.
&lt;BR /&gt;
&lt;BR /&gt;
end-of-selection.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 21:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399936#M10169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-04T21:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection-Screen Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399937#M10170</link>
      <description>&lt;P&gt;Be careful, AT SELECTION-SCREEN is called after input for any of the 3 selection screens (1000, 0100, 0200). You should test the system variable SY-DYNNR (screen number) to decide which code to run.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399937#M10170</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-01-04T22:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection-Screen Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399938#M10171</link>
      <description>&lt;P&gt;Thank you, Sandra.  I updated to the code below and it looks to work properly now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
*&amp;amp; SELECT-OPTIONS &amp;amp; PARAMETER DECLARATION&lt;BR /&gt;
*&amp;amp;---------------------------------------------------------------------*&lt;BR /&gt;
parameters: rb1 RADIOBUTTON GROUP ab,&lt;BR /&gt;
 rb2 RADIOBUTTON GROUP ab.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen begin of screen 100 title TEXT-T03.&lt;BR /&gt;
parameters: P_BUKRS like PAYR-ZBUKR obligatory,&lt;BR /&gt;
 P_HBKID like PAYR-HBKID obligatory.&lt;BR /&gt;
select-options P_HKTID for PAYR-HKTID.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen end of screen 100.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen begin of screen 200.&lt;BR /&gt;
parameters: P_FNAME type STRING obligatory.&lt;BR /&gt;
&lt;BR /&gt;
selection-screen end of screen 200.&lt;BR /&gt;
&lt;BR /&gt;
start-of-selection.&lt;BR /&gt;
&lt;BR /&gt;
 if SY-DYNNR EQ 1000.&lt;BR /&gt;
 if rb1 = 'X'.&lt;BR /&gt;
 call SELECTION-SCREEN 100.&lt;BR /&gt;
 perform GET_CHECKS_FOR_YEAR.&lt;BR /&gt;
 perform FIND_KUKEY.&lt;BR /&gt;
 perform FIND_OPEN_CHECKS.&lt;BR /&gt;
 perform UPDATE_OPEN_CHECKS.&lt;BR /&gt;
 else.&lt;BR /&gt;
 call SELECTION-SCREEN 200.&lt;BR /&gt;
 PERFORM READ_UNIX_FILE.&lt;BR /&gt;
 endif.&lt;BR /&gt;
 endif.&lt;BR /&gt;
&lt;BR /&gt;
end-of-selection.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399938#M10171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-05T14:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection-Screen Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399939#M10172</link>
      <description>&lt;P&gt;Or,  hide the fields dependant on the value of the radio buttons.  Then on the at selection screen output event,  either activate or deactivate the fields.  that is a lot simpler than having to handle sub screens and the like.  You then end up with a standard report  and making decisions based upon parameters rather than screen numbers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Rich&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399939#M10172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-05T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection-Screen Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399940#M10173</link>
      <description>&lt;P&gt;You don't need anymore SY-DYNNR because your code is in event START-OF-SELECTION (SY-DYNNR is to be used only in events AT SELECTION-SCREEN).&lt;/P&gt;&lt;P&gt;Moreover, the event END-OF-SELECTION is not needed as it doesn't contain any code (and it's usually only for the obsolete "logical databases").&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 23:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-screen-issue/m-p/399940#M10173</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-01-05T23:08:37Z</dc:date>
    </item>
  </channel>
</rss>

