Data Access Guide XI 3.1
Data Access Guide XI 3.1
Data Access Guide XI 3.1
2010-05-21
Contents
Chapter 1 Introducing data access 13
About Connection Server...........................................................................14
Components of a connection.....................................................................14
About the system architecture..............................................................15
About data access drivers....................................................................15
About connectivities that support single sign-on..................................16
About data access configuration files........................................................16
About the cs.cfg global configuration file..............................................17
About the *.sbo driver configuration files..............................................17
About stored procedures...........................................................................19
About supported database capabilities................................................20
About Oracle stored procedures..........................................................20
To create a cursor inside a package....................................................21
To create an Oracle stored procedure..................................................21
About Teradata stored procedures.......................................................22
Check tool—accessdriver.....................................................................34
Check tool—connectivity......................................................................35
Check tool—ping .................................................................................37
About JDBC connections ..........................................................................40
To create a JDBC connection ...................................................................41
JDBC SBO example file structure........................................................42
To create a generic JDBC connection.......................................................42
Generic JDBC SBO example file structure..........................................44
About JavaBean connections....................................................................44
To create a JavaBean connection.............................................................45
JavaBean SBO example file structure ................................................46
About ODBC connections..........................................................................46
To create a generic ODBC connection......................................................47
To create a generic ODBC3 connection....................................................49
Owners Available...............................................................................101
Password Encryption..........................................................................102
Procedure Name Max Size................................................................103
Procedure Parameter Name Max Size..............................................103
Qualifiers Available.............................................................................104
Query TimeOut Available...................................................................104
Quoted Identifier Case.......................................................................105
Schema Name Max Size....................................................................105
Shared Connection.............................................................................106
SQL External File...............................................................................106
SQL Parameter File............................................................................107
SSO Available....................................................................................107
Strategies File....................................................................................108
Table Name Max Size........................................................................108
Transactional Available......................................................................109
Transaction Mode...............................................................................109
Type....................................................................................................110
Version...............................................................................................110
XML Max Size....................................................................................111
Informix SBO parameters........................................................................111
To modify the Informix ODBC.INI file..................................................111
V5toV6DriverName............................................................................112
Unicode..............................................................................................113
JavaBean SBO parameters.....................................................................113
JavaBean Class.................................................................................113
URL Format........................................................................................114
JDBC SBO parameters............................................................................115
ForeignKeys Available........................................................................115
JDBC Class........................................................................................115
PrimaryKey Available.........................................................................116
ODBC SBO parameters...........................................................................116
COMMA..............................................................................................138
CONCAT............................................................................................139
CONSTANT_SAMPLING_SUPPORTED...........................................139
DATABASE_DATE_FORMAT............................................................140
DATATYPE_BLOB..............................................................................140
DATATYPE_DOUBLE........................................................................141
DATATYPE_DTM...............................................................................141
DATATYPE_INT.................................................................................141
DATATYPE_NULL..............................................................................142
DATATYPE_STRING .........................................................................142
DATE_WITHOUT_QUOTE ...............................................................142
DELIMIT_IDENTIFIERS.....................................................................143
EXT_JOIN..........................................................................................143
EXT_JOIN_INVERT...........................................................................144
EXTERN_SORT_EXCLUDE_DISTINCT...........................................145
GROUPBY_EXCLUDE_COMPLEX...................................................145
GROUPBY_WITH_ALIAS..................................................................146
GROUPBY_WITHOUT_CONSTANT.................................................147
GROUPBYCOL..................................................................................147
IDENTIFIER_DELIMITER..................................................................148
IF_NULL.............................................................................................149
INTERSECT.......................................................................................149
KEY_INFO_SUPPORTED.................................................................150
LEFT_OUTER....................................................................................150
LENMAXFORCOLUMNNAME...........................................................151
LENMAXFORTABLENAME...............................................................151
LENMAXFORVARCHAR....................................................................152
MINUS................................................................................................152
NO_DISTINCT...................................................................................153
NULL_IN_SELECT_SUPPORTED....................................................153
OLAP_CLAUSE.................................................................................154
OUTERJOINS_GENERATION...........................................................155
OVER_CLAUSE.................................................................................158
OWNER..............................................................................................159
PERCENT_RANK_SUPPORTED......................................................160
PREFIX_SYS_TABLE........................................................................160
QUALIFIER........................................................................................161
QUOTE_OWNER...............................................................................161
RANK_SUPPORTED.........................................................................162
REFRESH_COLUMNS_TYPE...........................................................163
REVERSE_TABLE_WEIGHT.............................................................163
RIGHT_OUTER..................................................................................164
RISQL_FUNCTIONS..........................................................................164
SEED_SAMPLING_SUPPORTED.....................................................165
SORT_BY_NO...................................................................................166
UNICODE_PATTERN........................................................................166
UNION................................................................................................167
USER_INPUT_DATE_FORMAT........................................................168
USER_INPUT_NUMERIC_SEPARATOR..........................................169
Index 187
1
1 Introducing data access
About Connection Server
Connection Server does not have a user interface. You create and administer
connections from the user interface of these applications, or by editing
Connection Server configuration files.
• Creating connections: You create connections using the Connection
wizard.
• Optimizing data access: You can optimize the way that data is passed
through Connection Server by modifying data access configuration files.
These files are in XML format, and are installed with Connection Server.
You can set parameter values to apply to a specific data access driver,
or to all installed data access drivers.
Components of a connection
A data access connection consists of the following components:
• Connection Server is the software that manages the connection between
the application and the datasource. For example, Connection Server
handles requests for data from the application.
• A data access driver is the database-specific software component that
manages the connection between Connection Server and the database
middleware.
• Configuration files define parameters to configure the connection between:
• the application and Connection Server
• the application and the data access driver
• Connection Server and the data access driver
The diagram below details where Connection Server and data access drivers
fit into an SAP BusinessObjects Enterprise configuration.
Data access drivers provide the connection between Connection Server and
a datasource. A database requires a data access driver in order that it can
be accessed by an SAP BusinessObjects application.
SAP BusinessObjects applications include data access drivers that you can
use to configure connections to your databases. The data access drivers
that are included can depend on your licence.
Before you can create a connection to a database for which you do not have
a driver, you need to obtain the required drivers. The following options are
available for obtaining a driver:
• Contact your SAP representative to determine if there is a driver available,
and if you are licenced to use it.
• Use the Driver Development Kit (DDK) to develop a driver to use. Contact
your SAP representative for details.
When you create a new connection, you select the appropriate data access
driver for the target datasource. For example, if you access an Oracle 10g
database, you must install the appropriate middleware (Oracle 10g Client),
then the SAP BusinessObjects Oracle data access driver.
For an up-to-date list of supported data access drivers, check the SAP Service
Marketplace at http://service.sap.com/bosap-support, or contact your SAP
representative.
For more information about the DDK, refer to the Data Access Driver Java
SDK Developer Guide at http://boc.sdn.sap.com.
Note:
In this guide, the variable connectionserver-install-dir is the install
root path for the data access files used by SAP BusinessObjects applications.
On Microsoft Windows, the default connectionserver-install-dir
is: C:\Program Files\Business Objects\BusinessObjects
Enterprise 12.0\win32_x86\dataAccess.
Caution:
In the data access configuration files, use the escape sign \ with the
backslash \ in file paths if you deploy SAP BusinessObjects Enterprise
software on a Microsoft Windows platform.
The cs.cfg global configuration file used by all data access drivers is
installed in the following location:
• connectionserver-install-dir\connectionServer
The cs.cfg file contains parameters that apply to all installed data access
drivers.
Related Topics
• About global parameters
The configuration files used by data access drivers are installed in the
following path:
• on a Windows system:
connectionserver-install-dir\connectionServer\RDBMS
• on a Unix system:
connectionserver-install-dir/RDBMS/connectionServer
where RDBMS is the name of the database technology that uses the
configuration file.
The files listed below have parameters that apply to installed data access
drivers.
Driver specific
Can be edited? Description Example
file
There is a .sbo
file for each sup-
ported network
protocol, or
database middle-
ware used to con-
<driver>.sbo Yes oracle.sbo
nect to a
database. De-
fines the specific
connectivity con-
figuration for
each database.
Defines parame-
ters that affect the
<driver>.prm Yes way that an appli- oracle.prm
cation generates
SQL.
Stores informa-
tion related to
connection defini-
tions. Defines the
fields that appear
<driver><lan when you create oracleen.cod
No
guage>.cod a new connec-
tion.
Note:
Do not modify
these files.
Related Topics
• SBO parameter categories
• PRM file configuration reference
• About SQL generation parameters
Stored procedures are SQL scripts that are stored as executable code in an
RDBMS. They can receive arguments and return data.
Stored procedures for the following databases and network layers are
supported in SAP BusinessObjects Enterprise:
• DB2 UDB and iSeries through CLI driver
• Sybase Adaptive Server through CTLIB
• Javabean
• DB2 UDB, Derby, HSQL DB, Informix, MS SQL Server, MySQL 5, Oracle,
Sybase, and Teradata, all through JDBC
Connection Server only supports stored procedures that return data as result
sets, that is, tables. This means that the stored procedure cannot return
integers, strings, or cursors and must always contain SELECT statements.
Plus, supported stored procedures must not contain OUT or IN/OUT
parameters. In addition, COMPUTE, PRINT, OUTPUT or STATUS statements
contained in stored procedures are not executed.
Remember:
These restrictions are not valid for Oracle stored procedures. Refer to next
section for learning about supported Oracle stored procedures.
Note:
For more information about using stored procedures, refer to the Designer's
Guide.
Caution:
SAP BusinessObjects Enterprise does not support packaged stored
procedures, only standalone.
In the following procedure, you use catcurtyp cursor that you previously
created in the package, and catalog_data.catcurtyp.
• Do one of the following:
a. Write the following statement:
BEGIN
OPEN cat_cv FOR SELECT * FROM all_objects WHERE
owner=owner_name;
END;
Note:
See your Oracle documentation for more information on how to create
packages and stored procedures.
2
2 Creating a connection
Connection requirements
Connection requirements
This section covers the requirements for creating a connection.
• Ensure that your platform conforms to the platforms supported for SAP
BusinessObjects connections.
• Ensure that the database middleware is installed correctly, and that you
can access your database through either your computer or a server.
• Ensure that you have all the information necessary to access your
database, for example the database login name and password.
• Install the SAP BusinessObjects solution that you will use, including the
appropriate data access driver.
• Check that all of the services have started successfully.
• Refer to the Readme notice that comes with your SAP BusinessObjects
solution to check for any configuration changes that your environment
and software might require.
• Refer to the current Data Access release notice to check for any
configuration changes that could affect your environment.
Note:
You can use the cscheck tool to check your infrastructure and determine
if it is suitable for use with SAP BusinessObjects applications.
Related Topics
• Checking connection configuration
Note:
The results of all checks apply to your local machine, from which you run
the tool.
You run the cscheck tool from a command console (DOS or shell). The
output is displayed on the screen. You can specify that the output is generated
as XML format, or you can suppress output, to use the tool in a script.
The cscheck tool can perform the following functions on your local machine:
• return details of all the connectivities, that is network layers and databases,
that the installation can support
• return details of the data access drivers installed on your local machine
• return details of the connectivities installed on your local machine
• check for a valid middleware installation for a supplied network layer and
database client
• check for a valid data access driver installation for a supplied network
layer and database client
• check if a connection can be esbablished to a given database
Related Topics
• Check tool—function overview
The help can be displayed in any language selected when you installed your
SAP BusinessObjects solution.
Example:
To display help in English on the cscheck tool, use the following command:
cscheck --help
You can run the cscheck tool at any time after you have installed your SAP
BusinessObjects solution.
1. Open a command console.
2. Change directory to the path where the tool is installed.
3. Enter cscheck with the correct parameters to find the information that
you want.
4. Review the returned information.
Related Topics
• Check tool—function overview
From a command console, you use the cscheck command with the
appropriate function and its arguments to return the results that you want.
The remaining part of the command consists of the function and its option
arguments.
<function name> can take the following values. Each function has a short
version that you can use in place of the full function name:
• list or lt
• driverssearch or ds
• find or fd
• middleware or mw
• accessdriver or ad
• connectivity or ct
• ping or pg
Related Topics
• Check tool—accessdriver
• Check tool—connectivity
• Check tool—drivers search
• Check tool—find
• Check tool—list
• Check tool—middleware
• Check tool—ping
Check tool—list
This function returns a list of the supported network layers and database
engines. For example you could use it to determine the correct values to use
with other check tool functions.
Note:
This function returns the full list of supported data access drivers and
middleware, including those that are not necessarily installed on your
machine.
Example:
The following command lists all network layers and database engines
supported by the SAP BusinessObjects solution installed on the current
machine.
cscheck list
Oracle Client
Oracle 9
Oracle 10
Oracle 11
Sybase Open Client
Sybase Adaptive Server 12
Sybase Adaptive Server 15
Informix ODBC Driver
Informix XPS 8.4
Informix XPS 8.5
Informix Dynamic Server 7.3
Informix Dynamic Server 2000
Informix Dynamic Server 10
Informix Dynamic Server 11
Teradata ODBC Driver
Teradata V2 R5
Teradata V2 R6
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
Example:
The following command lists all data access drivers installed on the machine.
cscheck driverssearch
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
Check tool—find
This function lists the available connectivity types, that is middleware and
database clients, that are available from the local machine. This includes:
• connectivity types available on the local machine
• connectivity types available using the CORBA communication layer
• connectivity types available using the HTTP communication layer
• Java connectivity types available on the local machine
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
Check tool—middleware
For a supplied network layer and database client, this function checks for a
valid installation of the client middleware. To check both the middleware and
data access driver for a supplied network layer and database client, you can
use the connectivity function.
Example:
The following command checks for a valid installation of the Oracle Client
9 middleware on the local machine. It creates an XML file of the output:
c:\result.xml
If the middleware is not correctly installed, the result will be the following:
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
• Check tool—connectivity
• Check tool—accessdriver
Check tool—accessdriver
For a supplied network layer and database client, this function checks for a
valid data access driver installation. To check both the middleware and data
access driver for a supplied network layer and database client, you can use
the connectivity function.
Figure 2-8: accessdriver syntax
cscheck |accessdriver||ad|-c{ network layer }-d{ database client
}
Example:
The following command checks for a valid installation of an Oracle 9 data
access driver, and displays the output in French:
If the French language is not installed, the result will be the following:
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
• Check tool—list
Check tool—connectivity
For the supplied network layer and database client, this function checks that
both the installed middleware and the data access driver are valid.
You can check each individually using the middleware and the access
driver functions. You can use the ping function to check if you can connect
to a specific database.
Figure 2-9: connectivity syntax
cscheck |connectivity||ct|-c{ network layer }-d{ database client
}
Example:
The following command checks the installed Oracle client middleware, and
the Oracle 9 data access driver. The command writes the output to a text
file: c:\result.txt .
If the middleware is not correctly installed, the result will be the following:
Related Topics
• Check tool—function overview
• Displaying help on the cscheck tool
• Check tool—find
• Check tool—accessdriver
• Check tool—middleware
• Check tool—ping
Check tool—ping
This function attempts to access a given database using the supplied details.
Figure 2-10: ping syntax
cscheck ping|pg|-m{ Connection Server access mode }-c{ network
layer }-d{ database client }-u{ user name }-p{ password }-s{ datasource
}-t{ database }-r{ host name }-j{ PID }
• Database: SY1
• Database host: sybasehost
• Process ID: 456
Related Topics
• Check tool—function overview
• Check tool—find
Note:
JDBC connectivity is available for SAP BusinessObjects Enterprise XI 3.0
and higher.
Caution:
SAP BusinessObjects Web Intelligence Rich Client does not support JDBC
connectivity in 3-tier mode.
For an up-to-date list of supported JDBC drivers, check the SAP Service
Marketplace at http://service.sap.com/bosap-support, or contact your SAP
representative.
Note:
These files need to be installed on the machine running the application.
Refer to the information on the jdbc.sbo example file structure for
details.
This lists an example of the section of the JDBC SBO file that you need to
modify. This SBO file is for Microsoft SQL Server 2000.
Related Topics
• About PRM files
This lists an example of the section of the JDBC SBO file that you need to
modify. This SBO file is for Generic JDBC datasource and the Ingres
database.
Note:
The Ingres JDBC driver consists of the iijdbc.jar file. The com.in
gres.jdbc.IngresDriver class implements the java.sql.Driver
JDBC interface.
<DataBases>
<DataBase Active="Yes" Name="Generic JDBC datasource">
<JDBCDriver>
<ClassPath>
<Path>c:\\jdbc\\ingres\\iijdbc.jar</Path>
</ClassPath>
<Parameter Name="JDBC Class">com.ingres.jdbc.IngresDriv
er</Parameter>
<Parameter Name="URL Format">jdbc:ingres://$DATA
SOURCE$</Parameter>
</JDBCDriver>
...
</DataBases>
Note:
$DATASOURCE$ is either <host>:<port> or
<host>:<port>/<database>.
Note:
The Data Access layer provides the Generic ODBC connectivity to create a
connection to a datasource that SAP BusinessObjects Enterprise does not
support explicitly.
Note:
You can configure only one connection through a generic ODBC
implementation.
Related Topics
• To create a generic ODBC connection
• To create a generic ODBC3 connection
<DataBases>
<DataBase Active="Yes" Name="Generic ODBC datasource">
<Libraries>
...
<Library Platform="Unix">dbd_wddodbc</Library>
<Library Platform="Unix">dbd_ddodbc</Library>
<!--Library Platform="Unix">dbd_wuxodbc</Library-->
<!--Library Platform="Unix">dbd_uxodbc</Library-->
</Libraries>
<Parameter Name="Charset Table" Platform="Unix">datadi
rect</Parameter>
...
</DataBases>
4. Comment out the first two rows for DataDirect and uncomment one of
the next two rows. Make sure you put the row you uncomment on top of
the section, so that it can be read first. Comment out the <Parameter
Name="CharSet Table" Platform="Unix"> element.
Note:
• dbd_wddodbc specifies the DataDirect-based ODBC2 Unicode driver
• dbd_ddodbc specifies the DataDirect-based ODBC2 non-Unicode
driver
• dbd_wuxodbc specifies the unixODBC-based ODBC2 Unicode driver
• dbd_uxodbc specifies the unixODBC-based ODBC2 non-Unicode
driver
<DataBases>
<DataBase Active="Yes" Name="Generic ODBC3 data
source">
<Libraries>
...
<Library Platform="Unix">dbd_wddodbc3</Library>
<Library Platform="Unix">dbd_ddodbc3</Library>
<!--Library Platform="Unix">dbd_wuxodbc3</Library--
>
<!--Library Platform="Unix">dbd_uxodbc3</Library-->
<!--Library Platform="Unix64">dbd_wux32odbc3</Li
brary-->
<!--Library Platform="Unix64">dbd_ux32odbc3</Library-
->
</Libraries>
<Parameter Name="Charset Table" Platform="Unix">datadi
rect</Parameter>
...
</DataBases>
4. Comment the first two rows for DataDirect and uncomment one of the
next four rows. Make sure you put the row you uncomment on top of the
section, so that it can be read first. Comment out the <Parameter
name="CharSet Table" Platform="Unix"> element.
Note:
• dbd_wddodbc3 specifies the DataDirect-based ODBC3 Unicode
driver
• dbd_ddodbc3 specifies the DataDirect-based ODBC3 non-Unicode
driver
• dbd_wuxodbc3 specifies the unixODBC-based ODBC3 Unicode
driver
• dbd_uxodbc3 specifies the unixODBC-based ODBC3 non-Unicode
driver
• dbd_wux32odbc3 specifies the unixODBC-based ODBC3 Unicode
driver with 32bit API rather than 64bit (available only on 64bit platforms)
• dbd_ux32odbc3 specifies the unixODBC-based ODBC3 non-Unicode
driver with 32bit API rather than 64bit (available only on 64bit platforms)
3
3 Creating a connection to Data Federator Query Server
About Data Federator Query Server connections
Note:
For information on connecting to Data Federator, see the Data Federator
User Guide, and refer to the “Connecting to Data Federator Query Server
using JDBC/ODBC drivers” chapter.
The method that you use to configure the connection depends on whether
you use JDBC or ODBC for the connection. With ODBC connections, the
configuration depends on the SAP BusinessObjects application that you use.
The process differs if you are creating a connection to use with SAP
BusinessObjects Web Intelligence Rich Client.
The method that you use to create the connection depends on the application
that you use. Typically you use the application's New Connection wizard to
create the connection. See your application's user documentation for more
information.
This chapter also indicates the configuration that must be made to the New
Connection wizard of the Universe Designer and SAP BusinessObjects Web
Intelligence applications, to be able to create connections.
Caution:
SAP recommends you use a JDBC connectivity to connect SAP
BusinessObjects applications to Data Federator Query Server. JDBC
connectivity is only supported in SAP BusinessObjects Enterprise XI 3.0
version and higher and does not allow connections to SAP BusinessObjects
Desktop Intelligence. JDBC connectivity is available on all platforms (Microsoft
Windows, UNIX flavors, and Linux).
The minimum ODBC version that you can use with the configuration details
that follow is Data Federator XI Release 2 SP1 MHF1. If required, contact
your SAP sales representative for more information on the release, and how
In the New Connection wizard, you enter this as the name of the database
to which you are connecting.
• the authentication details for the installation of Data Federator Query
Server that serves the catalog to which you are connecting
Note:
To configure a JDBC or ODBC connection to Data Federator Query Server,
there are some additional configurations that you must make. If you are using
SAP BusinessObjects Web Intelligence Rich Client, the configuration changes
Note:
Edit the files in an XML editor to make sure your files are well-formed. After
you make the configuration changes shown below, re-start your system for
the changes to take effect.
Note:
This topic applies to all SAP BusinessObjects applications that use
Connection Server.
Note:
Edit the files in an XML editor to make sure your files are well-formed. After
you make the configuration changes shown below, re-start your system for
the changes to take effect.
Related Topics
• Configuring the Data Federator ODBC middleware
• Configuring Connection Server for a Data Federator ODBC connection
Note:
This topic applies to all SAP BusinessObjects applications that use
Connection Server except SAP BusinessObjects Web Intelligence Rich
Client.
To configure the Data Federator ODBC middleware, you need to modify the
openrda.ini file. This file is installed in the following directory:
• data-federator-drivers-install-dir\OaJd
bcBridge\bin\iwinnt
Note:
This topic applies to all SAP BusinessObjects applications that use
Connection Server except SAP BusinessObjects Web Intelligence Rich
Client.
To configure the cs.cfg file, set parameters under the JavaVM tag, as
follows:
<ClassPath>
<Path>\\data-federator-drivers-install-dir\\OaJd
bcBridge\\oajava\\oasql.jar</Path>
<Path>\\data-federator-drivers-install-dir\\JdbcDriv
er\\thindriver.jar</Path>
</ClassPath>
Remember:
The details below relate to SAP BusinessObjects Web Intelligence Rich
Client only.
To create connections that use Data Federator ODBC middleware for use
with this application, you need to modify the configurations for:
• The ODBC middleware
• Connection Server
• The Windows RichClient registry key
Note:
Edit the files in an XML editor to make sure your files are well-formed.
Related Topics
• Configuring the Data Federator ODBC middleware for a Web Intelligence
Rich Client connection
• Configuring Connection Server for a Web Intelligence Rich Client connection
to Data Federator
• Setting the Web Intelligence Rich Client registry key
• Configuring Connection Server for Web Intelligence Rich Client and Universe
Designer connections to Data Federator
To configure the Data Federator ODBC middleware, you need to modify the
openrda.ini file. This file is installed in the following directory:
• data-federator-drivers-install-dir\OaJd
bcBridge\bin\iwinnt
Note:
SAP BusinessObjects Web Intelligence Rich Client requires JDK 6.
• JVM_OPTIONS=-DODBCMode=true -Dbusinessobjects.connec
tivity.directory=bo-install-dir\BusinessObjects Enter
prise 12.0\win32_x86\dataAccess\connectionServer
Note:
Check the openrda.ini file to ensure that this path is not set using the
Djava.endorsed.dirs parameter. If it is, then you must remove the
path from the Djava.endorsed.dirs parameter.
To configure the cs.cfg file, set parameters under the JavaVM tag, as
follows:
<ClassPath>
<Path>\\data-federator-drivers-install-dir\\OaJd
bcBridge\\oajava\\oasql.jar</Path>
<Path>\\data-federator-drivers-install-dir\\JdbcDriv
er\\thindriver.jar</Path>
</ClassPath>
To modify the Windows RichClient registry key, use a tool such as regedit.
1. In the registry, locate the HKEY_LOCAL_MACHINE\SOFTWARE\Business
Objects\Suite 12.0\default\WebIntelligence\RichClient
key.
2. In this key, add the following values to the classpath value. As with all
registry key values, the values must be separated with a semicolon.
• data-federator-drivers-install-dir\OaJdbcBridge\oa
java\oasql.jar
• data-federator-drivers-install-dir\JdbcDriver\thin
driver.jar
• Do the following:
1. Open the cs.cfg file for editing.
2. Locate the JavaVM tag.
3. Set LibraryName to the same JVM directory path specified in the
openrda.ini file:
...
<JavaVM>
<LibraryName JNIVersion="JNI_VERSION_1_4">\\bo-in
stall-dir\\javasdk\\jre6\\bin\\client\\jvm.dll</Li
braryName>
</JavaVM>
Caution:
Universe Designer and OpenEdge bridge must specify the same JVM
directory path.
4
4 Configuring data access global parameters
About global parameters
Data access global parameters are maintained in the cs.cfg file. This is
an XML file that contains Connection Server configuration parameters, and
default configuration parameters that apply to all data access drivers.
To override these global settings, you can configure settings in each driver's
.sbo file.
Related Topics
• Configuring driver parameters
In the cs.cfg file, you can configure parameters in the following sections
only:
• <Settings>
This section defines the default library of the Java Virtual Machine (JVM)
used by the data access layer.
• <DriverDefaults>
You can set trace parameters that allow the recording of connection
activity through Connection Server in log files. Refer to the release notes
for information on generating traces.
Refer to the SBO file parameter reference for information on the parameters
that you can set.
Related Topics
• Data access configuration files
• Configuring driver parameters
• SBO parameter categories
<Parameter Name="parameter">value</Parameter>
where parameter is the name of the parameter, and value is the value to
which the parameter is set.
Default crs
Note:
Description Do not change this setting.
Sets the file extension for general configuration files.
Default sbo
Description Extension
Note:
Do not change this setting.
Description
Sets the file extension for the connection description
files.
Default cod
Default Yes
Related Topics
• Load Drivers On Startup
Library
<Settings>
<Parameter Name="Load Drivers On Startup">No</Parameter>
...
<Library/>
<Server>
<Parameter Name="Load Drivers On Startup">Yes</Parameter>
...
</Server>
These are described below.
Library mode: No
Default
Server mode: Yes
Max Pool Time is available for Library mode and Server mode.
Library
<Settings>
<Parameter Name="Max Pool Time">-1</Parameter>
<Library/>
Server
<Server>
<Parameter Name="Max Pool Time">60</Parameter>
. . .
</Server>
You can set Max Pool Time for two types of Connec-
Description tion Server deployments:
Library mode: -1
Default
Server: 60
Default rss
Note:
Description Do not change this setting.
Sets the file extension for SQL parameter files.
Default prm
Strategies Extension
Note:
Description Do not change this setting.
Sets the extension for strategy files.
Default stg
Note:
Do not change this setting directly. You can change
it from the Central Management Console. See the
SAP BusinessObjects Enterprise Administrator's
Description
Guide.
Note:
A two-way JNI embedded in Connection Server allows APIs to work with
Connection Server core developed in a different language. This means you
can use the Java API to work with the C++ core and vice-versa.
<Capabilities>
<Capability Name="Local" MixedMode="Yes" Active="Yes"/>
Related Topics
• Configuring the driver to load in server mode
• Load Drivers On Startup
• Enable Failed Load
• Max Pool Time
• Transient Object Timeout
Note:
You can find the list of available network layers in the driver.cfg file,
which is located in the connectionserver-install-dir\connection
Server\ directory. Database names are regular expressions that use GNU
regexp syntax. Use the .* pattern to match any character. For more
information about regular expressions, refer to the PERL website at
http://www.perl.com/doc/manual/html/pod/perlre.html#Regular_Expressions.
Example:
The example illustrates a configuration where Connection Server makes
the following databases available:
• any MS SQL Server version through ODBC network layer
• any MS Access version through ODBC network layer
• Oracle 9 and Oracle 10 through Oracle OCI network layer
<Server>
<Parameter Name="Load Drivers On Startup">Yes</Pa
rameter>
<Parameter Name="Max Pool Time">60</Parameter>
<Parameter Name="Transient Object Timeout">60</Pa
rameter>
<ActiveDataSources>
<NetworkLayer Name="ODBC">
<DataBase Name="MS SQL Server.*$"/>
<DataBase Name="MS Access.*$"/>
</NetworkLayer>
<NetworkLayer Name="Oracle OCI">
<DataBase Name="Oracle 9"/>
<DataBase Name="Oracle 10"/>
</NetworkLayer>
</ActiveDataSources>
</Server>
Related Topics
• Configuring the CORBA access protocols
• when configuring Connection Server in the cs.cfg file, set the <Active
DataSources> section for the library mode (<Library> section) as
you do for the server mode (<Server> section).
Because applications first try to establish connections through drivers
installed locally, you should configure the driver filter for both modes in
the same way. For example:
<Library>
<ActiveDataSources>
<NetworkLayer Name="ODBC">
<DataBase Name="MS SQL Server.*$"/>
</NetworkLayer>
<NetworkLayer Name="Oracle OCI">
<DataBase Name="Oracle 9"/>
<DataBase Name="Oracle 8"/>
</NetworkLayer>
</ActiveDataSources>
5
5 Configuring data access driver parameters
Configuring driver parameters
Note:
For each SAP BusinessObjects application that uses Connection Server,
the associated Readme file contains information on command line utilities
that you can use to check your RDBMS and data access driver configuration.
These utilities can create log files that trace Web Intelligence server activity.
Refer to the readme for the release for instructions on the use of these utilities.
Related Topics
• About global parameters
The following configuration files control data access driver configurations for
each defined connection:
• The cs.cfg file defines global parameters that apply to all connections.
• There is a separate configuration file for each data access driver. These
files are named <driver>.sbo, where <driver> is the database
network layer to which the configuration file applies.
The configuration files are located in the following paths, where connection
server-install-dir is the directory where the Connection Server
software is installed.
connectionserver-install-dir\connectionServer\
connectionserver-install-dir\connectionServer\oracle
Related Topics
• About global parameters
• Installed SBO files
• Configuring the driver default parameters
Essbase essbase.sbo
db2.sbo
IBM DB2
iseries.sbo
Informix informix.sbo
MySQL
Note:
MySQL 5 database is available on all
platforms, with Unicode support. Make
sure you use the MySQL Connec- odbc.sbo
tor/ODBC 5.1.4 or higher to connect to
this database. If you use an older ver-
sion of the driver on UNIX, you will en-
counter errors at runtime.
ODBC odbc.sbo
Oracle oracle.sbo
SAP sap.sbo
Sybase sybase.sbo
Teradata teradata.sbo
Various drivers
Note:
When developing a CSV driver using open.sbo
the Java Driver Development Kit, you
must locate all your configuration files
in this directory.
Caution:
Before opening an SBO file, make a backup copy of the file. Some
configuration parameters must not be edited. If you change or delete them
it could affect the operation of your applications.
You can open an SBO file for viewing or editing as follows:
1. Browse to the directory that stores the SBO file for your target data access
driver.
2. Open the SBO file in an XML editor.
3. Expand sections as required.
4. Locate the appropriate tag for the value to change, and change the value.
Parameters appear in the format: <Parameter Name="parame
ter">value</Parameter> where parameter is the name of the
parameter, and value is the value attributed to the parameter.
5. Check that the file is valid against the DTD, save and close the file.
The following middleware and drivers are available for UNIX platforms only:
• MS SQL Server 7.x
• MS SQL Server 2000 SP4
• MS SQL Server 2005 SP2
These can work with either DataDirect ODBC 5.3 driver or DataDirect ODBC
5.3 branded driver.
Caution:
To use the branded driver, you must make sure the data access is configured
correctly.
Note:
The following section is only related to MS SQL Server 7.x, MS SQL Server
2000 SP4 and MS SQL Server 2005 SP2 databases.
Data Access supports the use of DataDirect ODBC 5.3 drivers for MS SQL
Server databases on all UNIX platforms. These drivers can be either non-
branded or branded drivers.
The Connection Server default settings allow the non-branded ODBC driver
to work seamlessly with your current configuration settings. If you have
already deployed a driver in your environment, you will be able to install the
non-branded driver without any configuration change.
1. Navigate to the directory that contains the odbc.sbo file.
On UNIX, this configuration file is located in the connectionserver-
install-dir/connectionServer/odbc directory.
2. Use an XML editor to open the odbc.sbo file for editing.
DEFAULT_ODBCFILE="${BOBJEDIR}enterprise120/"defaultod
bc.ini
Export DEFAULT_ODBCFILE
ODBC_HOME="${BINDIR}/odbc"
Export ODBC_HOME
ODBCINI="${BOBJEDIR}enterprise120/"defaultodbc.ini
Export ODBCINI
Note:
DEFAULT_ODBCFILE can point to any file which holds the connection
details for the branded drivers.
Example:
The following is an excerpt of the default odbc.sbo file.
<DataBases>
<DataBase Active="Yes" Name="MS SQL Server 2005">
<Libraries>
...
</Libraries>
<Parameter Name="Family">Microsoft</Parameter>
...
<Parameter Name="Use DataDirect OEM Driver" Plat
form="Unix">No</Parameter>
...
</DataBase>
</DataBases>
6
6 SBO parameter reference
SBO parameter categories
Default False
Catalog Separator
CharSet
<Parameter Name="CharSet">UTF8</Parameter>
Connection Shareable
Note:
Do not edit this parameter.
Description Specifies if a connection is shareable between differ-
ent requesters. Operates in conjunction with the
Shared Connection parameter.
Default False
Related Topics
• Shared Connection
Default False
Description File
Note:
Do not edit this parameter.
Description
Specifies the name of the file that holds the connection
wizard input field labels.
Driver Capabilities
Default Procedures
Escape Character
Extensions
<Parameter Name="Extensions"></Parameter>
Note:
Description
Do not modify the settings in this parameter.
Family
<Parameter Name="Family">Sybase</Parameter>
Note:
Do not edit this parameter.
Specifies the family of the database engine that is
Description displayed in the Database Middleware Selection page
of the New Connection wizard. The set of middleware
that corresponds to your license is displayed on this
page in a tree view.
Note:
Do not change this value.
Description The value to use to compute the size of returned
content expressed as field characters when the con-
tent is returned as bytes. This is used for DB2 only.
Force Execute
Default Never
Identifier Case
Locale
<Parameter Name="Locale">en_us</Parameter>
Default False
Optimize Execute
Default False
Owners Available
Password Encryption
Default True
Qualifiers Available
Default False
Shared Connection
Default False
Related Topics
• Max Pool Time
• Connection Shareable
Note:
Do not edit this value.
Description
The SQL External file file holds configuration details
used by the data access layer.
SSO Available
Default False
Strategies File
Transactional Available
Transaction Mode
Type
<Parameter Name="Type">Relational</Parameter>
Version
<Parameter Name="Version">Relational</Parameter>
Note:
In addition to the SBO parameters, for Informix, in a Unix environment, you
must modify the ODBC.INI file.
Related Topics
• V5toV6DriverName
• To modify the Informix ODBC.INI file
In order to use the data access layer with an Informix database in a UNIX
environment, you need to modify the unicode configuration. This configuration
information can be in either of the following locations:
• The .odbc.ini file located in your home directory.
1. Locate the ODBC.INI file or the file specified by the ODBCINI environment
variable, and open it in a text editor.
2. In the file, locate the [ODBC] section.
3. Add the following line to the [ODBC] section:
UNICODE=UTF-8
4. Close the file and save it.
[ODBC]
UNICODE=UTF-8
V5toV6DriverName
Unicode
<Parameter Name="Unicode">CharSet</Parameter>
JavaBean Class
Default None.
URL Format
jdbc:oracle:thin:@$DATA
SOURCE$:$DATABASE$
Default None
ForeignKeys Available
Default True
JDBC Class
Default None.
PrimaryKey Available
Default True
Empty String
Default EmptyString
Default True
ODBC Cursors
SQLDescribeParam Available
SQLMoreResults Available
Default No
Enumerator CLSID
Note:
Do not edit this parameter.
Description
Specifies class ID of OLEDB enumerator. This param-
eter is used with OLEDB only.
Provider CLSID
Note:
Do not edit this parameter.
Description
Specifies class ID of OLEDB provider. This parameter
is used with OLEDB only.
MSOlap CLSID
Note:
Do not edit this parameter.
Description
Specifies class ID of OLEDB provider. This parameter
is used with OLEDB OLAP only.
Sybase ASE/CTLIB
These parameters apply to the Sybase ASE/CTLIB SBO file. These
parameters are used to define a Sybase ASE/CTLIB connection.
Quoted Identifier
7
7 Configuring SQL generation parameters
About SQL generation parameters
To view the date operators, other operators, and functions available for your
data access driver, open the <driver>.prm file in an XML editor.
You can also configure some SQL generation parameters from inside a
universe. The settings that you define from within a universe override .prm
file settings.
datafedera
Datafederator datafederator.prm
toren.prm
db2udb.prm db2udben.prm
db2iseries.prm db2iseriesen.prm
odbc.prm odbcen.prm
ODBC
access.prm accessen.prm
asiq.prm asiqen.prm
sybase.prm sybaseen.prm
The <driver>.prm files are in XML format. You should use an XML editor to
view and modify values in these files if necessary.
Note:
Only the Configuration section is documented here. The Configuration section
parameters can be edited to optimize queries run against universes using
the target data access driver.
Related Topics
• To view and edit a function help text file
The Help text appears when a function that is stored in the PRM file is
selected in Universe Designer:
When you add a function to the PRM file, you need to add the Help text for
the new function to the appropriate <driver><language>.prm file, for example,
if you add a function to the oracle.prm file, then you also add the function
name and the Help text for the function to the oracleen.prm file, if you are
working with the English version of Universe Designer.
8
8 PRM parameter reference
PRM file configuration reference
<Parameter Name="parameter">value</Parameter>
where parameter is the name of the parameter, and value is the value
attributed to the parameter.
Note:
Certain configuration parameters must not be edited. These parameters
have values set for use internally within SAP BusinessObjects solutions.
These parameters are described in this section but contain a warning not to
edit the value. You must not edit these parameters. Before editing any other
PRM file parameter, you should make a backup copy of the PRM file.
BACK_QUOTE_SUPPORTED
<Parameter Name="BACK_QUOTE_SUPPORTED">Y</Parameter>
CASE_SENSITIVE
<Parameter Name="CASE_SENSITIVE">N</Parameter>
Default N
CHECK_OWNER_STATE
<Parameter Name="CHECK_OWNER_STATE">N</Parameter>
Default Y
CHECK_QUALIFIER_STATE
<Parameter Name="CHECK_QUALIFIER_STATE">N</Parameter>
Default Y
COMMA
CONCAT
<Parameter Name="CONCAT">||</Parameter>
||
Values
+
Default ||
CONSTANT_SAMPLING_SUPPORTED
CONSTANT_SAMPLING_SUPPORTED
Default Yes
DATABASE_DATE_FORMAT
<Parameter Name="DATABASE_DATE_FORMAT">DD-MM-YYYY
HH24:MI:SS</Parameter>
DATATYPE_BLOB
Name="Datatype_Blob">LONGVARCHAR</Parameter>
Note:
Do not edit this parameter.
Description Column database datatype for Blob object. This pa-
rameter is not used for this release. It is included for
future compatibility.
DATATYPE_DOUBLE
Note:
Do not edit this parameter.
Description
Column database datatype for Date object (CREATE
table command)
DATATYPE_DTM
<Parameter Name="Datatype_Dtm">DATE</Parameter>
Note:
Do not edit this parameter.
Description
Column database datatype for Date object (CREATE
table command)
DATATYPE_INT
<Parameter Name="Datatype_Int">NUMBER</Parameter>
Note:
Do not edit this parameter.
Description
Column database datatype for Numeric object (CRE-
ATE table command)
DATATYPE_NULL
<Parameter Name="Datatype_Null"/>
Note:
Do not edit this parameter.
Description
Database SQL syntax for Null values (INSERT com-
mand)
DATATYPE_STRING
<Parameter Name="Datatype_String">VARCHAR2</Parameter>
Note:
Do not edit this parameter.
Description
Column database datatype for Character and Long
object (CREATE table command).
DATE_WITHOUT_QUOTE
<Parameter Name="DATE_WITHOUT_QUOTE">Y</Parameter>
Default Y
DELIMIT_IDENTIFIERS
<Parameter Name="DELIMIT_IDENTIFIERS">YES</Parameter>
Default YES
EXT_JOIN
<Parameter Name="EXT_JOIN">YES</Parameter>
Values NO: The database does not support outer joins. The
Outer join check boxes in the Edit Join dialog box
of Universe Designer are dimmed.
Default YES
EXT_JOIN_INVERT
<Parameter Name="EXT_JOIN_INVERT">YES</Parameter>
Default YES
EXTERN_SORT_EXCLUDE_DISTINCT
<Parameter Name="EXTERN_SORT_EXCLUDE_DISTINCT">Y</Param
eter>
Default Y
GROUPBY_EXCLUDE_COMPLEX
Parameter Name="GROUPBY_EXCLUDE_COMPLEX">N</Parameter>
Default N
GROUPBY_WITH_ALIAS
<Parameter Name="GROUPBY_WITH_ALIAS">Y</Parameter>
Default Y
GROUPBY_WITHOUT_CONSTANT
<Parameter Name="GROUPBY_WITHOUT_CONSTANT">Y</Parameter>
Default Y
GROUPBYCOL
<Parameter Name="GROUPBYCOL">NO</Parameter>
Default NO
IDENTIFIER_DELIMITER
<Parameter Name="IDENTIFIER_DELIMITER">"</Parameter>
Specifies that:
• table or column names that contain spaces or special
characters are enclosed within quotation marks if the
parameter BACK_QUOTE_SUPPORTED is activated.
• tables or column names regardless of their characters
Description are enclosed within quotation marks if the parameter
DELIMIT_IDENTIFIERS is activated.
To use this parameter, either BACK_QUOTE_SUP-
PORTED or DELIMIT_IDENTIFIERS must be set to
YES. This is the default value of both parameters.
IF_NULL
<Parameter Name="IF_NULL">NO</Parameter>
Values Database-dependent.
Default Database-dependent.
INTERSECT
<Parameter Name="INTERSECT">INTERSECT</Parameter>
Default INTERSECT
KEY_INFO_SUPPORTED
<Parameter Name="KEY_INFO_SUPPORTED">Y</Parameter>
Default Y
LEFT_OUTER
<Parameter Name="LEFT_OUTER">$(+)</Parameter>
LENMAXFORCOLUMNNAME
<Parameter Name="LenMaxForColumnName">30</Parameter>
Note:
Do not edit this parameter.
Description
Maximum length for column name (by default the ob-
ject name is proposed) (CREATE table command)
LENMAXFORTABLENAME
<Parameter Name="LenMaxForTableName">30</Parameter>
Note:
Do not edit this parameter.
Description
Maximum length for VARCHAR column datatype
(CREATE table command).
LENMAXFORVARCHAR
<Parameter Name="LenMaxForVarchar">254</Parameter>
Note:
Do not edit this parameter.
Description
Maximum length for VARCHAR column datatype
(CREATE table command).
MINUS
<Parameter Name="MINUS">MINUS</Parameter>
Default MINUS
NO_DISTINCT
<Parameter Name="NO_DISTINCT">Y</Parameter>
Default Y
NULL_IN_SELECT_SUPPORTED
<Parameter Name="NULL_IN_SELECT_SUPPORTED">Yes</Parame
ter>
Yes
OLAP_CLAUSE
<Parameter Name="OLAP_CLAUSE">WHEN</Parameter>
OUTERJOINS_GENERATION
<Parameter Name="OUTERJOINS_GENERATION">ANSI92</Parame
ter>
This parameter controls the default outer join generation behavior. You can
set that
• Outer join generation conforms to the ANSI92 specification.
• Outer join generation remains the same as for previous versions of
Universe Designer.
Note:
The PRM file OUTERJOINS_GENERATION parameter relates to the universe
ANSI92 setting in the following way:
• If the PRM file OUTERJOINS_GENERATION parameter is set to ANSI92
and the universe ANSI92 setting is set to NO, the PRM parameter
overrides the universe setting and outer joins conform to ANSI92 behavior.
• If the PRM file OUTERJOINS_GENERATION parameter is set to USUAL,
then the universe ANSI92 setting takes precedence, and outer joins
conform to ANSI92 depending on whether the universe ANSI92 setting
is YES or NO.
Remember:
The ANSI92 value makes REVERSE_TABLE_WEIGHT parameter not useful
for optimization of SQL generation. Outer joins that conform to ANSI92
behavior leads the order of the tables in the SQL sentence.
FROM T1, T2
WHERE T1.col1(+) = T2.col2
Setting = DB2:
Setting = INFORMIX
FROM T2
OUTER T1
WHERE T1.col1=T2.col2
Setting = FULL-ODBC
Setting = ANSI_92:
SELECT DISTINCT
t1.col1,
t2.col2
FROM
(t1 RIGHT OUTER JOIN t2 ON (t1.col1=t2.col2) )
To set that your existing Oracle universes behave as with the previous
Universe Designer versions:
1. In the PRM file, ensure that the OUTERJOINS_GENERATION parameter
is set to USUAL.
2. In the PRM file , set the LEFT_OUTER and RIGHT_OUTER parameters to
$(+)
For more information about universe SQL parameters and PRM files in
previous versions of Universe Designer, see the Designer's Guide.
Related Topics
• LEFT_OUTER
• RIGHT_OUTER
• REVERSE_TABLE_WEIGHT
• About SQL generation parameters
OVER_CLAUSE
<Parameter Name="OVER_CLAUSE">Y</Parameter>
Default Y
OWNER
<Parameter Name="OWNER">Y</Parameter>
Default Y
PERCENT_RANK_SUPPORTED
<Parameter Name="PERCENT_RANK_SUPPORTED">Yes</Parameter>
Default Yes
PREFIX_SYS_TABLE
<Parameter Name="PREFIX_SYS_TABLE">RBW_</Parameter>
<Parameter Name="PREFIX_SYS_TABLE">MSys</Parameter>
QUALIFIER
<Parameter Name="QUALIFIER">N</Parameter>
QUOTE_OWNER
<Parameter Name="QUOTE_OWNER">Y</Parameter>
Default Y
RANK_SUPPORTED
<Parameter Name="RANK_SUPPORTED">Yes</Parameter>
Default Yes
REFRESH_COLUMNS_TYPE
<Parameter Name="REFRESH_COLUMNS_TYPE">O</Parameter>
REVERSE_TABLE_WEIGHT
<Parameter Name="REVERSE_TABLE_WEIGHT">Y</Parameter>
Default Y
Related Topics
• OUTERJOINS_GENERATION
RIGHT_OUTER
<Parameter Name="RIGHT_OUTER">$(+)</Parameter>
<Parameter Name="RIGHT_OUTER">*$</Parameter>
RISQL_FUNCTIONS
<Parameter Name="RISQL_FUNC
TIONS">RANK,SUM,AVG,COUNT,MIN,MAX</Parameter>
SEED_SAMPLING_SUPPORTED
<Parameter Name="SEED_SAMPLING_SUPPORTED">Yes</Parameter>
Default No
SORT_BY_NO
<Parameter Name="SORT_BY_NO">NO</Parameter>
Default NO
UNICODE_PATTERN
<Parameter Name="UNICODE_PATTERN">UNISTR($)</Parameter>
Example UNICODE_PATTERN=N$
UNION
<Parameter Name="UNION">UNION</Parameter>
Default UNION
USER_INPUT_DATE_FORMAT
<Parameter Name="USER_INPUT_DATE_FORMAT">'dd-MM-yyyy
HH:mm:ss'</Parameter>
USER_INPUT_NUMERIC_SEPARATOR
<Parameter Name="USER_INPUT_NUMERIC_SEPARATOR">.</Param
eter>
Values '.'
Default '.'
9
9 Data type conversion reference
Data type conversion
Note:
Data conversion tables for other supported RDBMS will be available in future
updates of the Data Access guide.
IBM DB2
The following table lists the IBM DB2 internal data types and their equivalent
in SAP BusinessObjects solutions:
CHARACTER CHARACTER
DATE DATE
DECIMAL NUMBER
DOUBLE NUMBER
FLOAT NUMBER
INTEGER NUMBER
NUMERIC NUMBER
SMALLINT NUMBER
TIME DATE
TIMESTAMP DATE
VARCHAR CHARACTER
Informix
The following table lists the Informix internal data types and the equivalent
in SAP BusinessObjects solutions:
CHAR CHARACTER
DATE DATE
DATETIME DATE
DECIMAL NUMBER
FLOAT NUMBER
INTEGER NUMBER
MONEY NUMBER
NCHAR CHARACTER
NVARCHAR CHARACTER
SERIAL NUMBER
SMALLINT NUMBER
SMALLFLOAT NUMBER
VARCHAR CHARACTER
The following table lists the Microsoft SQL Server internal data types and
their SAP BusinessObjects equivalent.
BIT NUMBER
BOOLEAN NUMBER
CHAR CHARACTER
DATETIME DATE
DECIMAL NUMBER
FLOAT NUMBER
INT NUMBER
MONEY NUMBER
NUMERIC NUMBER
REAL NUMBER
SMALLDATETIME DATE
SMALLINT NUMBER
SMALLMONEY NUMBER
TEXT CHARACTER
TINYINT NUMBER
VARCHAR CHARACTER
Oracle
The following table lists the Oracle internal datatypes and their equivalent in
SAP BusinessObjects solutions.
CHAR CHARACTER
DATE DATE
FLOAT NUMBER
INTEGER NUMBER
NUMBER NUMBER
VARCHAR CHARACTER
VARCHAR2 CHARACTER
Red Brick
The following table lists the Red Brick internal data types and their SAP
BusinessObjects equivalent.
CHAR CHARACTER
DATE DATE
DECIMAL NUMBER
FLOAT NUMBER
INTEGER NUMBER
NUMERIC NUMBER
SMALLINT NUMBER
TIME DATE
TIMESTAMP DATE
Objects that use the TIME and TIMESTAMP data type are not supported in
a WHERE clause for queries run against a Red Brick database. You can set
the properties of an object in a universe to support the use of TIME and
TIMESTAMP in the WHERE clause as follows:
For... Type
6. Click OK.
Sybase
The following table lists the Sybase internal datatypes and their equivalent
in SAP BusinessObjects solutions.
BIT NUMBER
CHAR CHARACTER
DATETIME DATE
DECIMAL NUMBER
FLOAT NUMBER
INT NUMBER
MONEY NUMBER
NUMERIC NUMBER
REAL NUMBER
SMALLDATETIME DATE
SMALLINT NUMBER
SMALLMONEY NUMBER
TINYINT NUMBER
VARCHAR CHARACTER
Teradata
The following table lists the Teradata internal datatypes and their equivalent
in SAP BusinessObjects solutions.
DATE DATE
DECIMAL NUMBER
FLOAT NUMBER
INTEGER NUMBER
SMALLINT NUMBER
BYTEINT NUMBER
DATETIME DATE
VARCHAR CHARACTER
A
A More Information
https://boc.sdn.sap.com/
Developer resources
https://www.sdn.sap.com/irj/sdn/businessobjects-sdklibrary
https://service.sap.com/notes
Notes These notes were formerly known as Knowledge Base ar-
ticles.
http://www.sap.com/services/education
http://service.sap.com/bosap-support
http://www.sap.com/services/bysubject/businessobjectscon
sulting
DELIMIT_IDENTIFIERS 143 F
Description Extension 67
Description File 95 Family 97
Distribution Field Size Factor 97
CFG file 77 Force Close Statement 118
Driver Capabilities 95 Force Execute 98
Driver defaults FORCE_SORTED_LOV
CFG file 65 universe parameter 139
driver.sbo parameters ForeignKeys Available 115
Lock Mode 119
LongVarcharNotSupported 119
driveren.prm parameters
G
Blob_Comparison 137 generic JDBC datasource 42
Boundary_Weight_Table 137 generic ODBC datasource 47
Case_Sensitive 137 generic ODBC3 datasource 49
Cumulative_Object_Where 95 global
Ext_Join 143 data access files 17
Intersect 149 GROUPBY_EXCLUDE_COMPLEX 145
Left_Outer 150 GROUPBY_WITH_ALIAS 146
Max_Inlist_Values 152 GROUPBY_WITHOUT_CONSTANT 147
Minus 152 GROUPBYCOL 147, 149, 153, 160, 162, 165
OLAP_Clause 154
Quote_Owner 161
Refresh_Columns_Type 163 H
drivers
checking availability on a machine 34 help
checking for validation 34 PRM files 132
DataDirect 83 help, cscheck 25
E I
EBUS 54 IBM DB2
Empty String 117 datatypes 172
Enable Failed Load 68 Identifier Case 98
Enumerator CLSID 121 Identifier Quote String 99
Escape Character 96 IDENTIFIER_DELIMITER 148
Ext_Join 143 Informix
EXT_JOIN 143 datatypes 174
EXT_JOIN_INVERT 144 Modifying the ODBC.ini file 111
Extensions 97 Unicode 113
EXTERN_SORT_EXCLUDE_DISTINCT 145 V5toV6DriverName 112
Informix configuration parameters 111
U V
Unicode 113 V5toV6DriverName 112
UNICODE_PATTERN 166 Version 110
UNION 167
universe parameter
FORCE_SORTED_LOV 139
W
URL Format 114 Web Intelligence Rich Client
Use DataDirect OEM Driver 120 about creating connections to 57
USER_INPUT_DATE_FORMAT 168 setting registry key 60
USER_INPUT_NUMERIC_SEPARATOR 169
X
XML Max Size 111