on 06-12-2007 7:35 AM
hi,
my requirement is i have to print the smartform directly by skiping the dialog window.
i am using the following code but in that i have press the Print push button again .
DATA: output_options TYPE ssfcompop.
output_options-tdimmed = 'X'.
output_options-tddest = 'LOCL'.
Trty something like
* Print parameters
ssfcompop-tddest = tddest.
ssfcompop-tdimmed = 'X'.
ssfcompop-tdnewid = 'X'.
ssfcompop-tddelete = 'X'.
* Control parameters
ssfctrlop-device = 'PRINTER'.
ssfctrlop-no_dialog = 'X'.
* Call driver
CALL FUNCTION fm_name
EXPORTING
control_parameters = ssfctrlop
output_options = ssfcompop
(...)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
declare the following
zxyz TYPE ssfctrlop,
options TYPE ssfcompop.
in start of selection.
zxyz-device = 'PRINTER'.
zxyz-no_dialog = 'X'.
zxyz-preview = 'X'.
options-tddest = 'Z_PRINT_lOCAL'.
options-TDIMMED = give printer name.
in the function module give
control_parameters = zxyz
output_options = options
regards
arul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.