Skip to Content
0
Jul 02, 2009 at 02:27 PM

How to suppres dialog in SMARTFORM processing (aim is mail sending only)

44 Views

Hi,

My task is to send mail, from SMARTFORM without any dialog. I have specified the following when caling the Smartform funcion module

ls_control_parameters-no_dialog = 'X'.

lrs_control_parameters-getotf = 'X'.

CALL FUNCTION lv_function_name

EXPORTING

CONTROL_PARAMETERS = ls_control_parameters

USER_SETTINGS = ' '

IMPORTING

DOCUMENT_OUTPUT_INFO = ls_document_output_info

JOB_OUTPUT_INFO = ls_job_output_info

JOB_OUTPUT_OPTIONS = ls_job_output_options

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5.

but still get the popup for Print options.

Could you please help me finding out which settings is missing to get rid of any dialog?

Kind regards,

barbara