Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Former Member
Not what you were looking for? View more on this topic or Ask a question