<?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: how to set a Java-like static attribute for a class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022453#M961214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew, hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help. the data cluster helps. i'll try cl_bsp_server_side_cookie class later also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 09:50:20 GMT</pubDate>
    <dc:creator>tongping</dc:creator>
    <dc:date>2008-06-24T09:50:20Z</dc:date>
    <item>
      <title>how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022446#M961207</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;&lt;/P&gt;&lt;P&gt;I'd like to define a static attribute for a class; while it seems that: for ABAP, &lt;STRONG&gt;static attribute of a class only valid for a http connection and after this connection it will be reset.&lt;/STRONG&gt; I'm sad about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do anybody know how I can define a Java/C++-like static attribute? I would to keep the content of this attribute for long time.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;b.t.w. it seems SET PARAMETER ID and GET PARAMETER ID only works for flat field? What I want to keep is an internal table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks and best regards,&lt;/P&gt;&lt;P&gt;Said&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sayid Tong on Jun 23, 2008 10:21 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 08:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022446#M961207</guid>
      <dc:creator>tongping</dc:creator>
      <dc:date>2008-06-23T08:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022447#M961208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to look at the persistency framework.  Thomas Jung did a blog about it, and there's plenty of documentation.  Search on "persistence abap objects" to find it all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 08:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022447#M961208</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-06-23T08:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022448#M961209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the persistence way is what I intend to avoid in this case. It's possible to use a database table (it's actually more than one for sake of deep structure) to store these data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 09:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022448#M961209</guid>
      <dc:creator>tongping</dc:creator>
      <dc:date>2008-06-23T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022449#M961210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered using EXPORT and IMPORT to a cluster table?  &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;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 09:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022449#M961210</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-06-23T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022450#M961211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the server-side cookie facilities that are generally used with the BSP programming model. There is no reason you can't use this facility in any ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This allows you to persist ABAP data structures and then "pop" them back out on demand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the cl_bsp_server_side_cookie class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Graham Robbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 23:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022450#M961211</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2008-06-23T23:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022451#M961212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, i'm trying export and import. While an question: what's the &lt;STRONG&gt;area for a database table&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP keyword documentation, there is an example:&lt;/P&gt;&lt;P&gt;... DATABASE dbtab(ar) [FROM wa] [CLIENT cl] ID id &lt;/P&gt;&lt;P&gt;EXPORT tab = itab &lt;/P&gt;&lt;P&gt;  TO DATABASE indx(XY) &lt;/P&gt;&lt;P&gt;  FROM wa_indx &lt;/P&gt;&lt;P&gt;  CLIENT cl &lt;/P&gt;&lt;P&gt;  ID 'TABLE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I didn't find explanation for database area and where to check it, in keyword docs and SAP help. Could you help explain it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022451#M961212</guid>
      <dc:creator>tongping</dc:creator>
      <dc:date>2008-06-24T07:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022452#M961213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Area is whatever the programmer defines it to be.  If you've defined the cluster table yourself, you can choose the area.  It's just part of the key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022452#M961213</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-06-24T07:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to set a Java-like static attribute for a class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022453#M961214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew, hi Graham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help. the data cluster helps. i'll try cl_bsp_server_side_cookie class later also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 09:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-a-java-like-static-attribute-for-a-class/m-p/4022453#M961214</guid>
      <dc:creator>tongping</dc:creator>
      <dc:date>2008-06-24T09:50:20Z</dc:date>
    </item>
  </channel>
</rss>

