Application Development and Automation 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: 
Read only

Display two grid on the same screen

Former Member
0 Likes
1,229

hello experts,

I want to display two ALV grid tables on the same screen. How can I use position(x,y) for ALV to get displayed in the same screen?

One ALV is getting displayed using fm REUSE_ALV_GRID_DISPLAY, I want to display another ALV using the same fm, but with the another internal table.

Advance thanks...

Regards,

Viral Patel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,136

Hi,

You can go in for Block ALV, it is quite simple.

Just define a screen in the screen painter and create two custome container and use two 'set_table_for_first_display'

methods to tranfer the seperate field catalogs to the custom control.

let me know if need furthur help.

Hope this helps you.

Regards,

Abhijit G. Borkar

hello experts,

I want to display two ALV grid tables on the same screen. How can I use position(x,y) for ALV to get displayed in the same screen?

One ALV is getting displayed using fm REUSE_ALV_GRID_DISPLAY, I want to display another ALV using the same fm, but with the another internal table.

Advance thanks...

Regards,

Viral Patel

7 REPLIES 7
Read only

ThomasZloch
Active Contributor
0 Likes
1,136

This function module only allows full screen display, you need custom splitter containers instead. See the controls examples in SE80.

Thomas

Read only

Former Member
0 Likes
1,136

Hi,

You can achieve this using object oriented programming.

Using class 'CL_GUI_EAST_SPLITTER_CONTAINER' for multiple alv displays.

Search on the net for more information.

Read only

Former Member
0 Likes
1,136

Hi,

As per my knowledge, you can display a single ALV on the screen using Classical ALV.

If you want to display more than 1 ALV on the same screen you have 2 options:

Use OOPS ALV

or

Use Block ALV

I hope it helps.

Read only

VivekG
Participant
0 Likes
1,136

Hi,

You can go through following link:

http://www.sap-basis-abap.com/abap/display-two-level-interactive-list-in-alv.htm

Its a OOPs ALV try to implement this.

Vivek Gupta

Read only

Former Member
0 Likes
1,136

HAI,

you can draw two custom controls on your Screen and then use OOPS ALV to display two grids.

Best Regards,

rama

Read only

Former Member
0 Likes
1,136

[http://wiki.sdn.sap.com/wiki/display/ABAP/DisplaytwoormoreALVsononescreenusingSplitterControl]

Read only

Former Member
0 Likes
1,137

Hi,

You can go in for Block ALV, it is quite simple.

Just define a screen in the screen painter and create two custome container and use two 'set_table_for_first_display'

methods to tranfer the seperate field catalogs to the custom control.

let me know if need furthur help.

Hope this helps you.

Regards,

Abhijit G. Borkar