<?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 populate dropdown list inside table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257466#M778015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, can anyone tell me which lines of codes actually populate the dropdown list inside the table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the path: 1. inside DWDM&lt;/P&gt;&lt;P&gt;                       2. under interface elements - table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. will reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 06:56:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T06:56:18Z</dc:date>
    <item>
      <title>populate dropdown list inside table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257466#M778015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, can anyone tell me which lines of codes actually populate the dropdown list inside the table control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the path: 1. inside DWDM&lt;/P&gt;&lt;P&gt;                       2. under interface elements - table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. will reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 06:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257466#M778015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T06:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: populate dropdown list inside table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257467#M778016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Evonne&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not used table controls for many years but if I remember correctly then you can set in the &lt;STRONG&gt;attributes&lt;/STRONG&gt; of the table control field whether it should be of type "dropdown list". If the field is linked to a value table via foreign key or to a domain containing fixed values they should be displayed as dropdown list.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 20:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257467#M778016</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-01-08T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: populate dropdown list inside table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257468#M778017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Evonne on Jan 15, 2008 7:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 06:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257468#M778017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T06:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: populate dropdown list inside table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257469#M778018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evonne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field which you want as a dropdown should be chosen as a Listbox from the attributes of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this to be filled with values, you have to use the Funtion Module : VRM_SET_VALUES in the PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a smal example of how to use this FM. Implement the same in the PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPE-POOLS : vrm.

PARAMETERS : p_c(5) TYPE c AS LISTBOX VISIBLE LENGTH 5.

DATA : name1 TYPE vrm_id,
       list1 TYPE vrm_values,
       value1 LIKE LINE OF list1.
DATA : n TYPE i.

AT SELECTION-SCREEN OUTPUT.
  name1 = 'P_C'.

  DO 5 TIMES.
    value1-key = n.
    value1-text = n.
    APPEND value1 TO list1.
    n = n + 1.
  ENDDO.

  CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = name1
            values = list1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 06:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257469#M778018</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2008-01-15T06:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: populate dropdown list inside table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257470#M778019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi evonne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a normal dropdown list first . later add the drop down into yr tablecontrol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if helped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 08:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-dropdown-list-inside-table-control/m-p/3257470#M778019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-15T08:09:13Z</dc:date>
    </item>
  </channel>
</rss>

