<?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 Access external database views on different tablespace in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-external-database-views-on-different-tablespace/m-p/3494896#M840587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to access a external Oracle database (dbcon entry is set successfully) and read data from a view wich does not belong to my schema. In other IDEs the statement is simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from schema.view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP the code looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ('schema.view').&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ABAP splits this literal into two pieces and so I get an error message view  does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to correct the FROM part?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information. I tried to link the view on the oracle database over a synonym to access the view in the other schema. Normally this works fine, but synonyms will not be publicated to SAP so I can't read the data furthermore. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bastian Gröbl on Mar 13, 2008 8:56 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bastian Gröbl on Mar 13, 2008 9:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 12:37:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T12:37:56Z</dc:date>
    <item>
      <title>Access external database views on different tablespace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-external-database-views-on-different-tablespace/m-p/3494896#M840587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to access a external Oracle database (dbcon entry is set successfully) and read data from a view wich does not belong to my schema. In other IDEs the statement is simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from schema.view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP the code looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;SELECT *&lt;/P&gt;&lt;P&gt;FROM ('schema.view').&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ABAP splits this literal into two pieces and so I get an error message view  does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to correct the FROM part?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information. I tried to link the view on the oracle database over a synonym to access the view in the other schema. Normally this works fine, but synonyms will not be publicated to SAP so I can't read the data furthermore. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx so far!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bastian Gröbl on Mar 13, 2008 8:56 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bastian Gröbl on Mar 13, 2008 9:21 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 12:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-external-database-views-on-different-tablespace/m-p/3494896#M840587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T12:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access external database views on different tablespace</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/access-external-database-views-on-different-tablespace/m-p/3494897#M840588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of accessing the views on an different schema I created my own views.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 08:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/access-external-database-views-on-different-tablespace/m-p/3494897#M840588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T08:32:21Z</dc:date>
    </item>
  </channel>
</rss>

