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

Create spool number from the report program

Former Member
0 Likes
4,117

Hello,

I want to know the function module to create the spool request from report program, through which I can write the content of the internal table to spool.

Thanks,

Lucky

1 ACCEPTED SOLUTION
Read only

Former Member
1,287

Check the function module "RSPO_OPEN_SPOOLREQUEST" .

Cheers!!

VEnk@

5 REPLIES 5
Read only

Former Member
0 Likes
1,287

Hello,

If you schedule the report to be run in a background job, you will directly get the output in spool. Or you want the spool to be generated in foreground? If so please search. There are lots of threads related to this.

Vikranth

Read only

former_member226519
Active Contributor
0 Likes
1,287

first get the print parameters fm GET_PRINT_PARAMETERS

change single values of the print parameters if you like

create the output: NEW-PAGE PRINT ON PARAMETERS print_paramters NO DIALOG

Read only

Former Member
0 Likes
1,287

Hi Lucky ,

you will have to use 3 function modules in sucession to create a spool request as follows :

JOB_OPEN

JOB_SUBMIT

JOB_CLOSE

In case of any problem please get back to me.

Regards,

Nikhil

Read only

Former Member
1,288

Check the function module "RSPO_OPEN_SPOOLREQUEST" .

Cheers!!

VEnk@

Read only

0 Likes
1,287

Thank a lot.

That solved my question

Regards,

Lucky