<?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: Dropdown List in Tablecontrol in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401301#M193986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, as you sugested, the best thing to do is a change in the application design.  I was trying to do an imposible task. Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks to all for the comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2006 15:34:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-23T15:34:56Z</dc:date>
    <item>
      <title>Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401289#M193974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble filling the dropdown lists that I have in a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI, I'm filling the dropdown lists with the correct information. The problem is, that all of the dropdown lists (rows) are being filled with the same information.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I'm able to identify an specific field name of a row? (I think that is the problem).  Please any help solving this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code that I have:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT it_ztac0004.&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-id_tip_comision.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-descripcion.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-grp_comision.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-opcion.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-subscreen.&lt;/P&gt;&lt;P&gt;      FIELD wa_ztac0004-met_extraccion.&lt;/P&gt;&lt;P&gt;      MODULE tc_ztac0004_modify ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FIELD wa_ztac0004-mandt&lt;/P&gt;&lt;P&gt;      MODULE tc_ztac0004_mark ON REQUEST.&lt;/P&gt;&lt;P&gt;    &amp;lt;b&amp;gt;MODULE set_drops.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;MODULE set_drops INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: wa_tabla4 LIKE LINE OF it_ztac0004,&lt;/P&gt;&lt;P&gt;        nombre_campo TYPE VRM_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: it_lista1 TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;        wa_lista1 LIKE LINE OF it_lista1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: it_ztac0020 TYPE TABLE OF ztac0020,&lt;/P&gt;&lt;P&gt;        wa_ztac0020 LIKE LINE OF it_ztac0020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  nombre_campo = 'wa_ztac0004-opcion'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE it_ztac0004 INTO wa_tabla4 INDEX tc_ztac0004-current_line.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT * FROM ZTAC0020 INTO TABLE it_ztac0020&lt;/P&gt;&lt;P&gt;      WHERE grp_comision = wa_tabla4-grp_comision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      LOOP AT it_ztac0020 INTO wa_ztac0020.&lt;/P&gt;&lt;P&gt;        wa_lista1-key = wa_ztac0020-opcion.&lt;/P&gt;&lt;P&gt;        wa_lista1-text = wa_ztac0020-opcion.&lt;/P&gt;&lt;P&gt;        APPEND wa_lista1 TO it_lista1.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&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                    = nombre_campo&lt;/P&gt;&lt;P&gt;          values                = it_lista1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " set_drops  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 23:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401289#M193974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T23:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401290#M193975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you need to be filling your drop downs during PBO, not PAI.  I'm checking.&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>Wed, 21 Jun 2006 23:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401290#M193975</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-21T23:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401291#M193976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,  this needs to be done in the PBO.  See the module below.  You can see that ITAB-FIELD is a field in the table control.  This field will have a listbox, you can do the same for all of your fields of the ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


module status_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

data: ivrm_values type vrm_values.
data: xvrm_values like line of ivrm_values.
data: name type vrm_id.


&amp;lt;b&amp;gt;  name = 'ITAB-FIELD'.&amp;lt;/b&amp;gt;

  xvrm_values-key = '1234567890'.
  xvrm_values-text = '1234567890'.
  append xvrm_values to ivrm_values.

  xvrm_values-key = '0987654321'.
  xvrm_values-text = '0987654321'.
  append xvrm_values to ivrm_values.

  call function 'VRM_SET_VALUES'
    exporting
      id     = name
      values = ivrm_values.

endmodule.                 " STATUS_0100  OUTPUT

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course this works for all rows, not specific rows of the table control.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 23:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401291#M193976</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-21T23:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401292#M193977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it matters too much where you fill the dropdown list (unless the contents change dynamically) the main thing is to get the pf4 to work. You need to associate a help module (pai) pf4 button with the specific field, it doesn't matter if this field is in a table control or not. This module will need to display the contents of the table which you have built earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg,&lt;/P&gt;&lt;P&gt; PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;     FIELD ZNRW_TC-COL01 MODULE col01_HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 00:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401292#M193977</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-22T00:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401293#M193978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neil, this is not a value request, but a listbox,  doing a module under PROCESS ON VALUE-REQUEST will not do the job, this is for F4 help, not listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Listboxes should be built in the PBO, before the screen is thrown.&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>Thu, 22 Jun 2006 00:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401293#M193978</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-22T00:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401294#M193979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if that's the case then I apologise, but Felipe didn't actually say listbox.... he said dropdown list which could be taken to mean the conventional pf4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 00:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401294#M193979</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-06-22T00:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401295#M193980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very true, Neil.  There is always some confusion about the two.  But in his code, he is using.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = nombre_campo
values = it_lista1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which tells me, that he is trying to use ListBoxes.&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>Thu, 22 Jun 2006 01:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401295#M193980</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-22T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401296#M193981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe Andres Contreras,&lt;/P&gt;&lt;P&gt;To get Drop Drown Box on screen  .&lt;/P&gt;&lt;P&gt;Follow these steps.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Go to T.Code SE51 and Select Laypout for the Screen.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Double click on the field for which u want Dropdown box.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Save and Activate ur screen .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;5&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Enter the following peice of code in the PBO of the screen.(Change for ur requirement).&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TYPE-POOLS :vrm&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;DATA:i_natio TYPE vrm_values,&lt;/P&gt;&lt;P&gt;w_natio LIKE LINE OF i_natio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_t005t OCCURS 0,&lt;/P&gt;&lt;P&gt;land1 TYPE t005t-land1,&lt;/P&gt;&lt;P&gt;natio TYPE t005t-natio,&lt;/P&gt;&lt;P&gt;END OF i_t005t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF i_t005t[] IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT land1 natio&lt;/P&gt;&lt;P&gt;FROM t005t&lt;/P&gt;&lt;P&gt;INTO TABLE i_t005t&lt;/P&gt;&lt;P&gt;WHERE spras = sy-langu.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;LOOP AT i_t005t .&lt;/P&gt;&lt;P&gt;w_natio-key = i_t005t-land1.&lt;/P&gt;&lt;P&gt;w_natio-text = i_t005t-natio.&lt;/P&gt;&lt;P&gt;APPEND w_natio TO i_natio.&lt;/P&gt;&lt;P&gt;CLEAR w_natio.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;b&amp;gt;'VRM_SET_VALUES'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = 'I_IT0002-NATIO'&amp;lt;b&amp;gt; This is screen field name&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;values = i_natio&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;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;6&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Observe the above code and change as for ur requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it helps a lot.&lt;/P&gt;&lt;P&gt;Let me know ,if u have any problem creating Dropdownbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat.O&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 01:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401296#M193981</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2006-06-22T01:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401297#M193982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all thanks for the quick response to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Rich's sugestion, in the PBO and it is having the same result. If a put the name attribute with 'ITAB-FIELD' that particular ListBox is not being filled with the information that I want, Or it fills all the fields in each row with the same information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do, is that from a particular value of other field in the tablecontrol the listbox will be filled with some data. This initial value, can be different in each row of the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can identify one field from one row? Because I think that if I can pass the name of the field to the VRM_SET_VALUES FM, will solved the problem&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;row1Field1 row1Field2 row1Field3&lt;/P&gt;&lt;P&gt;row2Field1 &amp;lt;b&amp;gt;row2Field2&amp;lt;/b&amp;gt; row2Field3&lt;/P&gt;&lt;P&gt;row3Field1 row3Field2 row3Field3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 14:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401297#M193982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T14:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401298#M193983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't do this for specific rows of the table control.  You do it for a field,  it is the same for all rows for that field.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is it this way?   Well,  lets think about it, does it make any sense, to have different default values for the same field in different rows of the table control.  In most business cases, I would say no.  There are exceptions of course.  You may want to re-think your design.&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>Thu, 22 Jun 2006 14:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401298#M193983</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-22T14:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401299#M193984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;As Rich said the values showing for that will be same for &lt;/P&gt;&lt;P&gt;all the rows in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List is the internal table holding the values to be displayed in the drop down&lt;/P&gt;&lt;P&gt; z123-kostl is the field in the table control for which you need drop down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all this has to be in PBO&lt;/P&gt;&lt;P&gt;type-pools : vrm.&lt;/P&gt;&lt;P&gt;DATA: LIST  TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;      VALUE LIKE LINE OF LIST,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     NAME TYPE VRM_ID.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      VRM_ID TYPE VRM_VALUE-TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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              = 'z123-kostl'&lt;/P&gt;&lt;P&gt;            VALUES          = LIST&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;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;let me know if you need anything else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 14:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401299#M193984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401300#M193985</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;Check the Demo Program &amp;lt;b&amp;gt;RSDEMO_TABLE_CONTROL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 14:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401300#M193985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T14:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401301#M193986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, as you sugested, the best thing to do is a change in the application design.  I was trying to do an imposible task. Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thanks to all for the comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2006 15:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401301#M193986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-23T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401302#M193987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Decision.  Glad to help.&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, 23 Jun 2006 15:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401302#M193987</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-23T15:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown List in Tablecontrol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401303#M193988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the type pool VRM to create the drop down in IW31 using the enhancement IWO10018. The drop down menu comes correctly.The field is a mandatory field.The selected value is also shown in the textbox.But when I click on any other tab of the screen,the selected value is deleted and system again asks to fill the value saying 'Fill in all mandatory fields'.&lt;/P&gt;&lt;P&gt;    How to capture the selected value so that it can be used for further processing ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2008 11:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-list-in-tablecontrol/m-p/1401303#M193988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-03T11:19:25Z</dc:date>
    </item>
  </channel>
</rss>

