cancel
Showing results for 
Search instead for 
Did you mean: 

Printing without the print options appearing.

Former Member
0 Kudos

Hi all,

I have a SAp Script. I want it to go directly into the "Print Preview" mode once i've clicked on the print option. Could someone tell me what i have to do to get it to skip the print dialog and show me the print preview?

Points will be awarded to all helpful answers and sample working code will win it.

Thanks you all for helping.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

while calling the FM OPEN_FORM pass DIALOG = SPACE and set the OPTIONS

OPTIONS-TDPRINTER = PRINTER NAME

OPTIONS-TDCOPIES = '1'

OPTIONS--TDDEVICE = OUTPUT DEVICE NAME

ETC....

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

Just check the vairant and modify the vairant it will take you directly to the print preview options. usually this variant is created by the functional team.

If it don't have any variants then check attributes in FM OPEN_FORM.

Regards,

SaiRam