<?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 Re: Function modules in Update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025482#M82305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavani ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.If a function module contains in attributes 'Update mode ' and run( without 'update task - keyword).&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;It will behave as a normal FM . The update mode in attribute has no effect .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.call function ' fun2' in update task.&lt;/P&gt;&lt;P&gt;In this case, do we need to set the attributes must be 'Update task'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Yes the attribute 'Update Task' must be set . Otherwise you will get a run time error CALL_FUNCTION_NO_VB. In this way the function will be executed when your program hits a commit work statement and will be executed in a sepaarte task ( not in the dialog task in which your program was running ) called update task.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Dont forget to reward if answers were helpful )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2005 16:18:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-07T16:18:36Z</dc:date>
    <item>
      <title>Function modules in Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025480#M82303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between &lt;/P&gt;&lt;P&gt;1.If a function module contains in attributes 'Update mode ' and run( without 'update task - keyword).&lt;/P&gt;&lt;P&gt;2.call function ' fun2' in update task.&lt;/P&gt;&lt;P&gt;In this case, do we need to set the attributes must be 'Update task'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Bhavani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 14:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025480#M82303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-07T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules in Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025481#M82304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From F1 Help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement registers the update function module specified in update_function. update_function must be a character-type field, which during execution of the statement contains the name of an update function module in uppercase letters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;An update function module is a function module, for which in the Function Builder the property update module is marked. The registration of an update function module is an essential part of the update task.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module is not executed immediately, but is scheduled for execution in a special work process (update work process). For this purpose, the name of the function module including the passed actual parameters is stored as a log record in the database table VBLOG. If the statement is executed during the update task, the addition IN UPDATE TASK is ignored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 14:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025481#M82304</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-07T14:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function modules in Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025482#M82305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhavani ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.If a function module contains in attributes 'Update mode ' and run( without 'update task - keyword).&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;It will behave as a normal FM . The update mode in attribute has no effect .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.call function ' fun2' in update task.&lt;/P&gt;&lt;P&gt;In this case, do we need to set the attributes must be 'Update task'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Yes the attribute 'Update Task' must be set . Otherwise you will get a run time error CALL_FUNCTION_NO_VB. In this way the function will be executed when your program hits a commit work statement and will be executed in a sepaarte task ( not in the dialog task in which your program was running ) called update task.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Dont forget to reward if answers were helpful )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 16:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules-in-update-task/m-p/1025482#M82305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-07T16:18:36Z</dc:date>
    </item>
  </channel>
</rss>

