<?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: Dynamic Selection Screen based on database seletion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196216#M1202473</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;This is a duplicate thread, similar kind of thread is already available .....&lt;/P&gt;&lt;P&gt;with the subject    :    Dynamic calling of radiobuttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways, &lt;/P&gt;&lt;P&gt;possibly you can think of two ways,&lt;/P&gt;&lt;P&gt;say at the maximum the entry in the database table goes to 20 records and you know that it will not go more than that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can create 20 radiobuttons and using at selection-screen output events hide radiobuttons based on the records present.&lt;/P&gt;&lt;P&gt;say only 4 records are present.&lt;/P&gt;&lt;P&gt;so hide 16 radiobuttons and display only 4 of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other way.&lt;/P&gt;&lt;P&gt;say if there can be n number of records and you dont know the maximum number it can reach then &lt;/P&gt;&lt;P&gt;in the initialization event.&lt;/P&gt;&lt;P&gt;create a report at runtime with the parameter statement as radiobutton .&lt;/P&gt;&lt;P&gt;and then call that report in initialization event itself. this will display the dynamically created radiobutton.&lt;/P&gt;&lt;P&gt;&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;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 22:08:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T22:08:09Z</dc:date>
    <item>
      <title>Dynamic Selection Screen based on database seletion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196214#M1202471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gurus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just have simple selection screen with a few radio buttons &lt;/P&gt;&lt;P&gt;However, I would like the radio button show up based on database table criterias:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. if there is no data in table1, the radio button 1 will not showing up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used "SELECT * from table..." and check the return value sy-subrc, if it is not equals 4 (4 means no data in the table), then I put the radio button clause there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, it does not work this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 21:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196214#M1202471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T21:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen based on database seletion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196215#M1202472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the help on LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 21:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196215#M1202472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T21:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen based on database seletion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196216#M1202473</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;This is a duplicate thread, similar kind of thread is already available .....&lt;/P&gt;&lt;P&gt;with the subject    :    Dynamic calling of radiobuttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways, &lt;/P&gt;&lt;P&gt;possibly you can think of two ways,&lt;/P&gt;&lt;P&gt;say at the maximum the entry in the database table goes to 20 records and you know that it will not go more than that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can create 20 radiobuttons and using at selection-screen output events hide radiobuttons based on the records present.&lt;/P&gt;&lt;P&gt;say only 4 records are present.&lt;/P&gt;&lt;P&gt;so hide 16 radiobuttons and display only 4 of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the other way.&lt;/P&gt;&lt;P&gt;say if there can be n number of records and you dont know the maximum number it can reach then &lt;/P&gt;&lt;P&gt;in the initialization event.&lt;/P&gt;&lt;P&gt;create a report at runtime with the parameter statement as radiobutton .&lt;/P&gt;&lt;P&gt;and then call that report in initialization event itself. this will display the dynamically created radiobutton.&lt;/P&gt;&lt;P&gt;&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;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 22:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196216#M1202473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T22:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen based on database seletion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196217#M1202474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liang,&lt;/P&gt;&lt;P&gt;  You can validate your above requirement in &lt;STRONG&gt;at selection-screen&lt;/STRONG&gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;loop at screen&lt;/STRONG&gt; and take help of this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES :&lt;/P&gt;&lt;P&gt;  SFLIGHT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT-OPTIONS S_CARRID FOR SFLIGHT-CARRID ."MODIF ID SC1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt; IF SCREEN-NAME CS 'S_CARRID-HIGH'.&lt;/P&gt;&lt;P&gt; SCREEN-ACTIVE = 0 .&lt;/P&gt;&lt;P&gt; MODIFY SCREEN.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much Regards,&lt;/P&gt;&lt;P&gt;Amuktha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 04:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196217#M1202474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T04:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Selection Screen based on database seletion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196218#M1202475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Amuktha: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, I got it now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Liang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen-based-on-database-seletion/m-p/5196218#M1202475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T14:45:04Z</dc:date>
    </item>
  </channel>
</rss>

