<?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: Cluster Tables and Open SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841874#M1591023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As expected, Uwe &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2011 09:01:54 GMT</pubDate>
    <dc:creator>yuri_ziryukin</dc:creator>
    <dc:date>2011-04-28T09:01:54Z</dc:date>
    <item>
      <title>Cluster Tables and Open SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841871#M1591020</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;&lt;/P&gt;&lt;P&gt;I am planning to replace several transparent tables with cluster tables.&lt;/P&gt;&lt;P&gt;And this also implies that I have to read from cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the reason, I did not do this is until now is, that at the moment I  am heavily &lt;/P&gt;&lt;P&gt;relying on the possibility to specify the DB name dynamically during runtime.&lt;/P&gt;&lt;P&gt;If I start implementing this scenario in one case, it should be possible to implement this &lt;/P&gt;&lt;P&gt;for all cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is now, is it possible to use cluster table similar to transparent table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following sketches the idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The typical cluster table looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELID	INDX_RELID&lt;/P&gt;&lt;P&gt;SELKEY&lt;/P&gt;&lt;P&gt;SRTF2	INDX_SRTF2&lt;/P&gt;&lt;P&gt;CLUSTR       &lt;/P&gt;&lt;P&gt;CLUSTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What one could do is, select from the cluster table using the primariy key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RELID	INDX_RELID&lt;/P&gt;&lt;P&gt;SELKEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into an internal table, treating the DB table as an transparent table and after that,&lt;/P&gt;&lt;P&gt;do an import from the internal table to the real internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate the value for SELKEY - Fill the structure and move the content of the &lt;/P&gt;&lt;P&gt;structure to a CHAR50.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: Would this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked across the documentation, but I have found only little.&lt;/P&gt;&lt;P&gt;Trying it out is not useful either, since this technique needs to work independ of OS, DB &lt;/P&gt;&lt;P&gt;and NW Release.&lt;/P&gt;&lt;P&gt;And if it works, I cant be sure, that with a different system setup it still works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks fro your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards&lt;/P&gt;&lt;P&gt;Uwe Gebhardt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Uwe Gebhardt on Apr 28, 2011 9:38 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 07:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841871#M1591020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-28T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Tables and Open SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841872#M1591021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would not advise you to switch from transparent to cluster tables. Cluster tables give you much less flexibility in terms of different access strategies, usage of indexes, etc.&lt;/P&gt;&lt;P&gt;And I think you can forget about reprogramming SAP DBI functionality of parsing cluster table contents in your program and moving it into a real internal table. There is simply too much you should take care of. And what if SAP decides to make a slight change in the next release. Then the upgrade will ruine your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my advise - stick to the transparent tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 07:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841872#M1591021</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-04-28T07:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Tables and Open SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841873#M1591022</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;had a short E-Mail discussion with the performance group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my side, the topic is closed since the statement in the E-Mail was, that the sketched idea is not&lt;/P&gt;&lt;P&gt;supported by the ABAP language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards&lt;/P&gt;&lt;P&gt;Uwe Gebhardt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 08:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841873#M1591022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-28T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Tables and Open SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841874#M1591023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As expected, Uwe &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 09:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cluster-tables-and-open-sql/m-p/7841874#M1591023</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-04-28T09:01:54Z</dc:date>
    </item>
  </channel>
</rss>

