06-21-2010 9:47 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.
06-21-2010 9:59 AM
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
06-21-2010 9:59 AM
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
06-21-2010 10:09 AM
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
06-21-2010 10:20 AM
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.
06-21-2010 10:22 AM
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