cancel
Showing results for 
Search instead for 
Did you mean: 

printpreview problem

former_member630092
Participant
0 Kudos

Hi

after debugging my print program when i executr then it goes to spool request.

I want to see the output in printpreviw. Screen is displayed withe message

Overview of list generated.( name dataset spoolnumber )

How to see the printpriview.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

alex_m
Active Contributor
0 Kudos

Check when you call a smartform via FM the print preview parameter is checked...

Answers (2)

Answers (2)

former_member630092
Participant
0 Kudos

Solved

sravya_ch
Participant
0 Kudos

Hi Ravi

There you did not mention its smart forms or script ,

if its script check DEVICE = 'PRINTER'

CALL FUNCTION 'OPEN_FORM'

EXPORTING

DEVICE = 'PRINTER'

DIALOG = 'X'

FORM = 'YEXCISE_INVOICE2'

LANGUAGE = SY-LANGU.