<?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 Function in Update Task not being called properly in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426589#M11925</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt; I've created a 'Z' function module to call it 'IN UPDATE TASK' inside an EXIT (EXIT_SAPLLMDE_006). This EXIT is right after a MB_CREATE_GOODS_MOVEMENT, that performed a 101 moviment. &lt;/P&gt;&lt;P&gt;In my function, I'm performing another MB_CREATE_GOODS_MOVEMENT but to moviment 311. When system reach my 'Z' function, the moviment before (101) is not commit yet, than my moviment stops because there is an ENQUEUE of purchase table, but the table is being used in moviment 101 (means to me that my function is not being called in update task).&lt;/P&gt;&lt;P&gt;My 'Z' function is 'Update Module' and 'Star Immed.'.&lt;/P&gt;&lt;P&gt;Thanks!! &lt;/P&gt;</description>
    <pubDate>Sun, 16 Apr 2017 06:03:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-04-16T06:03:10Z</dc:date>
    <item>
      <title>Function in Update Task not being called properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426589#M11925</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt; I've created a 'Z' function module to call it 'IN UPDATE TASK' inside an EXIT (EXIT_SAPLLMDE_006). This EXIT is right after a MB_CREATE_GOODS_MOVEMENT, that performed a 101 moviment. &lt;/P&gt;&lt;P&gt;In my function, I'm performing another MB_CREATE_GOODS_MOVEMENT but to moviment 311. When system reach my 'Z' function, the moviment before (101) is not commit yet, than my moviment stops because there is an ENQUEUE of purchase table, but the table is being used in moviment 101 (means to me that my function is not being called in update task).&lt;/P&gt;&lt;P&gt;My 'Z' function is 'Update Module' and 'Star Immed.'.&lt;/P&gt;&lt;P&gt;Thanks!! &lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 06:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426589#M11925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-04-16T06:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function in Update Task not being called properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426590#M11926</link>
      <description>&lt;P&gt;As you probably understood, you can't make it work as you planned, you have to find another workaround. One way is to schedule a subsequent job to do this additional movement, for instance using workflow or tRFC (CALL FUNCTION IN BACKGROUND TASK). You'll have to handle exceptions (lock for instance) asynchronously (mail by workflow for instance, or SM58).&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 06:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426590#M11926</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-04-16T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function in Update Task not being called properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426591#M11927</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can try with &lt;/P&gt;&lt;P&gt;My 'Z' function is 'Update Module' and &lt;STRONG&gt;'Star Delayed&lt;/STRONG&gt;.'  Otherwise Put wait up to 2 seconds in the FM.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 13:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426591#M11927</guid>
      <dc:creator>bala_sikkal</dc:creator>
      <dc:date>2017-04-16T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Function in Update Task not being called properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426592#M11928</link>
      <description>&lt;P&gt;Hello mrs. Rossi.&lt;/P&gt;&lt;P&gt;Worked as you said. I've changed my function to 'Remote-Enabled Module' and called it 'IN BACKGROUND TASK AS SEPARATE UNIT' and worked. The process before my function finished and in SM58 I was able to check my function working fine. I also put a 'infinite loop' and could see the function running.&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426592#M11928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-04-18T17:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function in Update Task not being called properly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426593#M11929</link>
      <description>&lt;P&gt;I tried both...did not work. &lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-in-update-task-not-being-called-properly/m-p/426593#M11929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-04-18T17:52:09Z</dc:date>
    </item>
  </channel>
</rss>

