Application Development 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: 

ALV + Write to Spool

Former Member
0 Kudos

Hallo,

I have a report which it write list with command "write". This report has a pushbottom which it shows ALV list.

When I execute this report in batch, I would like to send to spool write list and alv list.

It's possible ???

Regards,

Enric

7 REPLIES 7

former_member632991
Active Contributor
0 Kudos

Hi,

when u run this report in background, it will automatically generate the output as spool.

Regards,

Sonika

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi

Can You expalin in detailed requirement.

Regards,

kumar

Former Member
0 Kudos

HI,

WHEN U RUN U R PROGRAM IN BACKGROUND YOU WILL GET THE SPOOL AUTOMATICALLY GENERATED

CHECK SP02 TRANSACTION U WILLL SEE U BOTH THE SPOOLS REMEMBER DONT EXECUTE U R PROGRAM PRESS F9 AND ASSIGN PRINTER NAME .

CHEERS!

0 Kudos

Thaaaanks !!!

In the transaction SP02, I have saw 2 spools for this report :

1st spool ALV list

2nd spool Write list

I don't understand why in the transaction SM37, when I select my job only appers one spool ??? With the transaction SP02 for this report appear 2 spools.

Thanks in advance.

Enric

Former Member
0 Kudos

hi,

in sp02 is a o/p controller when a report is run in background a spool id for background report is also generated

which is u r second spool id no

if u dont want it u need to hide the o/p display

cheers!

0 Kudos

Hi,

I'm sorry but I don't understand you . If you can make me an example, will be good .

Enric

Former Member
0 Kudos

hi ,

ok see.

since u r executin u r program in background

there are two o/ps one u r list o/p(write) and the other alv list

hence two spools are generated

in sm37 u can release u r job that spool id is of o/p showing success.

cheers