Skip to Content
0
Former Member
Apr 21, 2014 at 09:43 AM

How check the Dialog Processor avaibility to execute a task while calling the Function Module

354 Views


Hi All,

I need to check the Dialog processor avaibility to execute my task while calling the Function Module.


If I do not check the Dialog processor avaibility before my Function Module execution, it will throw the dump in case of non-availability of Dialog processor.


Hence need your help to check/handle the Dialog Processor availability before calling the Function Module.


Please find below the my code:


CALL FUNCTION 'Z_MRSS_DPR_SEND_MAILS' STARTING NEW TASK 'FUNC1'
EXPORTING
is_indent_data = is_indent_data
it_resource_guid = lt_res_guid
iv_langu = lv_language
is_project_ext = ls_project_data_ext
is_part_ext = ls_part_data_ext
iv_event = iv_event
iv_lang = 'E'
iv_user = sy-uname
iv_commit = 'X'
EXCEPTIONS
system_failure MESSAGE lv_sys_fail_msg
communication_failure MESSAGE lv_com_fail_msg.
* resource_failure message lv_res_fail_msg
* others message lv_others_msg.

Thanks in Advance.