<?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: Reg. LUW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386082#M813036</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;the ABAP command COMMIT WORK AND WAIT interrupts the current LUW and stores the changes. I assume that you have an internal table and for each record from this table you run batch input. Maybe you can try to call after X batch inputs command COMMIT WORK AND WAIT. It should wait for all current updates. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL VF01 line1&lt;/P&gt;&lt;P&gt;CALL VF01 line2&lt;/P&gt;&lt;P&gt;CALL VF01 line3&lt;/P&gt;&lt;P&gt;CALL VF01 line4&lt;/P&gt;&lt;P&gt;CALL VF01 line5&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change mode in your command CALL TRANSACTION to synchronous you will lose the benefits of parallel processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 00:25:53 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2008-10-01T00:25:53Z</dc:date>
    <item>
      <title>Reg. LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386079#M813033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;      This is regarding a doubt on LUW,&lt;/P&gt;&lt;P&gt;1, Whether a batch process is a single LUW.&lt;/P&gt;&lt;P&gt;2, Then if i am Creating the Billing Documents in background that is through VF06 ,  then whether it will come under single LUW.\&lt;/P&gt;&lt;P&gt;3, Then some where inside the Invoice creation if they have used &lt;STRONG&gt;Select for update&lt;/STRONG&gt; then a lock which has created will be held till the batch job completes ?&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;Sen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 07:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386079#M813033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T07:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386080#M813034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RV60SBAT (VF06) works in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;according to the criteria you specified on the selection screen RV60SBAT will create separate jobs running RV60SBT1 or (since release 4.7) SDBILLDL in those separate jobs. the number of separate jobs created varies in accordance to your selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these jobs will be spread across the available and free batch-workprocesses you have - this may be across several application serves, if available. this is where LUW comes into it: every job is processed in it's 'own' workprocess = LUW in this case which it will hold until the job ends. so according to the number of jobs it is possible that you have several batch processes working on your documents in parallel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the lock processed on a documents will &lt;EM&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/EM&gt; be held from the start of the job until the very end, but just as long as it takes to bill a single document and make sure of the consistency of the whole process. so if you have lock-problems or documents not being billed due to locks held this can have several causes which you would have to investigate. there's no out of the box-rule for approaching this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since you didn't tell us what release you are on i advise you to set the radio-button for posting in VF06 to: asynchronous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a workaround you might want to try to run program SDBILLDL in background with asyncronous posting, so there should not be a lock-problem any longer but of course this will kill the benefit of parallel-processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 11:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386080#M813034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T11:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386081#M813035</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;This thread looks related to a problem we are experiencing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using VF06 on version ERP 6.0 and at go lives we have to create a very large volume of invoices.  When we run this job, SAP seems to find every available update process across all application and database servers and uses them all.  Of course this stops everyone else doing any updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we control the number of update processes that SAP allocates to this billing job?  We want to take advantage of the benefits of the parallel processing, but we don't want SAP to take every available update process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Terry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 22:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386081#M813035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T22:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386082#M813036</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;the ABAP command COMMIT WORK AND WAIT interrupts the current LUW and stores the changes. I assume that you have an internal table and for each record from this table you run batch input. Maybe you can try to call after X batch inputs command COMMIT WORK AND WAIT. It should wait for all current updates. Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL VF01 line1&lt;/P&gt;&lt;P&gt;CALL VF01 line2&lt;/P&gt;&lt;P&gt;CALL VF01 line3&lt;/P&gt;&lt;P&gt;CALL VF01 line4&lt;/P&gt;&lt;P&gt;CALL VF01 line5&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change mode in your command CALL TRANSACTION to synchronous you will lose the benefits of parallel processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 00:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386082#M813036</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2008-10-01T00:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. LUW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386083#M813037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Terry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Are you able to solve the problem ? We have the similar kind of problem&amp;nbsp; in our system.All the available update processes are occupied and there are huge number of updates waiting in the queue when SDBILLDL job kicked off with asynchronous update in variant.This is causing delay in updates as all others are waiting in the queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 05:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-luw/m-p/3386083#M813037</guid>
      <dc:creator>former_member240105</dc:creator>
      <dc:date>2013-11-25T05:40:01Z</dc:date>
    </item>
  </channel>
</rss>

