<?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 NRIV Table Lock in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nriv-table-lock/m-p/4072268#M973657</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 need a help on how to get NRIV table lock released ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users create Claims using portal as well R/3.&lt;/P&gt;&lt;P&gt;While creating claim, a number will be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is :&lt;/P&gt;&lt;P&gt;When users create claim , one user gets system hang and other are not able to create claim.&lt;/P&gt;&lt;P&gt;In DB01 we can see a lock on NRIV table HOLD status and DBTABLOG WAIT status.&lt;/P&gt;&lt;P&gt;Once this lock is released, the users are able to create claim as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program logic:&lt;/P&gt;&lt;P&gt;Thre is a number range used for Claim number.&lt;/P&gt;&lt;P&gt;This object is locked and unlocked by FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE'.&lt;/P&gt;&lt;P&gt;To generate number  : NUMBER_GET_NEXT is used.&lt;/P&gt;&lt;P&gt;This object is not buffered.&lt;/P&gt;&lt;P&gt;While Header table Enqueue ,  Lock mode is 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion i gave  : To increase the buffer size. we can give No of number in buffer as 10 - 20.&lt;/P&gt;&lt;P&gt;But if so, how will the GAPS in the number generated would be. So user is afraid on this gap.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please help me to get rid of this NRIV table lock.&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;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 14:47:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T14:47:14Z</dc:date>
    <item>
      <title>NRIV Table Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nriv-table-lock/m-p/4072268#M973657</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 need a help on how to get NRIV table lock released ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users create Claims using portal as well R/3.&lt;/P&gt;&lt;P&gt;While creating claim, a number will be generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is :&lt;/P&gt;&lt;P&gt;When users create claim , one user gets system hang and other are not able to create claim.&lt;/P&gt;&lt;P&gt;In DB01 we can see a lock on NRIV table HOLD status and DBTABLOG WAIT status.&lt;/P&gt;&lt;P&gt;Once this lock is released, the users are able to create claim as usual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program logic:&lt;/P&gt;&lt;P&gt;Thre is a number range used for Claim number.&lt;/P&gt;&lt;P&gt;This object is locked and unlocked by FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE'.&lt;/P&gt;&lt;P&gt;To generate number  : NUMBER_GET_NEXT is used.&lt;/P&gt;&lt;P&gt;This object is not buffered.&lt;/P&gt;&lt;P&gt;While Header table Enqueue ,  Lock mode is 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion i gave  : To increase the buffer size. we can give No of number in buffer as 10 - 20.&lt;/P&gt;&lt;P&gt;But if so, how will the GAPS in the number generated would be. So user is afraid on this gap.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please help me to get rid of this NRIV table lock.&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;Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 14:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nriv-table-lock/m-p/4072268#M973657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: NRIV Table Lock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nriv-table-lock/m-p/4072269#M973658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check &lt;/P&gt;&lt;P&gt;the note 399207&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 14:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nriv-table-lock/m-p/4072269#M973658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T14:52:07Z</dc:date>
    </item>
  </channel>
</rss>

