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: 

REUSE_ALV_GRID_DISPLAY output to Spool list

Former Member
0 Kudos

Hi all,

My report program uses REUSE_ALV_GRID_DISPLAY for the output and this displays the output in ALV and if required they can print.

But my client wants that whole program should run in a background and the output needs to be sent to spool list instead of displaying or printing.

Kindly help to achieve this.

regs,

raja

1 ACCEPTED SOLUTION

former_member705122
Active Contributor
0 Kudos

Link:

6 REPLIES 6

former_member705122
Active Contributor
0 Kudos

Link:

rainer_hbenthal
Active Contributor
0 Kudos

Why dont you just run it in background getting the output in the spool?

former_member188685
Active Contributor
0 Kudos

By Default the ALV report output will be send to Spool or Print...when it run in Background. It Depends on how you set the properties of the Spool settings while Defining the Background job.

In your case you/some one set the properties to print. instead set the property to send to spool now option.

Former Member
0 Kudos

Former Member
0 Kudos

When it is executed in background.

Check for SY-BATCH, it wiil be X.

Then if the width exceeds the page then split the output and use write statement to display.

You will get it in the spool.

Regards,

Ranjith

Former Member
0 Kudos

thanks guys for your suggestion, i created another program with SUBMIT XXX to SAP-SPOOL option.

regs,

raja