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

script-printview

Former Member
0 Likes
589

Hi

i am working with customer statement.I am using t.code F.27.In that I am specifying all data for execution.I am executing.I am getting spool numbers.With those I is directly giving to printer to print statement.i dont have printer I want to see print view os script.

How can I see print view of script.

Please guide me.

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
554

have you tried by giving sap dummy printer lp01?

Read only

0 Likes
554

Hi kishore,

Yes I tried with lp01.I am getting same result.

Thanks

Read only

0 Likes
554

or else you also can try this method...

set the ITCPO-TDPREVIEW = X and pass this to your open_form parameters.

example something like this.....>

data printparams type itcpo

printparams-tdpreview = 'X'.

call function 'open_form'

EXPORTING FORM = form-name

LANGUAGE = 'E'

OPTIONS = printparams

DEVICE = XDEVICE

DIALOG = XDIALOG

EXCEPTIONS CANCELED = 01.

IF SY-SUBRC NE 0.

ENDIF.

Read only

0 Likes
554

But I am using stadard print program.How is it possible.

Thanks