<?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: Multiple(dependent)Dropdown Listboxes in the ALV grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167914#M996409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; But the values which are populated for the second list box are not coming...if i create new screen n grid then those values r coming...Can anyone please suggest a way...&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure this is right way. But i have done is by forcing the PBO&lt;/P&gt;&lt;P&gt;using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call method cl_gui_cfw=&amp;gt;set_new_ok_code
    exporting
      new_code = 'DUMMY'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 14:22:12 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2008-07-14T14:22:12Z</dc:date>
    <item>
      <title>Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167913#M996408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query regarding the muliple Listboxes in the grid...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My reqmnt is..I have 3 List boxes..in the Grid...&lt;/P&gt;&lt;P&gt;For The first list box i will be having some values..after selecting one of the values for the first listbox..depending on that value,i need to read the different values for the second and depending on listbox1 and listbox2 i need to populate the values into listbox3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem im facing is...populating the second &amp;amp; third listboxes..depending on the first one...&lt;/P&gt;&lt;P&gt;i have used Method:&lt;/P&gt;&lt;P&gt;    CALL METHOD g_grid-&amp;gt;set_drop_down_table in PBO&lt;/P&gt;&lt;P&gt;to have the dropdown table.(I'm Putting conditions to know whether the first listbox value is selected r not...n populating according to that value to the listbox table.)&lt;/P&gt;&lt;P&gt;     and       &lt;/P&gt;&lt;P&gt;CALL METHOD g_grid-&amp;gt;check_changed_data&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_valid = l_valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL METHOD g_grid-&amp;gt;get_current_cell&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_row     = e_row&lt;/P&gt;&lt;P&gt;          e_value   = e_value&lt;/P&gt;&lt;P&gt;          e_col     = e_col&lt;/P&gt;&lt;P&gt;          es_row_id = es_row_id&lt;/P&gt;&lt;P&gt;          es_col_id = es_col_id&lt;/P&gt;&lt;P&gt;          es_row_no = es_row_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO know the changed data..n which row is changed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the values which are populated for the second list box are not coming...if i create new screen n grid then those values r coming...Can anyone please suggest a way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167913#M996408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167914#M996409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; But the values which are populated for the second list box are not coming...if i create new screen n grid then those values r coming...Can anyone please suggest a way...&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure this is right way. But i have done is by forcing the PBO&lt;/P&gt;&lt;P&gt;using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call method cl_gui_cfw=&amp;gt;set_new_ok_code
    exporting
      new_code = 'DUMMY'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167914#M996409</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167915#M996410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi a®s,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U mean..after selecting the First listbox..we need some user   interaction(PAI)..which inturn triggers the PBO..But even if u trigger PBO Automatically..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think so..whether it solves my problem..r not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167915#M996410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167916#M996411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After selecting the first list box you need to trigger the PBO and fill up the listbox values second &amp;amp; third in the PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will get work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167916#M996411</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T14:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167917#M996412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used that method..its not triggering PBO..of the custom container..more over its taking me out of screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean PBO is not trigeering..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167917#M996412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T14:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167918#M996413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and moreover if i create 3 containers..the changed values r coming ..but if i have single container..those values r not coming on to the contianer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167918#M996413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T14:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167919#M996414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; and moreover if i create 3 containers..the changed values r coming ..but if i have single container..those values r not coming on to the contianer.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means grid is not refreshed if you are using single container?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For triggering the PBO forcibily try to do this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: WA_EVENT TYPE CNTL_SIMPLE_EVENTS.

WA_EVENT = CL_GUI_ALV_GRID=&amp;gt;EVT_ENTER.
APPEND WA_EVENT TO T_EVENTS.

CALL METHOD &amp;lt;MY_GRID&amp;gt;-&amp;gt;SET_REGISTERED_EVENTS
EXPORTING
EVENTS = T_EVENTS.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you should capture this event in DATA_CHANGED event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then go for NEW OK_CODE method that will trigger the PBO forcibly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:02:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167919#M996414</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T15:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167920#M996415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How u used evt_enter?its a protected method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so how to access that???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167920#M996415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T15:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple(dependent)Dropdown Listboxes in the ALV grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167921#M996416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL METHOD alv_grid-&amp;gt;register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also please look at program BCALV_TEST_GRID_EVENTS&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 15:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-dependent-dropdown-listboxes-in-the-alv-grid/m-p/4167921#M996416</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-14T15:21:10Z</dc:date>
    </item>
  </channel>
</rss>

