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

Alv Spool problem

Former Member
0 Likes
879

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

9 REPLIES 9
Read only

Former Member
0 Likes
842

HI

USE ALV WITH BLOCK

**Please reward suitable points***

With Regards

Navin Khedikar

Read only

0 Likes
842

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

Read only

0 Likes
842

HI Alex,

have a look at Example Reports

BALVBT01 or BALVBT02

Regards

Bernd

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
842

Hi

Check existed programs BALV* for this purpose.

Regards,

kumar

Read only

0 Likes
842

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

Read only

0 Likes
842

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

Read only

0 Likes
842

Hello Bernd,

How can I do? Can you give me a little of code snippet?

Thanks,

--Alex

Read only

former_member194669
Active Contributor
0 Likes
842

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.

Read only

0 Likes
842

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