on 10-17-2007 11:27 AM
hi all,
i want directly the smartform on execution .i don't want to assign any printer or anything.
how to do that.?
Welcome to SDN.
You need to fill two structures and pass them when you call the form.
DATA: DEVICE TYPE SSFCTRLOP .
DEVICE-DEVICE = 'PRINTER'.
DEVICE-NO_DIALOG = 'X'.
Will supress the dialog. Pass this to CONTROL_PARAMS
You then need to fill structure
data: params type SSFCOMPOP.
with the printer settings you want to use. Pass this to OUTPUT_OPTIONS.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Javed,
There is no way to see without assigning printer.
But it is possible to bypass output dialog..the way is:
In function module of that smart form, pass NO_DIALOG = 'X' of CONTROL_PARAMETERS.
and pass printer name to TDDEST = 'Printer' of OUTPUT_OPTIONS.
It will execute the print or print preview directly without showing pop-up dialog box for printer.
Hope it will solve ur problem.
Regards
Krishnendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Javed
Welcome to SDN.
Go to the FM: Get_print_parameters.
There u can find the output device option. supress that there.
Regards,
Sree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
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.