cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress Print Dialog

Former Member
0 Kudos

hi all,

Is there a way to suppress the print dialog when I use OPEN_FORM (for a SAPScript form). I tried different things including...

Sending ' ' for Dialog parameter for OPEN_FORM fm

Setting ITCPO-TDNOPREVIEW to 'X'.

Setting ' ' for Preview in ITCPO

but did not have any luck. Any help will be greatly appreciated. Thanks in adv.

Soumya.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you very much, Vijay!

former_member188685
Active Contributor
0 Kudos

Set the below parameters of options structure.

TDDEST   = 'LOCL' <---Give the correct printer name otherwise you will get the popup(LP01)
TDPREVIEW = ' '.
TDNOPREV = 'X'.
TDIMMED  = 'X'.
TDNEWID  = 'X'.  <---if you want to print then give 'X' or else ' '.