<?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: VRM_SET_VALUES for Table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280292#M496418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you try using F4 help instead of list box.. &lt;/P&gt;&lt;P&gt; In that case, you can use f4_int_help_value_request in teh POV module for that field. In taht case, you can read the line number and populate the corresponding values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2011 09:18:52 GMT</pubDate>
    <dc:creator>lijisusan_mathews</dc:creator>
    <dc:date>2011-07-15T09:18:52Z</dc:date>
    <item>
      <title>VRM_SET_VALUES for Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280290#M496416</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;We are currently using VRM_SET_VALUES function module to control the listbox values inside a table control. However, we would like to have different listbox values for different rows on the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Row 1/Field1 will have the following listbox values: A/B/C/D&lt;/P&gt;&lt;P&gt;Row 2/Field1 will have the following listbox values: E/F/G/H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, since a the fields in a table control will have the same fieldname, regardless of what Row the field is in, once you pass the field name to VRM_SET_VALUES, all fields will have the same listbox values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field_id = tcontrol-field1.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     ID                    = field_id -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; The field on the table control&lt;/P&gt;&lt;P&gt;     VALUES          = values_itab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ID_ILLEGAL_NAME       = 1&lt;/P&gt;&lt;P&gt;    OTHERS                = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What will happen above is all the tcontrol-field1 fields (regardless of row) will have the same listbox values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to control the listbox values per row ? Is there another FM available ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 10:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280290#M496416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T10:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: VRM_SET_VALUES for Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280291#M496417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem... How did you solve it?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 08:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280291#M496417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-15T08:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: VRM_SET_VALUES for Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280292#M496418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you try using F4 help instead of list box.. &lt;/P&gt;&lt;P&gt; In that case, you can use f4_int_help_value_request in teh POV module for that field. In taht case, you can read the line number and populate the corresponding values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 09:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vrm-set-values-for-table-control/m-p/2280292#M496418</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2011-07-15T09:18:52Z</dc:date>
    </item>
  </channel>
</rss>

