Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple ALV Grid Panes in single screen

former_member853013
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Thanks for your replies,

And can we put push buttons on every pane in a single output.

thanks,

Eswar

0 Kudos

Yes,we can put.

Regards,

Aparna

0 Kudos

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