cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript 2 PDF conversion :when converted doesnt show printpreview

Former Member
0 Kudos

Dear all

Sapscript 2 PDF conversion :

I hav used OTF under table parameter in Close_form & now it doesnt show print preview(getting values OTF ) . Why ?

How 2 get both print preview and PDF ?

Thnx

moni

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member214131
Active Contributor
0 Kudos

Hello,

This may help you:

itcpo-tdnoprint = ' '. "For Print option

itcpo-tdgetotf = 'X'. "to Get OTF

CALL FUNCTION 'OPEN_FORM'

EXPORTING

device = 'PRINTER'

dialog = 'X' " for the Print dialog

form = <formname>

language = 'E'

options = itcpo

IMPORTING

result = itcpp

EXCEPTIONS

canceled = 1

device = 2

form = 3

options = 4

unclosed = 5

mail_options = 6

archive_error = 7

invalid_fax_number = 8

more_params_needed_in_batch = 9

spool_error = 10.

Regds, Murugesh AS