<?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: Wht is UPDATE TASK functionality in CALL FUNCTION?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912898#M685509</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;IN UPDATE TASK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When FM is called with this extension then call to the FM is not made until COMMIT WORK is executed. This flags the function module for later execution when implicit or explicit COMMIT WORK is executed.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 19:03:24 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-10-22T19:03:24Z</dc:date>
    <item>
      <title>Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912897#M685508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Pls. clarify one of my simple doubt that, Wht is the functionality of UPDATE TASK, in following sttement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;call function 'Z_FM_1' in update task&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found SAP help as follow, but not understood??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Flags the function module func for execution in the update task. It is not executed at once, but the data passed with EXPORTING or TABLES is placed in a database table and a subsequent COMMIT WORK then causes the function module to be executed by the update task. Update function modules must be flagged as such in the Function Builder &lt;/P&gt;&lt;P&gt;The return value is not set.&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 18:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912897#M685508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T18:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912898#M685509</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;IN UPDATE TASK:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When FM is called with this extension then call to the FM is not made until COMMIT WORK is executed. This flags the function module for later execution when implicit or explicit COMMIT WORK is executed.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912898#M685509</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-22T19:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912899#M685510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple word is LUW..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the SAP Help :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP uses LUW (logical unit of work) concept, with this it basically does a sequence of steps and if all of them were successful it commits all the data to the database. During this process it keeps all the data in temporary memory. So lets say in your process you have 4 steps that complete the process, so you want to commit only when all the 4 steps are successful, in this case you will use CALL FM in UPDATE TASK for all the 4 of them, once the 4th FM is successful you use the statement COMMIT WORK to commit all the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912899#M685510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T19:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912900#M685511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)If the data is not written to DB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Wht is sy-subrc for COMMIT WORK&lt;/P&gt;&lt;P&gt;in this case, Is this z_FM_1 will be called? or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How it differs from defining a FM as UPDATE FM in its attributes, while creating a FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912900#M685511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T19:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912901#M685512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sy-subrc will have 4 ,then comitt work will not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the my previous reply and it is similar to LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912901#M685512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T19:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912902#M685513</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;Any error during the update, the update work process executes a database rollback and the sy-subrc &amp;lt;&amp;gt; 0.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912902#M685513</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-22T19:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912903#M685514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so, I guess, this z_fm_1 will not be called!! for un successful COMMIT WORK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And wht is the differenmce btwn a Upadate attribute assigning FM and this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Srikhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912903#M685514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T19:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912904#M685515</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;It sounds like the FM was not called but it was (rollback process).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is the difference between an update attribute assigning FM and this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You control the FM update process by setting the update module attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Update with immediate start&lt;/P&gt;&lt;P&gt;Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions can be restarted by the update task in case of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Update w. imm. start, no restart&lt;/P&gt;&lt;P&gt;Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions may not be restarted by the update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Update with delayed start&lt;/P&gt;&lt;P&gt;Set this option for low priority ("V2") functions that run in their own update transactions. These functions can be restarted by the update task in case of errors.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 19:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912904#M685515</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-10-22T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wht is UPDATE TASK functionality in CALL FUNCTION??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912905#M685516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq for simple, useful explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood. If u provide one example(i mean, say, VA01, VL01 etc), it wuld b greate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 03:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wht-is-update-task-functionality-in-call-function/m-p/2912905#M685516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T03:44:27Z</dc:date>
    </item>
  </channel>
</rss>

