<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How check the Dialog Processor avaibility to execute a task while calling the Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238684#M1828082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to check the Dialog processor avaibility to execute my task while calling the Function Module.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Hence need your help to check/handle the Dialog Processor availability before calling the Function Module.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Please find below the my code:&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;CALL FUNCTION 'Z_MRSS_DPR_SEND_MAILS' STARTING NEW TASK 'FUNC1'&lt;BR /&gt;EXPORTING&lt;BR /&gt;is_indent_data = is_indent_data&lt;BR /&gt;it_resource_guid = lt_res_guid&lt;BR /&gt;iv_langu = lv_language&lt;BR /&gt;is_project_ext = ls_project_data_ext&lt;BR /&gt;is_part_ext = ls_part_data_ext&lt;BR /&gt;iv_event = iv_event&lt;BR /&gt;iv_lang = 'E'&lt;BR /&gt;iv_user = sy-uname&lt;BR /&gt;iv_commit = 'X'&lt;BR /&gt;EXCEPTIONS&lt;BR /&gt;system_failure MESSAGE lv_sys_fail_msg&lt;BR /&gt;communication_failure MESSAGE lv_com_fail_msg.&lt;BR /&gt;* resource_failure message lv_res_fail_msg&lt;BR /&gt;* others message lv_others_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2014 09:43:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-04-21T09:43:26Z</dc:date>
    <item>
      <title>How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238684#M1828082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to check the Dialog processor avaibility to execute my task while calling the Function Module.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;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.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Hence need your help to check/handle the Dialog Processor availability before calling the Function Module.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Please find below the my code:&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;CALL FUNCTION 'Z_MRSS_DPR_SEND_MAILS' STARTING NEW TASK 'FUNC1'&lt;BR /&gt;EXPORTING&lt;BR /&gt;is_indent_data = is_indent_data&lt;BR /&gt;it_resource_guid = lt_res_guid&lt;BR /&gt;iv_langu = lv_language&lt;BR /&gt;is_project_ext = ls_project_data_ext&lt;BR /&gt;is_part_ext = ls_part_data_ext&lt;BR /&gt;iv_event = iv_event&lt;BR /&gt;iv_lang = 'E'&lt;BR /&gt;iv_user = sy-uname&lt;BR /&gt;iv_commit = 'X'&lt;BR /&gt;EXCEPTIONS&lt;BR /&gt;system_failure MESSAGE lv_sys_fail_msg&lt;BR /&gt;communication_failure MESSAGE lv_com_fail_msg.&lt;BR /&gt;* resource_failure message lv_res_fail_msg&lt;BR /&gt;* others message lv_others_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238684#M1828082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-21T09:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238685#M1828083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ravi,&lt;/P&gt;&lt;P&gt;Do you debug your FM to check when this function will raise error, the first time to call FM or the 6th time to call FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Archer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238685#M1828083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-21T09:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238686#M1828084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to check the Dialog Processor availability for calling my actual Task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 09:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238686#M1828084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-21T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238687#M1828085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can handle 'resource_failure' exception, instead of&amp;nbsp; check the dialog processor is abailable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are a sample example, link is here &lt;A href="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm?frameset=/en/fa/096c53543b11d1898e0000e8322d00/frameset.htm"&gt;http://help.sap.com/saphelp_nw70ehp2/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm?frameset=/en/fa/096c53543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it raise 'resource_failure' exception, 'WAIT UNTIL RCV_JOBS &amp;gt;= SND_JOBS.' to wait other task finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 04:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238687#M1828085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-22T04:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238688#M1828086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a suggestion.&lt;/P&gt;&lt;P&gt;Can you check if SPBT_INITIALIZE will help you or not.&lt;/P&gt;&lt;P&gt;This FM gives you the no. of. free work processes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santanu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238688#M1828086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-22T05:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How check the Dialog Processor avaibility to execute a task while calling the Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238689#M1828087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the requirement you are trying to solve is to make sure not to overload the system with your parallel program. Instead of reading the number of free work processes and perform an action based on this number you could also use RFC groups together with a "&lt;SPAN style="font-family: Arial; font-size: 10pt;"&gt;CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following link provides details on how to define RFC groups and how to use them to implement parallel processing:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f39505211d189550000e829fbbd/content.htm" title="http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f39505211d189550000e829fbbd/content.htm"&gt;Defining RFC Groups for Parallel-Processed Jobs - Background Processing - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-check-the-dialog-processor-avaibility-to-execute-a-task-while-calling/m-p/10238689#M1828087</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2014-04-22T05:42:37Z</dc:date>
    </item>
  </channel>
</rss>

