2009 Jun 30 8:49 AM
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
2009 Jun 30 9:18 AM
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 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.
2009 Jun 30 9:18 AM
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.
2009 Jun 30 9:22 AM
Hi ,
You can use New spool request PRNEW and set it.
Regards,
Bhanu
2009 Jul 16 7:08 AM
Called same report twice. Once for only spool requirement and second time for the direct print.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |