<?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 on table control column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725152#M1109350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when using F4 on POV, event is triggered but there is no event triggered when we use dropdown list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 06:24:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-31T06:24:42Z</dc:date>
    <item>
      <title>Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725144#M1109342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to give dropdown list on one column of table control. The value of this dropdown list varies on values of different column, which means values in list is not constant for all the rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725144#M1109342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T05:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725145#M1109343</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;I dont think this can be done in table control as the field in all rows share common properties such as F4 help. So if u assign a list of values to one row field it will reflect in all rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725145#M1109343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T05:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725146#M1109344</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;With F4 help you can give different values to different rows using process on value request event, but i need with dropdown list...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725146#M1109344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T05:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725147#M1109345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dialog programming select the i/o field and in the Attributes check on the Dropdown checkbox (F2 key for attributes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use f.m vrm_set_value to fill the list box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725147#M1109345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T05:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725148#M1109346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I tried this one also, but i need to display different values for different rows...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 05:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725148#M1109346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725149#M1109347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you can populate different F4 help for different rows i think its no more difficult to do it as dropdown. Just check the Dropdown checkbox in the I/O field attributes and then on POV populate the F4 help according to the row number. Now it will display it in dropdown list. Remember that only F4 values are being displayed in dropdown lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725149#M1109347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725150#M1109348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in flow logic&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;here it is for one field ..&lt;/P&gt;&lt;P&gt;but u can create n number.&lt;/P&gt;&lt;P&gt;  FIELD sdyn_conn-carrid MODULE create_dropdown_box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  field -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;in se38..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE create_dropdown_box INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fill the field here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725150#M1109348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725151#M1109349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It is possible using separate Dropdown handle for separate cells. If you are using cl_gui_alv_grid for your table control then you can try this method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set_drop_down_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  DATA: lt_dropdown TYPE lvc_t_drop,
        ls_dropdown TYPE lvc_s_drop,
       go_grid_ctrl TYPE REF TO cl_gui_alv_grid,
       ls_alv_fc    TYPE lvc_s_fcat.

* First listbox (handle '1').
  ls_dropdown-handle = '1'.
  ls_dropdown-value = 'A'.
  APPEND ls_dropdown TO lt_dropdown.

  ls_dropdown-handle = '1'.
  ls_dropdown-value = 'B'.
  APPEND ls_dropdown TO lt_dropdown.

  ls_dropdown-handle = '1'.
  ls_dropdown-value = 'C'.
  APPEND ls_dropdown TO lt_dropdown.

  CALL METHOD go_grid_ctrl-&amp;gt;set_drop_down_table
    EXPORTING
      it_drop_down = lt_dropdown.
 
 refresh lt_dropdown.
* Second listbox (handle '2').
  ls_dropdown-handle = '2'.
  ls_dropdown-value = 'D'.
  APPEND ls_dropdown TO lt_dropdown.

  ls_dropdown-handle = '2'.
  ls_dropdown-value = 'E'.
  APPEND ls_dropdown TO lt_dropdown.

  ls_dropdown-handle = '2'.
  ls_dropdown-value = 'F'.
  APPEND ls_dropdown TO lt_dropdown.

  CALL METHOD go_grid_ctrl-&amp;gt;set_drop_down_table
    EXPORTING
      it_drop_down = lt_dropdown.

ls_alv_fc-drdn_field = '1'.  " For handle 1 ( so it will have A,B,C)

"for another cell give handle '2'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the above way you can set the handle to the cell accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725151#M1109349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown on table control column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725152#M1109350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when using F4 on POV, event is triggered but there is no event triggered when we use dropdown list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 06:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dropdown-on-table-control-column/m-p/4725152#M1109350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T06:24:42Z</dc:date>
    </item>
  </channel>
</rss>

