<?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 Temporary tables - data cluster temporary tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391467#M1239290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have  flat file intensive programs, that use Read dataset..., that involves lot of i/o operations. Number of input/ output flat files range from 1 to 10 and each of them contain millions of records. Does SAP provide any facilty where in we can create temporary tables , load the data into them and discard when done. This is without involving data dictionary / basis help.&lt;/P&gt;&lt;P&gt;What is data cluster temporary tables concept ? any information is appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 13:42:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-26T13:42:17Z</dc:date>
    <item>
      <title>Temporary tables - data cluster temporary tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391467#M1239290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have  flat file intensive programs, that use Read dataset..., that involves lot of i/o operations. Number of input/ output flat files range from 1 to 10 and each of them contain millions of records. Does SAP provide any facilty where in we can create temporary tables , load the data into them and discard when done. This is without involving data dictionary / basis help.&lt;/P&gt;&lt;P&gt;What is data cluster temporary tables concept ? any information is appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 13:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391467#M1239290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary tables - data cluster temporary tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391468#M1239291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the concept of "Cluster Databases", where you can store data into them using the EXPORT TO DATABASE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of cluster database is INDX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;EXPORT &amp;lt;f1&amp;gt; [FROM &amp;lt;g1&amp;gt;] &amp;lt;f2&amp;gt; [FROM &amp;lt;g2&amp;gt;] ...&lt;/P&gt;&lt;P&gt;TO DATABASE &amp;lt;dbtab&amp;gt;(&amp;lt;ar&amp;gt;) [CLIENT &amp;lt;cli&amp;gt;] ID &amp;lt;key&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement stores the data objects specified in the list as a cluster in the cluster database&lt;/P&gt;&lt;P&gt;&amp;lt;dbtab&amp;gt;. You must declare &amp;lt;dbtab&amp;gt; using a TABLES statement. If you do not use the option&lt;/P&gt;&lt;P&gt;FROM &amp;lt;fi&amp;gt;, the data object &amp;lt;fi&amp;gt; is saved under its own name. If you use the FROM &amp;lt;gi&amp;gt; option,&lt;/P&gt;&lt;P&gt;the data objet &amp;lt;gi&amp;gt; is saved under the name &amp;lt;fi&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;ar&amp;gt; is the two-character area ID for the cluster in the database&lt;/P&gt;&lt;P&gt;The name &amp;lt;key&amp;gt; identifies the data in the database. Its maximum length depends on the length&lt;/P&gt;&lt;P&gt;of the name field in &amp;lt;dbtab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you require further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 13:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391468#M1239291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary tables - data cluster temporary tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391469#M1239292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pradeep,&lt;/P&gt;&lt;P&gt;Thanks , do you have any sample code by any chance? I wil also search SDN or internet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 15:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391469#M1239292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Temporary tables - data cluster temporary tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391470#M1239293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if this is helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM SAPMZTS1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES INDX.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 100,&lt;/P&gt;&lt;P&gt;COL1 TYPE I,&lt;/P&gt;&lt;P&gt;COL2 TYPE I,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 3000 TIMES.&lt;/P&gt;&lt;P&gt;   ITAB-COL1 = SY-INDEX.&lt;/P&gt;&lt;P&gt;   ITAB-COL2 = SY-INDEX ** 2.&lt;/P&gt;&lt;P&gt;   APPEND ITAB.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INDX-AEDAT = SY-DATUM.&lt;/P&gt;&lt;P&gt;INDX-USERA = SY-UNAME.&lt;/P&gt;&lt;P&gt;INDX-PGMID = SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT ITAB TO DATABASE INDX(HK) ID 'Table'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'AEDAT:', INDX-AEDAT,&lt;/P&gt;&lt;P&gt;/ 'USERA:', INDX-USERA,&lt;/P&gt;&lt;P&gt;/ 'PGMID:', INDX-PGMID.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;WRITE 'JTAB:'.&lt;/P&gt;&lt;P&gt;LOOP AT JTAB FROM 1 TO 5.&lt;/P&gt;&lt;P&gt;WRITE: / JTAB-COL1, JTAB-COL2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pradeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 04:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/temporary-tables-data-cluster-temporary-tables/m-p/5391470#M1239293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-27T04:49:19Z</dc:date>
    </item>
  </channel>
</rss>

