<?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: Difference between V1 and V2 updates in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983166#M704362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are various types of work-processes.&lt;/P&gt;&lt;P&gt;A typical SAP system installation contains dialog work processes &lt;/P&gt;&lt;P&gt;and at least one update work process. &lt;/P&gt;&lt;P&gt;The update work processes are responsible for updating the database. &lt;/P&gt;&lt;P&gt;The primary step is called V1, the secondary step V2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1 has 2 option.&lt;/P&gt;&lt;P&gt;1) start immediately&lt;/P&gt;&lt;P&gt;2)Imediate start, no restart.&lt;/P&gt;&lt;P&gt;Restarting can be done in tcode:SM13 - Update   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The V1 and V2 steps of a log entry are processed in separate database LUWs. The entries in the lock table are usually deleted once the V1 step has been processed. There is no locking for the V2 step. Dividing up the update process allows you to separate time-critical updates that require database locks from less critical data updates that do not need locks. V2 steps receive lower priority from the dispatcher than V1 steps. This ensures that the time- and lock-critical updates are processed quickly, even when the system is busy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an error occurs during the V1 processing, the database rollback applies to all V1 steps in the log entry. The entire entry is replaced in table VBLOG. If an error occurs during V2 processing, all of the V2 steps in the log entry are replaced in table VBLOG, but the V1 updates are not reversed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system marks rolled-back function modules as error functions in the update task log. The error can then be corrected and the function restarted later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2007 07:06:27 GMT</pubDate>
    <dc:creator>JoffyJohn</dc:creator>
    <dc:date>2007-11-09T07:06:27Z</dc:date>
    <item>
      <title>Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983162#M704358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Could u pls tell me the difference between V1 and V2 updates... and the differences between 4 different types of update function modules....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thannx in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 04:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983162#M704358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T04:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983163#M704359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;V1 updates are syncronous updates&lt;/P&gt;&lt;P&gt;V2 updates are asyncronous updates&lt;/P&gt;&lt;P&gt;please see the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.htm"&amp;gt;http://help.sap.com/saphelp_nw04s/helpdata/en/e5/de86f335cd11d3acb00000e83539c3/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 05:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983163#M704359</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2007-11-09T05:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983164#M704360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be able to call a function module in an update work process, you must flag it in the Function Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When you create the function module, set the Process Type attribute to one of the following values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.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;2.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;3.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;4. coll. run&lt;/P&gt;&lt;P&gt;- For internal use only -&lt;/P&gt;&lt;P&gt;A number of similar function modules that previously used to run individually in the V2 update process can be grouped together and run collectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reasons for processing them collectively are as follows:&lt;/P&gt;&lt;P&gt;the data of all the calls are read and processed internally&lt;/P&gt;&lt;P&gt;database updates are not made until the internal processing is complete&lt;/P&gt;&lt;P&gt;For further information, refer to the ABAP/4 documentation under IMPORT FROM LOGFILE and UPDATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 05:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983164#M704360</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2007-11-09T05:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983165#M704361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u John for ur response...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to know what does this mean -  "These functions can be restarted by the update task in case of errors." for Update with immediate start...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 06:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983165#M704361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T06:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983166#M704362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are various types of work-processes.&lt;/P&gt;&lt;P&gt;A typical SAP system installation contains dialog work processes &lt;/P&gt;&lt;P&gt;and at least one update work process. &lt;/P&gt;&lt;P&gt;The update work processes are responsible for updating the database. &lt;/P&gt;&lt;P&gt;The primary step is called V1, the secondary step V2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1 has 2 option.&lt;/P&gt;&lt;P&gt;1) start immediately&lt;/P&gt;&lt;P&gt;2)Imediate start, no restart.&lt;/P&gt;&lt;P&gt;Restarting can be done in tcode:SM13 - Update   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The V1 and V2 steps of a log entry are processed in separate database LUWs. The entries in the lock table are usually deleted once the V1 step has been processed. There is no locking for the V2 step. Dividing up the update process allows you to separate time-critical updates that require database locks from less critical data updates that do not need locks. V2 steps receive lower priority from the dispatcher than V1 steps. This ensures that the time- and lock-critical updates are processed quickly, even when the system is busy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an error occurs during the V1 processing, the database rollback applies to all V1 steps in the log entry. The entire entry is replaced in table VBLOG. If an error occurs during V2 processing, all of the V2 steps in the log entry are replaced in table VBLOG, but the V1 updates are not reversed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system marks rolled-back function modules as error functions in the update task log. The error can then be corrected and the function restarted later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 07:06:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983166#M704362</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2007-11-09T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983167#M704363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This link has answer to all ur doubts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf"&amp;gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983167#M704363</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2007-11-09T08:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983168#M704364</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;Synchronous versus Asynchronous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With synchronous updating, we can check SY-SUBRC to determine the success of the transaction and the actual update to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&amp;#133;&amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;PERFORM FILL_BDC_TAB.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;#145;FK02&amp;#146;&lt;/P&gt;&lt;P&gt;USING BDC_TAB&lt;/P&gt;&lt;P&gt;MODE &amp;#145;N&amp;#146;&lt;/P&gt;&lt;P&gt;UPDATE &amp;#145;S&amp;#146;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt; &amp;gt; 0.&lt;/P&gt;&lt;P&gt;WRITE: /&amp;#145;ERROR&amp;#146;. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With asynchronous updating, we can check SY-SUBRC to determine the success of the transaction only, not the actual update to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&amp;#133;&amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;PERFORM FILL_BDC_TAB.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;#145;FK02&amp;#146;&lt;/P&gt;&lt;P&gt;USING BDC_TAB&lt;/P&gt;&lt;P&gt;MODE &amp;#145;N&amp;#146;&lt;/P&gt;&lt;P&gt;UPDATE &amp;#145;A&amp;#146;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt; &amp;gt; 0.&lt;/P&gt;&lt;P&gt;WRITE: /&amp;#145;ERROR&amp;#146;. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Asynchronous Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous Update : This means say if u have 10 records to update and the processing is going on in a loop the Synchronous update will wait till each update is actually done in the data base and then it will move on the next record's updation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous : In This mode, the updates are lined one after the other and the system doesn't wait for the updates to actually happen. These updates are then triggered by an internally scheduled job which then actually updates the data in the databse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataBase Commit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement will apply any outstanding database updates and wait until they have actually been put on the database before proceeding to the next statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ordinary commit work will initiate the process to update the databases in a separate task and will press on in your abap.&lt;/P&gt;&lt;P&gt;COMMIT WORK: ( Asynchronous)&lt;/P&gt;&lt;P&gt;Your program does not wait for any acknowledgement. it just start executing the next statment after COMMIT WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 08:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983168#M704364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T08:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983169#M704365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much John for all the info....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U said that Restarting can be done in tcode:SM13 - Update ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restarting means Repeat Update function in SM13 ??? if Yes, this function is available for both  start immediately and Immediate start, no restart. Please clarify this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 10:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983169#M704365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-09T10:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983170#M704366</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;These links are not opening John...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 07:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983170#M704366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-31T07:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between V1 and V2 updates</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983171#M704367</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;V1 is Primary Function module. It is Time Critical.&lt;/P&gt;&lt;P&gt;1. V1 is a Synchronous Update,&lt;/P&gt;&lt;P&gt;2. In this mode, the called transaction waits for any updates that it produces to be completed.&lt;BR /&gt;3. V1 modules are processed consecutively in a single update work process on the same application server. This means that they belong to the same database LUW. &lt;/P&gt;&lt;P&gt;4. V1 update module generates update requests in table VBLOG in synchronous mode.&lt;/P&gt;&lt;P&gt;V2 modules describe less critical secondary changes.&lt;/P&gt;&lt;P&gt;1. V2 is asynchronous update&lt;/P&gt;&lt;P&gt;2. 1. In This mode, the updates are lined one after the other and the system doesn't wait for the updates to actually happen. These updates are then triggered by an internally scheduled job which then actually updates the data in the database.&lt;/P&gt;&lt;P&gt;3. Asynchronous processing therefore usually results in faster execution of your data transfer program.&lt;/P&gt;&lt;P&gt;4.Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nasreen. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 12:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-v1-and-v2-updates/m-p/2983171#M704367</guid>
      <dc:creator>former_member697780</dc:creator>
      <dc:date>2020-12-14T12:17:18Z</dc:date>
    </item>
  </channel>
</rss>

