cancel
Showing results for 
Search instead for 
Did you mean: 

Print Popup should not come in sap script program

Former Member
0 Kudos

Hi,

I have one SAP Script Program . When i execute the program it show print preview pop of screen. Then i click on print preview button its moves to preview screen . i do not want that pop of screen to display. Can any one help to bring the default print preview screen.

Thanks..

Accepted Solutions (1)

Accepted Solutions (1)

former_member193284
Active Participant
0 Kudos

Hi Sunil.

Use following code

CALL FUNCTION 'OPEN_FORM'

EXPORTING FORM = SPACE

LANGUAGE = SY-LANGU

DEVICE = 'PRINTER

DIALOG = 'X' --> Make this as space if you dont need the print preview pop up

OPTIONS = SPACE

APPLICATION = 'TX'

ARCHIVE_INDEX = SPACE

ARCHIVE_PARAMS = SPACE

IMPORTING LANGUAGE =

RESULT =

NEW_ARCHIVE_PARAMS =

EXCEPTIONS CANCELED =

DEVICE =

FORM =

OPTIONS =

UNCLOSED =

Use parameter DIALOG to determine whether to display a dialog box before printing, in which the user can set several spool parameters for print formatting.

Possible values:

' ' display no print parameter screen

'X' display print parameter screen

Default value: 'X'

Hope this helps.

Thanks

Edited by: Sumit Naik on Feb 21, 2011 7:25 PM

0 Kudos

Thanks sumit very helpful..........

Answers (0)