<?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 Workflow getting hanged when calling another task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761353#M1583659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom workflow designed for material creation.&lt;/P&gt;&lt;P&gt;The workflow has steps to create BOM, Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom function module to create BOM and Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our workflow calls the function module to create the BOM and Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem which we are facing is that when the execution time exceeds 600 seconds the workflow is getting hanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to call the function module to execute as a background task and also the workflow should be able to get the errors sent by the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current code is CALL FUNCTION 'ZZZ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing it to CALL FUNCTION 'ZZZ' IN BACKGROUND TASK, but the task was not triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know whether there could be any solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 05:15:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-23T05:15:09Z</dc:date>
    <item>
      <title>Workflow getting hanged when calling another task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761353#M1583659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom workflow designed for material creation.&lt;/P&gt;&lt;P&gt;The workflow has steps to create BOM, Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom function module to create BOM and Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our workflow calls the function module to create the BOM and Inspection Plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem which we are facing is that when the execution time exceeds 600 seconds the workflow is getting hanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to call the function module to execute as a background task and also the workflow should be able to get the errors sent by the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current code is CALL FUNCTION 'ZZZ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing it to CALL FUNCTION 'ZZZ' IN BACKGROUND TASK, but the task was not triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know whether there could be any solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 05:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761353#M1583659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T05:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow getting hanged when calling another task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761354#M1583660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When you call a function module in BACKGROUND TASK, it is not submitted until you execute a 'COMMIT WORK' command.&lt;/P&gt;&lt;P&gt;Try that and let us know if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Paul Bakker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 05:32:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761354#M1583660</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2011-03-23T05:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow getting hanged when calling another task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761355#M1583661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried that also.. But the workflow gets completed.&lt;/P&gt;&lt;P&gt;But no background job is created. Inspection Plan, BOM are not getting created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 06:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/workflow-getting-hanged-when-calling-another-task/m-p/7761355#M1583661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-23T06:31:55Z</dc:date>
    </item>
  </channel>
</rss>

