on 03-26-2009 10:56 AM
Hi, all,
I am trying to print a SF in background. Whatever device I choose, I get an error "Parameter DEVICE = DUMMY is not allowed." I tried with LOCL, then created a device of method C, with the same result. What am I doing wrong? This is the code:
ls_ssf_control-no_dialog = abap_true.
ls_ssf_control-device = 'DUMMY'.
ls_ssf_control-langu = 'EN'.
DATA: ls_print_options TYPE SSFCOMPOP.
ls_print_options-tdimmed = space.
ls_print_options-tddest = 'DUMMY'.
CALL FUNCTION l_func_name
EXPORTING
control_parameters = ls_ssf_control
output_options = ls_print_options
user_settings = space
TABLES
it_dokumenti = lt_zfi_dokumenti
it_orders = lt_orders
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Hi
*ls_ssf_control-device = 'PRINTER'.*
[Control Structure|http://help.sap.com/saphelp_nw70/helpdata/en/71/9ccd9c8e0e11d4b608006094192fe3/frameset.htm]
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
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.