<?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: populating select-options dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322392#M165790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tanveer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. Rich Heilman responded with the code snippet I was looking for. I dont know whether that is a NODE or a TABLE. I presume a table, what do you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Sumit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2006 18:36:03 GMT</pubDate>
    <dc:creator>former_member192818</dc:creator>
    <dc:date>2006-05-12T18:36:03Z</dc:date>
    <item>
      <title>populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322389#M165787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done some reports with Select-options, but all the fields directly related to some field in a transparent table. As many of you might have experienced, things changed with the latest report that I have to develop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to derive the drop-down for the select-options dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody provide me with the details, code snippets, hints on how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Sumit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 17:15:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322389#M165787</guid>
      <dc:creator>former_member192818</dc:creator>
      <dc:date>2006-05-12T17:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322390#M165788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;drop-down for the select-options dynamically&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Can u please elaborate..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Dynamic selection..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE &amp;lt;node&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;allows you to define further nodes for dynamic selections. If the node has type T, you can use TABLE instead of NODE. The user can then decide at runtime the components of the node for which he or she wants to enter selections. Dynamic selections require special handling in the database program. &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;Tanveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 17:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322390#M165788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T17:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322391#M165789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example program where you are generically defining the select-option and building its F4 help at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: begin of ihelp occurs 0,
      field type char10,
      ftext type char50,
      end of ihelp.
data: a_field(20) type c.

select-options s_field for a_field.

initialization.

  ihelp-field = 'A'.
  ihelp-ftext = 'Description A'.
  append ihelp.

  ihelp-field = 'B'.
  ihelp-ftext = 'Description B'.
  append ihelp.

  ihelp-field = 'C'.
  ihelp-ftext = 'Description C'.
  append ihelp.

at selection-screen on value-request for s_field-low.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'FIELD'
            dynprofield = 'S_FIELD'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = ihelp.

start-of-selection.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 17:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322391#M165789</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-12T17:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322392#M165790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tanveer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. Rich Heilman responded with the code snippet I was looking for. I dont know whether that is a NODE or a TABLE. I presume a table, what do you say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Sumit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 18:36:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322392#M165790</guid>
      <dc:creator>former_member192818</dc:creator>
      <dc:date>2006-05-12T18:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322393#M165791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich, That was what I was looking for.&lt;/P&gt;&lt;P&gt;Sumit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 18:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322393#M165791</guid>
      <dc:creator>former_member192818</dc:creator>
      <dc:date>2006-05-12T18:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: populating select-options dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322394#M165792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool,  please make sure mark your post as solved when solved completely. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 18:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-select-options-dynamically/m-p/1322394#M165792</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-12T18:46:49Z</dc:date>
    </item>
  </channel>
</rss>

