‎2007 Mar 16 11:16 AM
Hello Exporters,
I have a report which populates three separate alv lists on the same screen. Now I want to send both three alv lists to the Spool when my report running in background. But actually only the first alv list have been sent to spool.
Can you give me suggestion how can I achieve that send both three alv lists to the spool at same time when report running in background?
Thanks in advance!
--Alex Miao
‎2007 Mar 16 11:23 AM
HI
USE ALV WITH BLOCK
**Please reward suitable points***
With Regards
Navin Khedikar
‎2007 Mar 16 11:32 AM
Hello Navin,
Sorry for that I'm not clear what you said. Can you explain it more detailed? What is alv with block? I would appreciate if you can show me some code snippet.
Thanks a lot,
Alex Miao
‎2007 Mar 16 11:36 AM
HI Alex,
have a look at Example Reports
BALVBT01 or BALVBT02
Regards
Bernd
‎2007 Mar 16 11:41 AM
Hi
Check existed programs BALV* for this purpose.
Regards,
kumar
‎2007 Mar 19 2:27 AM
Hello All,
Thanks for your replys. I have checked the sample programs. But my report acts a little different that the output screen have three containers which each populates an alv list. Additionally we have used the lastest OO objects(cl_salv_table), so I'm not sure we can use these 'REUSE_ALV_BLOCK_LIST_XXXX' accompanying with OO objects.
Hope your forwarding response!
--Alex
‎2007 Mar 19 9:59 AM
Hi Alex,
every alv/container has his "own" print functionality. Perhaps you could work with events. Catch the "print" event from the all alv/containers and call the "print" event from all all/containers.
Regards
Bernd
‎2007 Mar 20 1:44 AM
Hello Bernd,
How can I do? Can you give me a little of code snippet?
Thanks,
--Alex
‎2007 Mar 20 2:16 AM
I think we have only top of page, footer of page event in print,
I also come across same problem previously , For overcome this i made custom print program using 3 ALV grid data and generate a spool whenever ALV called in the background.
For user input selection of processing mode ie foreground/background i have given a check box in the selection screen.
aRs.
‎2007 Mar 20 2:41 AM
Hello aRs,
I execute the report in background using menu path program->Execute in Background. I want to trigger background running only by this way. Can you give me some code of your custom print program? The situation is very urgent for me.
Thank you very much!
--Alex