<?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>Question Re: Incorrect Schema when Updating Datasource Location in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428438#M57103</link>
    <description>&lt;P&gt;Hi Zachary,&lt;/P&gt;&lt;P&gt;When updating the connection try clicking on each table and not just the new DSN.&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 19:52:50 GMT</pubDate>
    <dc:creator>former_member11696</dc:creator>
    <dc:date>2017-06-20T19:52:50Z</dc:date>
    <item>
      <title>Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaq-p/428437</link>
      <description>&lt;P&gt;I am using SAP Crystal Reports 2011 and am trying to update the datasource locations on an existing report to a new database. I am using a DB2 database and the datasource connections are configured through ODBC.&lt;/P&gt;&lt;P&gt;In the report, I go to Database &amp;gt; Set Datasource Location &amp;gt; Select the Connection I want to update to &amp;gt; Then click update. The update process works correctly, but the tables that were updated are using the wrong Owner (schema). &lt;/P&gt;&lt;P&gt;Is there something in DB2 we need to specify to use to correct schema? What is the best way to update the "owner" of each table without manually having to update each table individually. We have thousands of reports, so updating the tables individually will be very time consuming.&lt;/P&gt;&lt;P&gt;EDIT: As the posted answer suggests, I updated each table individually rather than the entire DSN. This outputs the same result. The tables have a schema of 'B' when they should be schema 'A'. Interestingly enough, the user who is connecting to the DSN doesn't even have access to schema 'B'.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 19:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaq-p/428437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-20T19:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428438#M57103</link>
      <description>&lt;P&gt;Hi Zachary,&lt;/P&gt;&lt;P&gt;When updating the connection try clicking on each table and not just the new DSN.&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 19:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428438#M57103</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2017-06-20T19:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428439#M57104</link>
      <description>&lt;P&gt;I updated each table individually rather than the entire DSN. This outputs the same result. The tables have a schema of 'B' when they should be schema 'A'. Interestingly enough, the user who is connecting to the DSN doesn't even have access to schema 'B'.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428439#M57104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-21T15:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428440#M57105</link>
      <description>&lt;P&gt;Hi Zachary, &lt;/P&gt;&lt;P&gt;After you do the Set Datasource Location, go into Database | Show SQL Query.  Make sure the schema is correct in the SQL.  Set Datasource Location doesn't change the alias but will change the schema if you logged on properly.  &lt;/P&gt;&lt;P&gt;You can change the Schema by going into the Database Expert and right-clicking on the table and rename it in the Selected Tables window.  &lt;/P&gt;&lt;P&gt;Good luck, &lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 18:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428440#M57105</guid>
      <dc:creator>former_member292966</dc:creator>
      <dc:date>2017-06-21T18:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428441#M57106</link>
      <description>&lt;P&gt;The schema name is not correct when I go into Database | Show SQL Query. It is still showing as schema 'B', when I need schema 'A'.&lt;/P&gt;&lt;P&gt;I went into Database | Database Expert and tried to rename the table in the Selected Tables window but that did not work either. Trying to rename the tables to 'A.TABLE' output the following: "Invalid Argument provided. Details: The alias requested 'A.TABLE', contains a combination of characters which is not considered to be valid."&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 21:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428441#M57106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-21T21:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428442#M57107</link>
      <description>&lt;P&gt;Create 2 DSN's, one for DB Schema A and one for DB Schema B and then set location to the other one and see if that works.&lt;/P&gt;&lt;P&gt;CR fully supports Permissions so if the user does not have permissions to access the tables for Schema B CR will not update the connection info.&lt;/P&gt;&lt;P&gt;Managing security is your responsibility. Do not expect CR to do that for you, it's not capable.&lt;/P&gt;&lt;P&gt;Don&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2017 19:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428442#M57107</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2017-06-22T19:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428443#M57108</link>
      <description>&lt;P&gt;The user does not have permission to read the tables in schema B and that is what we are seeing when attempting to run the report, so I can confirm that aspect is working correctly.&lt;/P&gt;&lt;P&gt;My current DSN is configured to use schema 'A' with the CLI Parameter "CurrentSchema" with a value of 'A'. However, this does not solve the issue either. Updating from the old DSN to the new DSN results in the tables pointing to schema 'B'.&lt;/P&gt;&lt;P&gt;I do not see any areas to specify a schema with Crystal Report Designer, so I am assuming this would have to exist in the DSN like I specified above.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 22:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428443#M57108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-06-26T22:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Schema when Updating Datasource Location</title>
      <link>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428444#M57109</link>
      <description>&lt;P&gt;mmm... I'll get one of the Nexus Rep's to test this. It is likely because User does not have access to the original.&lt;/P&gt;&lt;P&gt;Go into Report options and uncheck all Verify options and then set location again.&lt;/P&gt;&lt;P&gt;See if that works...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 21:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/incorrect-schema-when-updating-datasource-location/qaa-p/428444#M57109</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2017-06-27T21:01:10Z</dc:date>
    </item>
  </channel>
</rss>

