10-03-2008 10:37 AM
Hi all,
How can we get multiple ALV Grid panes in single output.
Is it possible to get the same without using OOPS.
Thanks in advance.
Eswar
10-03-2008 10:50 AM
Hi,
You can do this by creating 2 custom controls on the layout of the screen, and then you will also need to create 2 custom containers in your ABAP program, 1 for each ALV.
Ex :
grid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
grid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
regards,
Advait
10-03-2008 10:40 AM
Using OOPS, you can have two (or more) different custom controls on a single screen with half screen space for each.
Also study transaction DWDM.
Regards,
Aparna
10-03-2008 10:50 AM
Hi,
You can do this by creating 2 custom controls on the layout of the screen, and then you will also need to create 2 custom containers in your ABAP program, 1 for each ALV.
Ex :
grid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
grid TYPE REF TO cl_gui_alv_grid,
custom_container TYPE REF TO cl_gui_custom_container,
regards,
Advait
10-03-2008 12:17 PM
Thanks for your replies,
And can we put push buttons on every pane in a single output.
thanks,
Eswar
10-03-2008 12:20 PM
10-03-2008 12:23 PM
yes it is possible to have different buttons on each output. with the help of TOOL_BAR event you can do it.
check the program
BCALV_GRID_05