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

GET_PRINT_PARAMETERS

Former Member
0 Likes
861

Hi,

I am using get_print_parameters for report output print. My requirement is I need to send the report for printing and at the same time even though report is printed, I want a spool to be created.

For printing, I have kept a parameter IMMEDIATELY as marked, can anybody suggest with this print output can I create a spool also and which parameter to be used. will it be compatible with IMMEDIATELY ?

Thanks.

regards,

Mayank

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
792

Hi Mayank,

If you want the spool to be generated then after calling the FM GET_PRINT_PARAM, you have to call the same program by using SUBMIT <program_id>

WITH.....

..............

TO SAP-SPOOL

SPOOL PARAMETERS out_parameters

WITHOUT SPOOL DYNPRO

AND RETURN.

Here out_parameters is the import parameter of your FM.

<program_id> is the name of your Program.

and WITH is used to passed the values of your selection screen elements.

Hi,

I am using get_print_parameters for report output print. My requirement is I need to send the report for printing and at the same time even though report is printed, I want a spool to be created.

For printing, I have kept a parameter IMMEDIATELY as marked, can anybody suggest with this print output can I create a spool also and which parameter to be used. will it be compatible with IMMEDIATELY ?

Thanks.

regards,

Mayank

3 REPLIES 3
Read only

Former Member
0 Likes
793

Hi Mayank,

If you want the spool to be generated then after calling the FM GET_PRINT_PARAM, you have to call the same program by using SUBMIT <program_id>

WITH.....

..............

TO SAP-SPOOL

SPOOL PARAMETERS out_parameters

WITHOUT SPOOL DYNPRO

AND RETURN.

Here out_parameters is the import parameter of your FM.

<program_id> is the name of your Program.

and WITH is used to passed the values of your selection screen elements.

Read only

former_member556412
Active Participant
0 Likes
792

Hi ,

You can use New spool request PRNEW and set it.

Regards,

Bhanu

Read only

Former Member
0 Likes
792

Called same report twice. Once for only spool requirement and second time for the direct print.