on 11-20-2007 8:12 AM
Hello,
i work with a transaction in the WebGui (ITS) and now i want to print directly a SmartForm. I want to suppress the dialog box.
I try this...
'X' TO ls_output_options-tdnewid,
'X' TO ls_output_options-tdimmed,
'2' TO ls_output_options-tdcopies,
'X' to ls_output_options-TDNOPREV.
'LOHP' to ls_output_options-tddest,
'HPLJ4' to ls_output_options-TDPRINTER.
ls_control-no_dialog = 'X'.
CALL FUNCTION lf_fm_name
EXPORTING
control_parameters = ls_control
output_options = ls_output_options
is_dlv_delnote = ls_dlv_delnote
is_lieferschein = ls_lieferschein
IMPORTING
job_output_info = ls_output_info
job_output_options = ls_output_opt
EXCEPTIONS
thanks
You will need to add
ls_control-device = 'PRINTER'
along with your current options to stop the parameters dialog.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.