Professional Documents
Culture Documents
Xi3 Bip Datasource Migration Wizard en
Xi3 Bip Datasource Migration Wizard en
Administrator's Guide
Copyright
2007 Business Objects. All rights reserved. Business Objects owns the following
U.S. patents, which may cover products that are offered and licensed by Business
Objects: 5,555,403; 6,247,008; 6,289,352; 6,490,593; 6,578,027; 6,768,986;
6,772,409; 6,831,668; 6,882,998 and 7,139,766. Business Objects and the Business
Objects logo, BusinessObjects, Crystal Reports, Crystal Xcelsius, Crystal Decisions,
Intelligent Question, Desktop Intelligence, Crystal Enterprise, Crystal Analysis,
Web Intelligence, RapidMarts, and BusinessQuery are trademarks or registered
trademarks of Business Objects in the United States and/or other countries. All
other names mentioned herein may be trademarks of their respective owners.
Third-party
Contributors
Contents
Chapter 1
Overview....................................................................................................10
Component architecture............................................................................10
Source files...........................................................................................11
Reports...........................................................................................11
Data sources...................................................................................12
Source file requirements.................................................................12
Migration wizard...................................................................................12
Target files............................................................................................12
Reports...........................................................................................12
Data sources...................................................................................13
Target file requirements..................................................................13
Migration workflow.....................................................................................13
Chapter 3
15
Overview....................................................................................................16
Choosing the migration path......................................................................16
Migrate then move................................................................................16
Move then migrate................................................................................17
Deploying the migration wizard.................................................................17
For migrating the files first....................................................................18
On the target report location...........................................................18
Contents
25
Overview....................................................................................................26
Migrating reports and data sources...........................................................26
Modifying the migration settings................................................................31
Migration options..................................................................................31
Copy all reports, including reports that are not based on queries,
dictionaries, or infoviews.................................................................31
Force report migration even when the infoview file is not found.....32
Force report migration even when the query does not have SQL
text..................................................................................................32
Keep saved data of dictionary/infoview reports..............................33
Locating your migrated files.......................................................................33
Migrated reports...................................................................................34
Migrated data sources..........................................................................35
Commands folder............................................................................35
Business Views folder.....................................................................35
Chapter 5
Post-Migration Practices
37
Overview....................................................................................................38
Checking the log file..................................................................................38
Testing the reports.....................................................................................38
Working with the migrated data sources....................................................39
Queries.................................................................................................39
Dictionaries and InfoViews...................................................................43
Contents
Troubleshooting
47
57
Index
59
Contents
Architecture and
Requirements
This section provides information about the components that are involved
when you use the Data Source Migration Wizard to migrate your files. It lists
the requirements of each component, and then describes the interaction that
occurs between the components during the migration process.
Overview
The Data Source Migration Wizard allows you to migrate reports that are
based on Crystal queries, dictionaries, or InfoViews, to a BusinessObjects
Enterprise deployment.
You migrate two types of objects: reports and data sources. The wizard
converts the data source of each report into an object that is usable in
BusinessObjects Enterprise, and then resets the data source location of the
report to point to the new object. The result is that you are able to make use
of the new features of BusinessObjects Enterprise, while keeping the
functionality of the reports and data sources from your Info installation.
Component architecture
The process of migrating your reports and your report data sources to
BusinessObjects Enterprise involves three component groups: the source
files, the migration wizard, and the target files.
10
Source files
Source files are the reports and the report data sources that you want to
migrate to BusinessObjects Enterprise. They are objects that exist within
your current system and are used in your Info deployment.
Typically, each report has a corresponding data source object. When you
choose to migrate a report, you select its data source for migration as well.
The wizard migrates both files concurrently.
Reports
The reports are standard .rpt files that are based on Crystal queries,
dictionaries, or InfoViews. By default, the wizard migrates only those reports
that are based on these data sources; it bypasses any reports that are based
on other sources.
11
Data sources
Three types of data sources act as source files for the migration wizard:
queries, dictionaries, and InfoViews. The wizard converts these objects into
data source types that can be used in BusinessObjects Enterprise.
Migration wizard
Use the Data Source Migration Wizard to migrate your source files to
BusinessObjects Enterprise. Note that the wizard overwrite your files; it
creates copies of the original files, converts the copies, and saves the
migrated copies in a new location.
Target files
Target files exist only after the migration is complete.
Reports
The migrated reports are copies of the reports that you selected as source
files. They are essentially the same reports, but with one significant difference:
their data source locations are now set to the converted data source objects
in BusinessObjects Enterprise.
12
Data sources
After the migration, the data sources that were included in your source files
are transformed into objects that are usable in BusinessObjects Enterprise.
Depending on the type of data source, the wizard creates one of two objects
in the BusinessObjects Enterprise Repository: Crystal queries are converted
into SQL Command objects, and dictionaries and InfoViews are converted
into Business Views.
Migration workflow
You begin the migration by selecting the source files that you want to migrate.
These typically consist of pairings between a Crystal report and the query,
dictionary, or InfoView that acts as the report's data source.
After prompting you to specify the reports that you want to migrate, the wizard
analyzes each file and determines the type of data source that is associated
with each report. Depending on the type of data source, the migration wizard
creates one of two objects in the BusinessObjects Enterprise Repository:
Crystal queries become SQL Command objects, and dictionaries and
InfoViews are converted into Business Views.
13
Note: New objects are created in the repository; that is, the wizard does not
14
This section describes the two paths that you can follow to migrate your files.
It offers deployment suggestions on how to optimize the migration process,
and then provides instructions for installing the migration wizard on your
system.
Overview
The Data Source Migration Wizard runs on any computer that has either
Crystal Reports or BusinessObjects Enterprise installed. This arrangement
allows a number of possible environments in which you can perform a
migration. (For example, you can run the wizard directly on the
BusinessObjects Enterprise server, or you can migrate your files from a
computer on your network.) However, each deployment has its advantages,
and an installation setup for one system may not necessarily facilitate the
most efficient migration for another.
You can use the wizard to migrate your reports and data sources first,
and then publish the reports to BusinessObjects Enterprise.
Each migration path has a different application and set of advantages, which
are described in the sections below. From the information that is provided,
you can determine which path is most suited to your situation and your
migration needs.
16
Migrate and test only a subset of reports and data sources at a time.
If you choose this migration path, you may install the migration wizard on
any computer that has Crystal Reports or BusinessObjects Enterprise
installed locally. For information about the possible deployments to use in
this migration path, see For migrating the files first on page 18.
Retain the folder settings and/or custom settings that were set on the
reports from your Info system.
If you choose this migration path, you must install the migration wizard on
the BusinessObjects Enterprise server. As well, you must use the Import
Wizard to move your reports and data sources to BusinessObjects Enterprise
before you begin the migration.
For more information about this deployment, see For moving the files first
on page 20. For information about using the Import Wizard, see "Importing
with the Import Wizard" in the BusinessObjects Enterprise Administrator's
Guide.
17
The migration is fast, because the reports are processed and stored on
the same computer that performs the migration.
For the migration to work, the target report location must have Crystal Reports
installed and have access to the BusinessObjects Enterprise server where
you want to save the migrated data sources.
Among the four deployments, this arrangement is the most flexible; however,
it has a disadvantage. Because the files need to be transferred through a
network, the migration may be slow, and it can substantially increase the
traffic in your system.
18
The migration is fast because the data sources are converted and stored
on the same computer that is performing the migration.
The transfer of substantial amounts of data has less impact on your system
(when compared to migrating your files through a separate computer
within a network).
However, the migration wizard makes use of local memory. As a result, any
other BusinessObjects Enterprise processes that are running may slow down
during the migration.
The migration is faster because both the reports and data sources are
processed and stored on the same system that performs the migration.
The transfer of substantial amounts of data has little impact on your overall
system (when compared to other deployments).
19
Installation procedures
The Data Source Migration Wizard is distributed as a standard .zip file. Extract
all of the contents of the file before you begin the installation.
Note: The migration wizard needs to be installed on a computer that has
20
This dialog box displays the path to the directory where the migration
wizard will be installed. You cannot modify this location; the Data Source
Migration Wizard needs to be installed within the specified directory.
3. Click Next.
The "Ready to Install the Application" dialog box appears.
21
This dialog box confirms that the program is ready to be installed on your
computer.
4. Click Install.
The program installs the Data Source Migration Wizard on your computer.
22
5. Click Finish.
Note: If you are installing the migration wizard for the first time, you may
be prompted to restart your computer before the new settings take effect.
The Data Source Migration Wizard is now successfully installed on your
computer. To launch the migration wizard, on your desktop, click Start >
Programs > BusinessObjects Enterprise XI Release 2 > BusinessObjects
Enterprise > Data Source Migration Wizard.
23
24
This section lists step-by-step instructions for migrating your reports and
data sources through the Data Source Migration Wizard. It gives information
about how to modify the migration settings, and then describes how to locate
the migrated files.
Overview
By migrating your reports and data sources, you can take advantage of the
new features and extended functionality offered by BusinessObjects
Enterprise. As an integrated suite for reporting, analysis, and information
delivery, BusinessObjects Enterprise provides a solution for increasing
end-user productivity while reducing administrative costs.
driver for DB2, you have the latest version of the DB2 Unicode driver installed
on your system. If you attempt to migrate the files without the driver installed,
the migration will fail.
To obtain the driver, visit the Business Objects Download Center:
http://www.businessobjects.com/products/downloadcenter/
Note: For additional information about special cases and particular issues
that are involved when using the Data Source Migration Wizard, see the
Release Notes, which are included in your product distribution.
26
You need to have the appropriate rights to be able to migrate the data
source files to the repository of your BusinessObjects Enterprise system.
For more information about system rights, see the BusinessObjects
Enterprise Administrator's Guide.
4. Click Next.
The "Select a File" dialog box appears.
27
Use the CTRL key or SHIFT key to select multiple files within a folder.
Select the Include Subfolders check box to include all of the reports
that are contained in any of the subfolders within the specified folder.
6. Click Next.
The "Specify the Target Location for the report files" dialog box appears.
28
7. Click the ... button to specify the location where you want the report files
to appear after the migration.
Note: The location that you specify must be able to access your
more information about these options, see Modifying the migration settings
on page 31.
8. Click Next.
The "Specify the Target Location for the Business Views" dialog box
appears.
29
Use these buttons to manage your folders and sort your items.
30
Migration options
These options are enabled by selecting the check boxes in the migration
wizard's "Specify the target location for the report files" dialog box. For more
information, see To migrate your reports and your report data sources on
page 26.
Copy all reports, including reports that are not based on queries,
dictionaries, or infoviews
By selecting this option, you enable the wizard to migrate other kinds of
Crystal reports. As a result, the migration wizard also saves copies of reports
that are not based on queries, dictionaries, or InfoViews to the new location.
However, because the data sources of these reports are not migrated, you
31
may need to reset their data source locations to point to different data sources
manually.
Examples of other Crystal report types include reports that are based on
direct database connections and reports that are based on Microsoft Excel
spreadsheets.
Force report migration even when the infoview file is not found
Select this option when you want to migrate an InfoView-based report that
does not have its corresponding InfoView available. The migration wizard
saves a copy of the report on the target location, and attempts to use the
cached version of the InfoView to create a Business View in the
BusinessObjects Enterprise Repository. Note, however, that even if the
wizard is successful in creating the Business View, all of the row restriction
formulas that were defined in the original InfoView are lost.
If this option is not selected, then reports with missing InfoView files are not
migrated.
Force report migration even when the query does not have SQL
text
This option allows you to migrate reports that are based on queries that do
not contain SQL text. (Queries that were created in Query Builder do not
contain SQL text.) If this option is selected, the migration wizard will create
an SQL Command object in the BusinessObjects Enterprise Repository
repository; however, like the original query, the Command will not contain
SQL text. A report that is based on this Command will still work, but because
the Command does not have SQL text, you will be unable to modify it in the
future.
To add the appropriate SQL text to the Command object, see Working with
the migrated data sources on page 39. For more information about SQL text,
see SQL text on page 32.
SQL text
32
SQL text refers to the written SQL instructions that are submitted to the
database server when you run a report that is based on a Command. The
purpose of the SQL text is to optimize the data processing that is pushed
down to the server by limiting the data set that the server returns.
Below is an example of SQL text that can be found in a typical Command
object:
SELECT
Customer.`Customer ID`,
Customer.`Customer Name`,
Customer.`Last Year's Sales`,
Customer.`Country`,
Orders.`Order Amount`,
Orders.`Customer ID`,
Orders.`Order Date`
FROM
Customer Customer INNER JOIN Orders Orders ON
Customer.`Customer ID` = Orders.`Customer ID`
WHERE
(Customer.`Country` = 'USA' OR
Customer.`Country` = 'Canada') AND
Customer.`Last Year's Sales` < 10000.
ORDER BY
Customer.`Country` ASC
When you migrate query files, the wizard attempts to create Command
objects with the same SQL text as the corresponding queries.
33
Migrated reports
After the migration, you can find the migrated reports in the folder that you
selected in the "Specify the target location for the report files" dialog box.
Note: For more information, see To migrate your reports and your report
c:\Source_Directory\Report1.prt
c:\Source_Directory\Folder1\Report2.prt
c:\Source_Directory\Folder2\Report3.prt
c:\Source_Directory\Folder2\Folder_2A\Report4.prt
c:\Source_Directory\Folder2\Folder_2A\Report5.prt
34
c:\Target_Directory\Report1.prt
c:\Target_Directory\Folder1\Report2.prt
c:\Target_Directory\Folder2\Report3.prt
c:\Target_Directory\Folder2\Folder_2A\Report4.prt
c:\Target_Directory\Folder2\Folder_2A\Report5.prt
Commands folder
The Commands folder contains the SQL Command objects that were created
from the original Crystal query files. Within this folder, the migration wizard
creates directory paths, which are identical to the directory paths of the
original query files, and saves the Command objects correspondingly.
Note: The filename of the migrated data source object in the repository is
The filename of the migrated data source object in the repository is the
of the original data source from which it was converted.
The migration wizard also creates a separate folder called Connections,
which contains the data connections that are used by all of the Business
Views.
35
36
Post-Migration Practices
Post-Migration Practices
Overview
This section describes the tasks that administrators must do after they have
finished migrating their files. It gives instructions for checking the migration
log and for verifying the functionality of the migrated reports. The section
also details some considerations about the migrated data sources, and briefly
discusses report publication to BusinessObjects Enterprise.
Overview
After the migration, you can find the migrated files in their new locations: the
reports are in the target folder that you specified, and the data sources are
in their respective folders within the BusinessObjects Enterprise Repository.
As the administrator, you need to perform a few tasks to ensure that the
migration was successful.
38
Post-Migration Practices
Working with the migrated data sources
The report should display the most up-to-date information from the data
source in the BusinessObjects Enterprise Repository.
3. Save the report and publish it to BusinessObjects Enterprise.
Note:
You can do this step only if you chose to migrate your files before
publishing the reports to BusinessObjects Enterprise. If you imported
the reports to BusinessObjects Enterprise and then performed the
migration, the reports are already published.
For information about publishing reports to BusinessObjects Enterprise,
see Publishing to BusinessObjects Enterprise on page 44.
Queries
The migration wizard creates SQL Command objects directly from the Crystal
queries that you selected. As a result, the Command objects will have
configurations that are identical to those of the original queries. (For example,
the objects will have the same parameter values, the same prompting text,
the same SQL text, and so on.)
If the original query does not contain SQL text (Queries that were created in
Query builder do not contain SQL text), then the resulting Command object
will also not have SQL text, and you will be unable to modify it in the future.
However, if you successfully migrated the report that was based on the query,
39
Post-Migration Practices
Working with the migrated data sources
you can use Crystal Reports to find and add the appropriate SQL text to the
Command object.
Note: For more information about SQL text, see SQL text on page 32.
3. Type your User ID and your Password, and select the Database that
you want to access.
4. Click Finish to log on to your data source.
40
Post-Migration Practices
Working with the migrated data sources
41
Post-Migration Practices
Working with the migrated data sources
7. In the Selected Tables area, right-click the query, and, from the shortcut
menu that appears, select View Command.
The "View Command" dialog box appears.
8. In the Enter SQL query in the box below area, select and copy the SQL
text.
9. Click OK.
You are returned to the "Database Expert" dialog box.
10. In the Selected Tables area, right-click the query, and, from the shortcut
menu that appears, select Disconnect from Repository.
The "Connection Information" dialog box reappears.
11. Log on to the data source once again. When you click Finish, you return
to the "Database Expert" dialog box.
12. In the Selected Tables area, right-click the query, and, from the shortcut
menu that appears, select Edit Command.
42
Post-Migration Practices
Working with the migrated data sources
13. In the Enter SQL query in the box below area, paste the SQL text, and
click OK.
The SQL Command on which the report is based now contains SQL text.
43
Post-Migration Practices
Publishing to BusinessObjects Enterprise
44
Post-Migration Practices
Publishing to BusinessObjects Enterprise
45
Post-Migration Practices
Publishing to BusinessObjects Enterprise
46
Troubleshooting
Troubleshooting
Understanding the log file
This section provides information about issues that may occur during the
migration. In particular, it focuses on specific situations that may result in
failed migrations and gives tips for using the log file to resolve common
problems.
48
Troubleshooting
Understanding the log file
The wizard saves the log as a standard .txt file in the root of the folder that
you specified for the target reports.
INFO messages
Log file messages that are preceded by the [INFO] tag indicate that the
migration wizard is able to process the files successfully. Depending on the
report file, the data source type, and the migration settings enabled, different
messages may appear in the log.
Message
Explanation
This message states that the original
locations.
ard.
49
Troubleshooting
Understanding the log file
Message
Explanation
This message states that the cached
copy of the dictionary/InfoView is being
migrated.
(This occurs if the original dictionary/InfoView file is missing, and the option
to migrate the cached copy is enabled.)
This message states that the cached
copy of the Crystal query is being migrated.
(This occurs if the original query file is
missing, and the option to migrate the
cached copy is enabled.)
ERROR messages
Log file messages that are preceded by the [ERROR] tag indicate that the
migration wizard encountered a problem. When this happens, the wizard
does not stop the migration process; it logs the error, bypasses the file, and
continues to migrate the rest of your files. You must always check the log
file to troubleshoot any errors that may have occurred during the migration.
Message
Explanation
50
Troubleshooting
Understanding the log file
Message
Explanation
51
Troubleshooting
Understanding the log file
Message
Explanation
52
Troubleshooting
Understanding the log file
Message
Explanation
53
Troubleshooting
Understanding the log file
Message
Explanation
This message states that the migration
wizard encountered a problem when it
tried to retrieve the SQL text from a
query.
[ERROR] Fail to get SQL query The original Crystal query may contain
from report.
an error, or perhaps it did not contain
WARNING messages
Log file messages that are preceded by the [WARNING] tag indicate that
the migration wizard encountered situations that require the administrator's
attention.
Explanation
[WARNING] This dictionary/in
foview file contains formula
field links. These links are
not migrated to the generated
Business View. Please recreate
them if necessary.
54
Troubleshooting
Understanding the log file
Explanation
55
Troubleshooting
Understanding the log file
Explanation
This message warns that the query that
is being migrated does not contain any
SQL text. As a result, both the report
[WARNING] The Crystal Query
and the query will be migrated, but if
does not contain any SQL text.
you try to edit the resulting SQL comThe migrated report command
mand object, you will not see any SQL
will not have any SQL text but
text. For information about manually
the reports will still run.
adding SQL text to a Command, see
Working with the migrated data sources
on page 39.
56
http://diamond.businessobjects.com
Online customer support
The Business Objects Customer Support web site contains information about
Customer Support programs and services. It also has links to a wide range
of technical information including knowledgebase articles, downloads, and
support forums.
http://www.businessobjects.com/support/
Looking for the best deployment solution for your company?
Business Objects consultants can accompany you from the initial analysis
stage to the delivery of your deployment project. Expertise is available in
relational and multidimensional databases, in connectivities, database design
tools, customized embedding technology, and more.
For more information, contact your local sales office, or contact us at:
http://www.businessobjects.com/services/consulting/
Looking for training options?
58
Index
A
architecture, components 10
B
Business Element 44
Business Views 13
Business Views folder 35
C
CMC 44
column-level security 43
Command 13
object 13
without SQL text 39
Commands folder 35
component architecture 10
Crystal Analysis 44
Crystal Data Source Migration Wizard 8
Crystal Enterprise
publishing 44
repository 13
server 19
solution 26
Crystal Management Console 44
Crystal Publishing Wizard 44
D
data connection 44
data foundation 44
data sources 8
migrated 35
E
ERROR messages 50
59
Index
errors 50
F
files 10
locating 33
log 38
source 11
target 12
folder 33
Business Views 35
Commands 35
target 26
formula 44
I
Info 8
INFO messages 49
InfoView 8
cached copy 32, 44
missing 32
object 8
installation 16
procedures 20
L
links 44
formula fields 44
table 44
location 10
access 12
data source, resetting the 10
migrated files 33
target report 18
write permissions 13
log file 38
checking the 38
messages
structure 48
60
M
messages 48
ERROR 50
INFO 49
log file 48
WARNING 54
migrated data sources 35
location 35
working with 39
migrated reports 34
migration 26
data sources 26
options 31
other Crystal report types 31
reports 26
requirements 10
saved data 33
settings, modifying the 31
when the infoview file is not found 32
when the query does not have SQL text 32
wizard 8, 12
workflow 13
missing InfoViews 32
P
post-migration practices 38
publishing 44
Q
query 8
cached copy 44
object 8
without SQL text 39
Index
R
reports 8
format 44
migrated 34
other kinds 31
publishing 44
source files 11
target files 12
testing 38
title 44
version 44
requirements 10
migration 10
source files 12
target files 13
S
saved data 33
security definitions 43
security, column-level 43
source files 11
definition 11
requirements 12
SQL Commands 13
strings, date-time 44
T
table 44
target files 12
definition 12
requirements 13
testing reports 38
troubleshooting 48
W
WARNING messages 54
wizard, migration 8, 12
workflow, migration 13
61
Index
62