on 03-17-2008 9:32 AM
Hi Friends,
How to avoid the print dialogue window in smartforms.
Kindly guide me.
TIA.
Regards,
Mark K
Hi,
You will also need to set the field DEVICE to PRINTER in structure CONTROL_PARAMETERS, as well as filling the print parameter in OUTPUT_OPTIONS.
DATA : device TYPE ssfctrlop,
ws_form_fname TYPE rs38l_fnam.
INITIALIZATION .
device-no_dialog = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Smartform Name'
IMPORTING
fm_name = ws_form_fname.
CALL FUNCTION ws_form_fname
EXPORTING
control_parameters = device
IMPORTING
job_output_info = ls_output_info
TABLES
i_final_ap = i_final_ap.
Regards,
Narendra.
Reward points if helpful!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.