2011 Sep 01 10:24 AM
Hello Guru's,
I have a requirement where in i want the dropdowns for the field dynamically and the ALV is displayed using the frid object CL_GUI_ALV_GRID. For Example, we maitain locations per material in a z-table. in my ALV, we have Location, Material as one of the fields. if i click the dropdown of material on the ALV, i want the materials to be displayed in the dropdown per location . Please post on how to achieve this functionality.
Thanks in advance.
- Ravi.
2011 Sep 02 7:39 AM
Hi,
check program BCALV_TEST_GRID_F4_HELP use event onf4 of cl_gui_alv_grid and register set handler my_event_receiver->on_f4 event and handle it in local class..
Regards,
Ravi.
Hello Guru's,
I have a requirement where in i want the dropdowns for the field dynamically and the ALV is displayed using the frid object CL_GUI_ALV_GRID. For Example, we maitain locations per material in a z-table. in my ALV, we have Location, Material as one of the fields. if i click the dropdown of material on the ALV, i want the materials to be displayed in the dropdown per location . Please post on how to achieve this functionality.
Thanks in advance.
- Ravi.
2011 Sep 02 7:39 AM
Hi,
check program BCALV_TEST_GRID_F4_HELP use event onf4 of cl_gui_alv_grid and register set handler my_event_receiver->on_f4 event and handle it in local class..
Regards,
Ravi.
2011 Sep 02 7:39 AM
2011 Sep 02 7:45 AM
Hi,
you can use the method set_drop_down_table of the class cl_gui_alv_grid.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |