<?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: SAP LUW Memory, DB-Buffer and Commit Questions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850658#M1786343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the mechanism was wrote by a colleague(he is no longer here) some time ago. Everything is new customer development. There is a Z_ table that constains the numbers that have to be allocated and there is a Z_ class and method that locks, reads and marks a number as "used". &lt;/P&gt;&lt;P&gt;I have used the term "number range" because that is the concept, but like I've mentioned, everything is customer development because of an external server(HOST) that manages the numbers. &lt;/P&gt;&lt;P&gt;I don't know why they didn't use na external number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ioan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 08:31:05 GMT</pubDate>
    <dc:creator>former_member205645</dc:creator>
    <dc:date>2013-11-06T08:31:05Z</dc:date>
    <item>
      <title>SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850654#M1786339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been investigating a problem with a customer made number range; the same number was assigned twice. The DB-Table is fully buffered. In the method that reads the next number there is no COMMIT WORK and that is right, because the method is being called in a LUW that must not be disturbed. While debugging I have noticed that although there is no COMMIT, the SE16N was displaying in another mode(right after MODIFY) the modified data. After interrupting the debugger it must have executed a ROLLBACK because the data was "deleted".&lt;/P&gt;&lt;P&gt;On top of that, we also have two application servers and I know that the buffer syncronization only checks about every 1-2 minutes to see if there are differences between the buffers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The questions are :&amp;nbsp; 1. How does the Memory(where is the data that has to be written in the DB?) in a SAP LUW work?&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;&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; 2. How does the DB-Buffer management work?&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;&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; 3. Does the new debugger have implicit commits?&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;&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; 4. Would it be possible that the problem are the two buffers in the two separate application servers (I hope not &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1925/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ioan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. please no sap help links &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1925/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; I have already read that &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 07:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850654#M1786339</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2013-11-06T07:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850655#M1786340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As described in SAP note 179224 if you have several application servers you should have switched the number range object to local buffer mechanism. This is to use NRIV_LOKAL instead of NRIV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your number range in SNRO to be customized as in the SAP note described.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 07:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850655#M1786340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-06T07:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850656#M1786341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for the reply. I forgot to mention; we have our own Z-Table. That is what I meant with "the table is fully buffered". I'm sorry for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ioan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 07:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850656#M1786341</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2013-11-06T07:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850657#M1786342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you need a custom number range object or a special lock mechanism for your table to avoid duplicates. I've thought that you use your own custom number range object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you have to avoid two parallel processese that want too update your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also lock the complete table for update if one process ask for a new number. If the table is locked you have to deny a new number for the second process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use SAP standard fm NUMBER_GET_NEXT if you use your own custom number range object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 08:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850657#M1786342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-06T08:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850658#M1786343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the mechanism was wrote by a colleague(he is no longer here) some time ago. Everything is new customer development. There is a Z_ table that constains the numbers that have to be allocated and there is a Z_ class and method that locks, reads and marks a number as "used". &lt;/P&gt;&lt;P&gt;I have used the term "number range" because that is the concept, but like I've mentioned, everything is customer development because of an external server(HOST) that manages the numbers. &lt;/P&gt;&lt;P&gt;I don't know why they didn't use na external number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ioan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 08:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850658#M1786343</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2013-11-06T08:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP LUW Memory, DB-Buffer and Commit Questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850659#M1786344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested it. The synchronizing of the buffer between the two application servers is working fine.&lt;/P&gt;&lt;P&gt;And the new debugger does/should not heva implicit commits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 07:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-luw-memory-db-buffer-and-commit-questions/m-p/9850659#M1786344</guid>
      <dc:creator>former_member205645</dc:creator>
      <dc:date>2013-11-15T07:30:26Z</dc:date>
    </item>
  </channel>
</rss>

