<?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 Global Memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134155#M448844</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;My requirement is that I need to have a filed COUNT which will have initial&lt;/P&gt;&lt;P&gt;value as 1 and it will be incremented for each record.&lt;/P&gt;&lt;P&gt;Suppose the end value for the first program run is 102.&lt;/P&gt;&lt;P&gt;Now I close the Session and open new session then the field count should start &lt;/P&gt;&lt;P&gt;counting from 103.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SET/GET parameter and EXPORT/IMPORT memory id doesnot work as the &lt;/P&gt;&lt;P&gt;memory value gets lost when we close the session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2007 16:46:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-19T16:46:14Z</dc:date>
    <item>
      <title>Global Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134155#M448844</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;My requirement is that I need to have a filed COUNT which will have initial&lt;/P&gt;&lt;P&gt;value as 1 and it will be incremented for each record.&lt;/P&gt;&lt;P&gt;Suppose the end value for the first program run is 102.&lt;/P&gt;&lt;P&gt;Now I close the Session and open new session then the field count should start &lt;/P&gt;&lt;P&gt;counting from 103.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SET/GET parameter and EXPORT/IMPORT memory id doesnot work as the &lt;/P&gt;&lt;P&gt;memory value gets lost when we close the session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 16:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134155#M448844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T16:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Global Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134156#M448845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what u can do is use some ztable which has a counter field or else create a z-table with counter as field. at end of the session update this table with the counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write a select statement to fetch the values and check the maximum value by sorting and use it when ever required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 16:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134156#M448845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T16:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Global Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134157#M448846</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;As we know SAP works on appln server, so there is no concept of permant storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP processes data per session &amp;amp; finally updates the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can store in custom ztable, &amp;amp; get it once you login back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 18:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134157#M448846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T18:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Global Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134158#M448847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a continuously running number, indefinintly?  If so, you should use a number range.  Create the range in transaction SNRO, create the interval for your range(00001 to 99999),  Then in your program simply use the funciton module NUMBER_GET_NEXT to get the next avaible number.  The running number will always be updated in the database table NRIV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to create a custom table to keep track of your number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 18:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/global-memory/m-p/2134158#M448847</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-19T18:12:14Z</dc:date>
    </item>
  </channel>
</rss>

