<?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: Run time Error: SQL error 60 when accessing table NRIV. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641851#M1865452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that dump portion where you can see with highlighted line of the code is not available in this case. Because, it is showing "RFC" where I submitted postings portion as a separate task (There is something went wrong in side the RFC of parallel task and as you know, we can submit parallel tasks only with RFCs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I agree with you it is same issue with number ranges table NRIV. And, this must be triggered in Postings BAPI that I am using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to understand why it is not giving this error every time (Is it because there is no conflict??)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is the "Parallel buffering" option at Number Ranges scope and impact on other applications?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2014 12:24:43 GMT</pubDate>
    <dc:creator>naveen_inuganti2</dc:creator>
    <dc:date>2014-10-08T12:24:43Z</dc:date>
    <item>
      <title>Run time Error: SQL error 60 when accessing table NRIV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641849#M1865450</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;I am re-designing one FI Document postings program which is taking long time in our production system. In the new version, I had to implement parallel processing to get better response time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Flow:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you want understand little more about the program flow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Selecting records from one Z table in our system&lt;/LI&gt;&lt;LI&gt;Checking number of available processors with help of SPBT_INITIALIZE function module ( I am passing nothing to this FM and collecting available processor count in FREE_PBT_WPS)&lt;/LI&gt;&lt;LI&gt;There is a cut-off on number of tasks from selection-screen of the program. So, even though I receive more processors in available status, will cut some of them based on the selection screen input. Example, if user enters "4" on selection-screen and there are "6" available then process go for 4 parallel tasks.&lt;/LI&gt;&lt;LI&gt;Now, I am sending data to RFC which handles this postings part in smaller chunks (based on step 3 count). Example, if I have 40000 records and 4 tasks can be activated then 10000 to each task.&lt;/LI&gt;&lt;LI&gt;In the RFC, I have few more (4-5) select queries to fetch data relevant to given data set. And, after doing that, in the same RFC, I am calling BAPI_ACC_DOCUMENT_POST to post documents.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System Details&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Currently I am testing this in one of our testing environment where we have 4 servers with 14+18+18+18 DIA processors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are receiving run time error "&lt;SPAN style="color: #ff0000;"&gt;SQL error 60 when accessing table NRIV.&lt;/SPAN&gt;" , &lt;SPAN style="text-decoration: underline;"&gt;in very few cases&lt;/SPAN&gt; i.e couple of times out of 20-25 executions. Apparently, we got this error when we tried with "6" parallel tasks (as we can control this from selection-screen). But I don't see any technical or logical reason behind "6" tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in run time error, we are facing this error due to number range that we are using. In this number range object RF_BELEG we did not set any buffering, till now. I don't see much documentation on "Parallel buffering" option that we have for this number range (as per the name, it seems relevant to parallel processing). Actually, i am worried if there will be any impact on other applications/programs if we change this, as we are using FI document posting (which will hit this number range) widely in our system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/558277" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/558428" height="328" width="717" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/558429" height="271" width="721" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 11:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641849#M1865450</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2014-10-08T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run time Error: SQL error 60 when accessing table NRIV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641850#M1865451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post your ST22 dump here. Normally we get this error because of a table lock, i.e. your program is trying to use a table which is locked by another program using same table, and usually this is detailed clearly in the dump message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641850#M1865451</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-10-08T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run time Error: SQL error 60 when accessing table NRIV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641851#M1865452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that dump portion where you can see with highlighted line of the code is not available in this case. Because, it is showing "RFC" where I submitted postings portion as a separate task (There is something went wrong in side the RFC of parallel task and as you know, we can submit parallel tasks only with RFCs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I agree with you it is same issue with number ranges table NRIV. And, this must be triggered in Postings BAPI that I am using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I want to understand why it is not giving this error every time (Is it because there is no conflict??)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what is the "Parallel buffering" option at Number Ranges scope and impact on other applications?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 12:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641851#M1865452</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2014-10-08T12:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run time Error: SQL error 60 when accessing table NRIV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641852#M1865453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;I found this SAP NOTE to resolve the issues. Thanks to our SAP support team.&lt;/SPAN&gt;&lt;SPAN class="title" style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1398444" style="font-family: Arial, Helvetica, sans-serif; background-color: #cbdbea;" title="1398444  - Buffering the document number assignment for RF_BELEG"&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;1398444 - Buffering the document number assignment for RF_BELEG&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;Recommendation is to proceed with Parallel buffering. &lt;/SPAN&gt;&lt;SPAN class="title" style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="title" style="color: #000000;"&gt;Naveen&lt;/SPAN&gt;&lt;SPAN class="title" style="color: #000000; font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 10:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error-sql-error-60-when-accessing-table-nriv/m-p/10641852#M1865453</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2014-10-09T10:34:29Z</dc:date>
    </item>
  </channel>
</rss>

