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

2 reports output on same screen

0 Likes
1,070

Hello.

Scenario:

I have 2 programs that I want to run in parallel and display the result (report) parallel on a splitter container or on same screen.

Help:

How can I display 2 different report output on the same screen.

Regards,

Abhi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,000

Hi,

You can use the FM REUSE_ALV_BLOCK_LIST_DISPLAY for this purpose.

First you have to initialize a block list using the function module REUSE_ALV_BLOCK_LIST_INIT and then add the individual

ALVs using FM REUSE_ALV_BLOCK_LIST_APPEND. For dissplaying twice you have to call the functions twice.

or

With the oops ALV you can design the screen with the 2 containers and then you can display the ALV in those two containers

by using set_table_for_first_display method of cl_gui_alv_grid class or by using factory method of CL_SALV_TABLE class.

Thanks.

Edited by: PawanG on Jun 21, 2010 11:00 AM

Hello.

Scenario:

I have 2 programs that I want to run in parallel and display the result (report) parallel on a splitter container or on same screen.

Help:

How can I display 2 different report output on the same screen.

Regards,

Abhi.

4 REPLIES 4
Read only

Former Member
0 Likes
1,001

Hi,

You can use the FM REUSE_ALV_BLOCK_LIST_DISPLAY for this purpose.

First you have to initialize a block list using the function module REUSE_ALV_BLOCK_LIST_INIT and then add the individual

ALVs using FM REUSE_ALV_BLOCK_LIST_APPEND. For dissplaying twice you have to call the functions twice.

or

With the oops ALV you can design the screen with the 2 containers and then you can display the ALV in those two containers

by using set_table_for_first_display method of cl_gui_alv_grid class or by using factory method of CL_SALV_TABLE class.

Thanks.

Edited by: PawanG on Jun 21, 2010 11:00 AM

Read only

Former Member
0 Likes
1,000

Hi ,

1 > You can go for BLOCL alv

2 > Use object oriented development of ALV so that you can create as many ALVs as possible on output. Here in your case 2 alvs.

Regards,

Uma Dave

Read only

0 Likes
1,000

Hi,

Thanks..

Complexity is both the report I want to compare are standard reports. I want simple approach so that we avoid developments.

Regards,

Abhi.

Read only

Former Member
0 Likes
1,000

Hi

If both the Reports are Standard( Which you should have specified earlier), the better way is down load to Excel and proceed with VLOOKUP etc Functions

Excel is better Options

"In case the Standard Reports Generate List output not ALV output then You can use EXPORT LIST TO MEMORY in 
"SUBMIT AND RETURN key word, and get the List back into your reports

Check the below thread

1)First create 2 FM each for the 2 Reports, Here Use SUBMIT AND RETURN additions or some way to get the Final Itab

2)In the Third Report Call these 2 FM in a Separate Tasks, The Final ITabs are returned back to 3 Report

3) then use the below thread

But you need to take care about the Times in which these FM return you the data , If one report takes more time then you need to wait for it to return you the Details back to you.

Cheerz

Ram