default printer setup
Does anyone know how the 'send_error" comes from?
I want to disable the default printer screen from pop out, below is the code that i have written.
anything wrong with that?
*ls_control_param-preview = 'X'.
*ls_control_param-no_open = 'X'.
*ls_control_param-no_close = 'X'.
ls_control_param-no_dialog = 'X'.
ls_control_param-device = 'PRINTER'.
ls_composer_param-TDDEST = v_dest.
*ls_composer_param-TDNOPRINT = 'X'.
SSR6379.eo ****smartform ****
CALL FUNCTION l_fm_name
control_parameters = ls_control_param
output_options = ls_composer_param
USER_SETTINGS = 'X'
USER_SETTINGS = '' "SSR6379.n
adrnr = l_adrnr
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
IF sy-subrc 0.
MESSAGE i042. " Error in creating the printout