Skip to Content
0
Former Member
Dec 09, 2008 at 11:48 AM

How to display two alv grids on the same screen through background job

249 Views

Hi all,

when I run a report with 2 ALV Grids on the same screen. Only the first ALV prints out, not the second one. I tried implementing Docking Container logic, but still only the first one show when I run in batch. How do we display both the grids.

Please find the logic I am using.

data: doc type ref to cl_gui_docking_container .

if cl_gui_alv_grid=>offline( ) is initial.

create object or_custom_container

exporting container_name = c_container.

create object grid

exporting i_parent = custom_container.

else .

create object grid

exporting i_parent = doc .

endif .

Thanks ,

Pradeep.