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

Print Spool with changed parameter

Former Member
0 Likes
1,284

Hello All,

We needed to Print spool with changed parameters (e.g. Printer Name) in the background. We know which Spool (spool number) to be printed.

In foreground, we use transaction SP01=> Output Controller: List of Spool Requests => Print with changed parameters(Shift F1) => [Change Parametrs as appropriate] => Print (Shift F1)

Is there any FM or program to replicate the above steps?

Reward assured.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
686

You can use the Function module

GET_PRINT_PARAMETERS

it will return the parms with the changed options. now use this params for printing.

Read only

Former Member
0 Likes
686

Hi

First use SET_PRINT_PARAMETERS during the AT SELECTION-SCREEN event

the GET_PRINT_PARAMETERS

For more info

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba56d35c111d1829f0000e829fbfe/content.htm

Regards

Shiva