<?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: Read data from secondary database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200807#M1715349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11px; background-color: #ffffff; color: #333333;"&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/joerg.lutzke" id="jive-57470514183833191993996" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; text-decoration: underline !important; color: #3778c7;"&gt;Jörg Lutzke &lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;It seems you forgot to mention the INTO TABLE - clause. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Request you to try this : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; CONNECTION ('HDB1')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO TABLE lt_xyz&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; "(Name of the Internal Table)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE parameter = 'Some value'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Kumar.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2013 12:15:08 GMT</pubDate>
    <dc:creator>former_member184871</dc:creator>
    <dc:date>2013-01-18T12:15:08Z</dc:date>
    <item>
      <title>Read data from secondary database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200805#M1715347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to read data from a secundary database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Select * from &amp;lt;table&amp;gt; connection ( ‘DB2’ ) …&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start the report, I get a runtime exception: &lt;/P&gt;&lt;P&gt;“Table unknown or does not exist.”&amp;nbsp; (DBIF_RSQL_TABLE_UNKNOWN)&lt;/P&gt;&lt;P&gt;The table &lt;SPAN style="text-decoration: underline;"&gt;do&lt;/SPAN&gt; exist on secundary database. How can I specify a database scheme?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jörg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 11:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200805#M1715347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T11:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from secondary database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200806#M1715348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding the schema: when you configure the secondary connection via the DBACOCKPIT you specify a user name. This defines in particular the schema in the secondary DB when using Open SQL (via native SQL (e.g. using ADBC) you can also specify the schema but then of course the user requires access to the respective schema).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your scenario note that in order to use Open SQL via secondary connection it is required that the table/view exists in the dictionary of your local system. But I guess this is the case because otherwise you would have gotten a syntax error (unless you used dynamic SQL and specified the table name as a string).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 12:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200806#M1715348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T12:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read data from secondary database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200807#M1715349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 11px; background-color: #ffffff; color: #333333;"&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://answers.sap.com/people/joerg.lutzke" id="jive-57470514183833191993996" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; text-decoration: underline !important; color: #3778c7;"&gt;Jörg Lutzke &lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;It seems you forgot to mention the INTO TABLE - clause. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Request you to try this : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; CONNECTION ('HDB1')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO TABLE lt_xyz&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; "(Name of the Internal Table)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE parameter = 'Some value'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;Kumar.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #333333; font-size: 11px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 12:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-secondary-database/m-p/9200807#M1715349</guid>
      <dc:creator>former_member184871</dc:creator>
      <dc:date>2013-01-18T12:15:08Z</dc:date>
    </item>
  </channel>
</rss>

