on 02-21-2011 11:26 AM
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..
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.