Application Adapters Guide For Oracle Data Integrator - 11v
Application Adapters Guide For Oracle Data Integrator - 11v
Application Adapters Guide For Oracle Data Integrator - 11v
February 2013
Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator, 11g Release 1 (11.1.1)
E17466-07
Copyright 2011, 2013, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse
engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is
prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it
on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and
license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of
the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software
License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management
applications. It is not developed or intended for use in any inherently dangerous applications, including
applications that may create a risk of personal injury. If you use this software or hardware in dangerous
applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other
measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages
caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks
are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,
Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced
Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle
Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your
access to or use of third-party content, products, or services.
Contents
Preface ................................................................................................................................................................. ix
Audience....................................................................................................................................................... ix
Documentation Accessibility ..................................................................................................................... ix
Related Documents ..................................................................................................................................... ix
Conventions ................................................................................................................................................. x
1 Introduction
1.1 Terminology................................................................................................................................. 1-1
1.2 Using This Guide ........................................................................................................................ 1-2
3 JD Edwards EnterpriseOne
3.1 Introduction ................................................................................................................................. 3-1
3.1.1 Concepts................................................................................................................................ 3-1
3.1.2 Knowledge Modules ........................................................................................................... 3-1
iii
3.2 Installation and Configuration.................................................................................................. 3-2
3.2.1 System Requirements and Certifications ......................................................................... 3-2
3.2.2 Technology Specific Requirements ................................................................................... 3-2
3.2.3 Connectivity Requirements................................................................................................ 3-4
3.3 Setting Up the Topology ............................................................................................................ 3-4
3.3.1 Create a Data Server ............................................................................................................ 3-5
3.3.2 Create a Physical Schema ................................................................................................... 3-5
3.4 Setting up an Integration Project .............................................................................................. 3-5
3.5 Creating and Reverse-Engineering a Model ........................................................................... 3-6
3.5.1 Create a Model ..................................................................................................................... 3-6
3.5.2 Reverse-Engineer JDE Tables............................................................................................. 3-6
3.6 Designing an Interface................................................................................................................ 3-7
3.6.1 Loading Data from JDE....................................................................................................... 3-7
3.6.2 Integrating Data in JDE....................................................................................................... 3-8
4 JD Edwards World
4.1 Introduction ................................................................................................................................. 4-1
4.1.1 Concepts................................................................................................................................ 4-1
4.1.2 Knowledge Modules ........................................................................................................... 4-1
4.2 Installation and Configuration.................................................................................................. 4-2
4.2.1 System Requirements and Certifications ......................................................................... 4-2
4.2.2 Technology Specific Requirements ................................................................................... 4-2
4.2.3 Connectivity Requirements................................................................................................ 4-3
4.3 Setting Up the Topology ............................................................................................................ 4-3
4.3.1 Create a Data Server ............................................................................................................ 4-3
4.3.2 Create a Physical Schema ................................................................................................... 4-4
4.4 Setting up an Integration Project .............................................................................................. 4-4
4.5 Creating and Reverse-Engineering a Model ........................................................................... 4-4
4.5.1 Create a Model ..................................................................................................................... 4-4
4.5.2 Reverse-Engineer JDE Tables............................................................................................. 4-5
4.6 Designing an Interface................................................................................................................ 4-5
4.6.1 Loading Data from JDE....................................................................................................... 4-6
4.6.2 Integrating Data in JDE....................................................................................................... 4-6
5 Oracle PeopleSoft
5.1 Introduction ................................................................................................................................. 5-1
5.1.1 Concepts................................................................................................................................ 5-1
5.1.2 Knowledge Modules ........................................................................................................... 5-1
5.2 Installation and Configuration.................................................................................................. 5-2
5.2.1 System Requirements and Certifications ......................................................................... 5-2
5.2.2 Technology Specific Requirements ................................................................................... 5-2
5.2.3 Connectivity Requirements................................................................................................ 5-2
5.3 Setting up the Topology............................................................................................................. 5-2
5.3.1 Create a Data Server ........................................................................................................... 5-2
5.3.2 Create a Physical Schema ................................................................................................... 5-3
5.4 Setting up the Project.................................................................................................................. 5-3
5.5 Creating and Reverse-Engineering a Model ........................................................................... 5-3
iv
5.5.1 Create a Model ..................................................................................................................... 5-3
5.5.2 Reverse-Engineer PeopleSoft Tables................................................................................. 5-4
5.6 Designing an Interface ............................................................................................................... 5-4
5.6.1 Loading Data from PeopleSoft........................................................................................... 5-4
7 SAP ABAP BW
7.1 Introduction ................................................................................................................................. 7-1
7.1.1 Concepts................................................................................................................................ 7-1
7.1.2 Knowledge Modules ........................................................................................................... 7-2
7.1.3 Overview of the SAP BW Integration Process................................................................. 7-2
7.1.3.1 Reverse-Engineering Process ...................................................................................... 7-3
7.1.3.2 Integration Process ....................................................................................................... 7-3
7.2 Installation and Configuration.................................................................................................. 7-3
7.2.1 System Requirements and Certifications ......................................................................... 7-4
7.2.2 Technology Specific Requirements ................................................................................... 7-4
7.2.3 Connectivity Requirements................................................................................................ 7-5
7.2.3.1 Installing and Configuring JCo .................................................................................. 7-5
7.2.3.2 Gathering SAP Connection Information................................................................... 7-6
7.2.3.3 Gathering FTP Connection Information ................................................................... 7-7
7.2.3.4 Gathering Shared Directory Information.................................................................. 7-7
7.2.4 Getting the Right Privileges ............................................................................................... 7-7
7.3 Defining the Topology ............................................................................................................... 7-7
7.3.1 Create the File Data Server ................................................................................................. 7-7
7.3.1.1 Create a File Data Server ............................................................................................. 7-7
7.3.1.2 Create the File Schema................................................................................................. 7-8
v
7.3.2 Create the SAP ABAP Data Server.................................................................................... 7-9
7.3.2.1 Create the SAP ABAP Data Server............................................................................. 7-9
7.3.2.2 Create the SAP ABAP Schema................................................................................. 7-10
7.4 Setting up the Project............................................................................................................... 7-10
7.5 Creating and Reverse-Engineering a Model ........................................................................ 7-11
7.5.1 Creating a SAP BW Model .............................................................................................. 7-11
7.5.2 Reverse-Engineering a SAP BW Model......................................................................... 7-11
7.6 Designing an Interface............................................................................................................. 7-12
7.7 Considerations for SAP BW Integration............................................................................... 7-12
7.7.1 File Transfer Configurations ........................................................................................... 7-12
7.7.1.1 Transfer using a Shared Directory (recommended) ............................................. 7-12
7.7.1.2 FTP based Transfer.................................................................................................... 7-15
7.7.2 Controlling ABAP Uploading / ABAP code in production ...................................... 7-17
7.7.3 Managing ODI SAP Transport Requests....................................................................... 7-18
7.7.4 Log Files ............................................................................................................................. 7-18
7.7.5 Limitation of the SAP BW Adapter................................................................................ 7-19
vi
8.7.1.1 Transfer using a Shared Directory (recommended) ............................................. 8-12
8.7.1.2 FTP based Transfer.................................................................................................... 8-14
8.7.2 Controlling ABAP Uploading ........................................................................................ 8-16
8.7.3 Managing ODI SAP Transport Requests....................................................................... 8-17
8.7.4 Log Files ............................................................................................................................. 8-18
8.7.5 Limitations of the SAP ABAP Adapter ......................................................................... 8-18
vii
viii
Preface
This manual describes how to configure and work with the Application Adapters in
Oracle Data Integrator.
This preface contains the following topics:.
Audience
Documentation Accessibility
Related Documents
Conventions
Audience
This document is intended for developers and administrators who want to use Oracle
Data Integrator Application Adapters as a development tool for their integration
processes.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Related Documents
For more information, see the following Oracle resources:
Oracle Fusion Middleware Getting Started with Oracle Data Integrator
Oracle Fusion Middleware Installation Guide for Oracle Data Integrator
Oracle Fusion Middleware Upgrade Guide for Oracle Data Integrator
Oracle Fusion Middleware Developer's Guide for Oracle Data Integrator
Oracle Fusion Middleware Connectivity and Modules Guide for Oracle Data Integrator
ix
Oracle Fusion Middleware Knowledge Module Developer's Guide for Oracle Data
Integrator
Oracle Data Integrator 11g Online Help
Oracle Data Integrator 11g Release Notes, included with your Oracle Data Integrator 11g
installation and on Oracle Technology Network
Conventions
The following text conventions are used in this document:
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
x
1
Introduction
1
Oracle Data Integrator uses Application Adapters to integrate data from and to
enterprise applications.
This book describes how to configure and work with the Application Adapters in
Oracle Data Integrator for the following technologies:
Oracle E-Business Suite
JD Edwards EnterpriseOne
JD Edwards World
Oracle PeopleSoft
Oracle Siebel CRM
SAP ABAP BW
SAP ABAP ERP
1.1 Terminology
This section defines some common terms that are used in this document and
throughout the related documents mentioned in the Preface.
Knowledge Module
Knowledge Modules (KMs) are components of Oracle Data Integrator' Open Connector
technology. KMs contain the knowledge required by Oracle Data Integrator to perform
a specific set of tasks against a specific technology or set of technologies.
Combined with a connectivity layer such as, for example, JDBC, JMS, or JCA,
Knowledge Modules define an Open Connector that performs defined tasks against a
technology, such as connecting to this technology, extracting data from it, transforming
the data, checking it, integrating it, etc.
Application Adapter
An adapter is a group of Knowledge Modules. In some cases, this group also contains
an attached technology definition for Oracle Data Integrator.
Oracle Application Adapters for Data Integration provide specific software components
for reverse-engineering metadata from, and extracting bulk data from various
applications.
Introduction 1-1
Using This Guide
1-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
2
Oracle E-Business Suite
2
This chapter describes how to work with Oracle E-Business Suite Knowledge Modules
in Oracle Data Integrator.
This chapter includes the following sections:
Section 2.1, "Introduction"
Section 2.2, "Installation and Configuration"
Section 2.3, "Setting Up the Topology"
Section 2.4, "Setting up an Integration Project"
Section 2.5, "Creating an Oracle Model and Reverse-Engineering E-Business Suite
Tables"
Section 2.6, "Designing an Interface"
2.1 Introduction
Oracle E-Business Suite (EBS) is a suite of integrated software applications that
provides a complete solution to the business needs of Oracle customers.
2.1.1 Concepts
The EBS Knowledge Modules provide support for the following capabilities:
Reverse-engineering EBS objects: RKM E-Business Suite can be used to
reverse-engineer E-Business Suite data structures
Data extraction from EBS: Standard Oracle or SQL LKMs can be used to extract
data from E-Business suite using objects such as Tables, Views, and KeyFlexfields.
Data integration to EBS: IKM E-Business Suite can be used to integrate data to
E-Business Suite using Open Interface tables. The Open Interface API
encapsulates a number of Oracle-specific interfaces and ensures data integrity. An
Open Interface is made up of:
Several Interface tables to be loaded. These tables are the incoming data entry
points for E-Business Suite.
Several programs that validate and process the insertion of the data from the
interface tables into E-Business Suite.
Oracle Data Integrator Knowledge Modules for Oracle E-Business Suite interact with
the database tier to extract metadata and load data. While loading data, it also
interacts with the Concurrent Processing Server of the application tier.
2-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Setting Up the Topology
http://www.oracle.com/technology/products/oracle-data-integrator
/index.html.
Create for this physical schema a logical schema using the standard procedure, as
described in "Creating a Logical Schema" of the Oracle Fusion Middleware Developer's
Guide for Oracle Data Integrator and associate it in a given context.
Note: The Oracle schema containing the E-Business Suite tables and
the Oracle schema containing the synonyms that point to these tables
should never be defined as a Work Schema in a physical schema
definition. Moreover, these Oracle schemas must not be used as
staging area for an interface.
2-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Creating an Oracle Model and Reverse-Engineering E-Business Suite Tables
Note: The Mask field and the Description Mask option are
implemented using SQL Like. The patterns that you can choose from
are:
% the percentage symbol allows you to match any string of any
length (including zero length)
_ the underscore symbol allows you to match a single character
The reverse-engineering process returns the applications and tables as sub-models and
datastores. You can use Oracle Applications as a source or a target of your integration
interfaces.
2-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
load the Open Interface tables. This section describes the options specific to Open
Interfaces. See "Oracle Database" in the Oracle Fusion Middleware Connectivity and
Knowledge Modules Guide for Oracle Data Integrator for more information about the IKM
Oracle Incremental Update.
The configuration of integration interfaces for actions specific to E-Business Suite, such
as Group ID handling and the execution of Open Interface programs, is detailed in the
Section 2.6.2.1, "Managing Group IDs" and Section 2.6.2.2, "Executing an Open
Interface Program".
Creating a Group ID
You must force the creation of a Group ID in the first integration interface that loads a
group of interface tables in one single batch.
To create a Group ID in an integration interface:
1. Set the following in the KM options:
Set OA_CREATE_NEW_GROUP_ID to YES
Provide a Group ID Name in the OA_GROUP_ID_NAME option.
Give a valid SQL expression for the Group ID value in the OA_GROUP_ID_
EXPRESSION option. Use an Oracle Database sequence value, for example
<SEQUENCE_NAME>.NEXTVAL
2. In the integration interface mapping, select the flag UD1 for all the columns of the
interface table you wish to load with the Group ID value and set the mapping
value to 0.
In the following integration interfaces belonging to a batch, you must use an existing
Group ID.
In the last integration interface that loads a batch of interface tables, you may delete a
Group ID that is no longer necessary.
2-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
3
3JD Edwards EnterpriseOne
3.1 Introduction
JD Edwards (JDE) EnterpriseOne is an integrated applications suite of comprehensive
ERP software that combines business value, standards-based technology, and deep
industry experience into a business solution with a low total cost of ownership.
3.1.1 Concepts
The JDE Knowledge Modules for Oracle Data Integrator use mature database-level
integration methods for JDE EnterpriseOne, in order to:
Reverse-Engineer JDE EnterpriseOne data structures
Read data from JDE EnterpriseOne (Direct Database Integration)
Write data through the Z-tables to an JDE Application (Interface Table Integration)
3-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
about the DB2 data sources and objects you want to access. You can configure
access to DB2 data sources two ways:
Through the DB2 Control Center
Through the DB2 Command Center or command line processor (CLP)
2. Add a DB2 data source to a federated server:
1. Catalog a node entry in the federated node directory.
For example, if TCP/IP is your communication protocol issue the following
command:
CATALOG TCPIP NODE <db2node> REMOTE <system> SERVER
<server_name>
2. Catalog the remote database in the federated system database director using
the following command:
CATALOG DATABASE <db_name> AS <alias_name> AT NODE <db2_
node> AUTHENTICATION SERVER
3. Create the wrapper using the following command:
CREATE WRAPPER DRDA
DRDA is the default wrapper name to access the DB2 family of products.
Every DB2 Server Edition (Enterprise, Personal, Workgroup) includes the
DRDA wrapper.
4. Create the server definition.
CREATE SERVER <server_name> TYPE <type> VERSION <version>
WRAPPER <wrapper_name> AUTHORIZATION <user> PASSWORD
<password> OPTIONS (DBNAME <db_name>)
where:
AUTHORIZATION <user>
Is the authorization ID at the data source. This ID must have BINDADD
authority at the data source. This value is case-sensitive.
PASSWORD <password>
Is the password associated with the authorization ID at the data source. This
value is case-sensitive.
DBNAME <db_name>
The alias for the DB2 database that you want to access. You defined this alias
when you cataloged the database using the CATALOG DATABASE command.
This value is case-sensitive.
Although the database name is specified as an option in the CREATE SERVER
statement, it is required for DB2 data sources.
5. Create the user mappings. If a users authorization ID to access the federated
database differs from the users authorization ID to access a data source, you
need to define a user mapping between the two authorization IDs.
CREATE USER MAPPING FOR <db2user> SEVER <server_name>
OPTIONS (REMOTE_AUTHID <remote_user> REMOTE_PASSWORD
<remote_password>)
See the IBM DB2 Universal Database - Federated Systems Guide for more information.
3-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Setting up an Integration Project
Note: The schema storing the JDE tables should never be defined as
a work schema in the physical schema definition. Moreover, this
schema must not be used as staging area of an interface.
Create for this physical schema a logical schema using the standard procedure, as
described in "Creating a Logical Schema" of the Oracle Fusion Middleware Developer's
Guide for Oracle Data Integrator and associate it in a given context.
In addition to these specific JDE KMs, import the standard LKMs for the technology
hosting your JDE tables. For a list of available KMs, see the following sections in the
Oracle Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data
Integrator:
Oracle Database "Knowledge Modules"
Microsoft SQL Server "Knowledge Modules"
IBM DB2 for iSeries "Knowledge Modules"
IBM DB2 UDB "Knowledge Modules"
3-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
Note: You can also specify a list of modules. In the list, the modules
must be separated by commas and enclosed within single-quote
characters, for example:
01,02,04
3-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
4. Set the parameters for the RunUBE command as shown in Table 34.
3-10 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
4
4JD Edwards World
This chapter describes how to work with JD Edwards World Knowledge Modules in
Oracle Data Integrator.
This chapter includes the following sections:
Section 4.1, "Introduction"
Section 4.2, "Installation and Configuration"
Section 4.3, "Setting Up the Topology"
Section 4.4, "Setting up an Integration Project"
Section 4.5, "Creating and Reverse-Engineering a Model"
Section 4.6, "Designing an Interface"
4.1 Introduction
JD Edwards (JDE) World is an integrated applications suite of comprehensive ERP
software that combines business value, standards-based technology, and deep
industry experience into a business solution with a low total cost of ownership.
4.1.1 Concepts
The JDE Knowledge Modules for Oracle Data Integrator use mature database-level
integration methods for JDE World, in order to:
Reverse-Engineer JDE World data structures
Read data from JDE World (Direct Database Integration)
Write data through the Z-tables to a JDE World Application (Interface Table
Integration)
Note: These three files are delivered with ODI and are located in the
ODI_HOME/misc/jde-world directory.
4-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Setting Up the Topology
Note: in the JDBC URL, use the *SQL naming convention. Do not
specify the naming convention to be system as, for example in :
jdbc:as400://195.10.10.13;translate
binary=true;naming=system.
*SQL should always be used unless your application is specifically
designed for *SYS. Oracle Data Integrator uses the *SQL naming
convention by default.
For detailed information on JDBC connectivity with IBM DB2 for iSeries, see "IBM DB2
for iSeries Connectivity Requirements" in the Oracle Fusion Middleware Connectivity and
Knowledge Modules Guide for Oracle Data Integrator:
Note: When defining the connection parameters for the data server,
set in the JDBC URL field translate binary=true
For example:
jdbc:as400://10.139.142.183;translate binary=true
This data server must point to the library that stores the JDE World data.
Note: The library storing the JDE tables should never be defined as
a work schema in the physical schema definition. Moreover, this
library must not be used as staging area of an interface.
Create for this physical schema a logical schema using the standard procedure, as
described in "Creating a Logical Schema" of the Oracle Fusion Middleware Developer's
Guide for Oracle Data Integrator and associate it in a given context.
4-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
Note: You can also specify a list of modules. In the list, the modules
must be separated by commas and enclosed within single-quote
characters, for example:
01,02,04
4-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
The following example shows a security file. Make sure to use the same syntax
and key names in your security file.
Username=ODI
Password=password
Environment=JDEENV
Address=iseries.organization.com
3. Set the parameters for the RPG program as shown in Table 43.
4-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
5
Oracle PeopleSoft
5
This chapter describes how to work with Oracle PeopleSoft Knowledge Modules in
Oracle Data Integrator.
This chapter includes the following sections:
Section 5.1, "Introduction"
Section 5.2, "Installation and Configuration"
Section 5.3, "Setting up the Topology"
Section 5.4, "Setting up the Project"
Section 5.5, "Creating and Reverse-Engineering a Model"
Section 5.6, "Designing an Interface"
5.1 Introduction
Oracle Data Integrator integrates data extracted from Oracle PeopleSoft applications. It
supports reverse-engineering of PeopleSoft metadata as well as scalable data
extraction from PeopleSoft tables.
5.1.1 Concepts
The Oracle Data Integrator KMs for PeopleSoft use mature integration methods for
PeopleSoft, in order to:
Reverse-Engineer PeopleSoft data structures (Business Objects, tables, views,
columns, keys, and foreign keys) in the form of datastores. Oracle Data Integrator
provides two specialized knowledge modules (KMs) for performing this operation
for PeopleSoft instances hosted in Oracle and Microsoft SQL Server databases.
Extract data from PeopleSoft using a data-level integration approach. Data is
extracted from the database tables containing the PeopleSoft data.
5-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Creating and Reverse-Engineering a Model
Create a data server either for the Oracle technology or for the Microsoft SQL Server
technology. See "Creating an Oracle Data Server" or "Creating a Microsoft SQL Server
Data Server" in the Oracle Fusion Middleware Connectivity and Knowledge Modules Guide
for Oracle Data Integrator.
This data server represents the database instance that stores the PeopleSoft data.
Create for this physical schema a logical schema using the standard procedure, as
described in "Creating a Logical Schema" of the Oracle Fusion Middleware Developer's
Guide for Oracle Data Integrator and associate it in a given context.
described in "Creating a Model" of the Oracle Fusion Middleware Developer's Guide for
Oracle Data Integrator.
5-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
the following chapters in the Oracle Fusion Middleware Connectivity and Knowledge
Modules Guide for Oracle Data Integratorfor more information:
"Oracle Database"
"Generic SQL"
"Microsoft SQL Server"
5-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
6
Oracle Siebel CRM
6
This chapter describes how to work with Oracle Siebel CRM Knowledge Modules in
Oracle Data Integrator.
This chapter includes the following sections:
Section 6.1, "Introduction"
Section 6.2, "Installation and Configuration"
Section 6.3, "Setting up the Topology"
Section 6.4, "Setting up the Project"
Section 6.5, "Creating and Reverse-Engineering a Model"
Section 6.6, "Designing an Interface"
6.1 Introduction
Oracle Data Integrator is able to integrate Oracle Siebel CRM applications. It supports
reverse-engineering of Siebel metadata as well as data extraction on Siebel Business
Components tables and integration through EIM tables.
6.1.1 Concepts
The Oracle Data Integrator Siebel Knowledge Modules (KMs) use mature integration
methods for Siebel, in order to:
Reverse-Engineer Siebel data structures (Business Components and Business
Objects)
Reverse-Engineer EIM (Enterprise Integration Manager) tables
Read data from Siebel using data-level integration
Read and write Siebel data using the EIM tables
These features are supported for Oracle and Microsoft SQL Server (MSSQL) databases
used as backend databases for Siebel. In this chapter, <database> refers to any of
these technologies.
Data-level integration
Data extraction is performed directly on the Siebel Business Components tables. You
can use a Siebel data model as a source of an integration interface by extracting data
from the Siebel Database and integrate them into another system. Using Siebel as a
source in these conditions is the same as using a regular table as a source in an
integration interface. This integration method is read-only.
Reverse-engineering: To reverse-engineer Siebel Business Components, use the RKM
Siebel <database> (<database> is the name of the database hosting the Siebel
tables). This RKM allows for reverse-engineering of the Siebel data structures,
enriching them with information retrieved from the Siebel dictionary.
Extracting: You have access to a range of knowledge modules to extract Siebel data
from Siebel. The Generic SQL, Oracle Database or Microsoft SQL Server KMs can
be used for this purpose.
Note: Only EIM tables should be used to write into Siebel. Writing
directly into the Siebel physical tables is not recommended.
6-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
Create for this physical schema a logical schema using the standard procedure, as
described in "Creating a Logical Schema" of the Oracle Fusion Middleware Developer's
Guide for Oracle Data Integrator and associate it in a given context.
6-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Creating and Reverse-Engineering a Model
In addition to these specific Siebel CRM KMs, import the standard LKMs for the
Oracle or Microsoft SQL Server technologies. See Oracle Database "Knowledge
Modules" and Microsoft SQL Server "Knowledge Modules" in the Oracle Fusion
Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integratorfor a list
of available KMs.
3. Specify the reverse-engineering mask in the Mask field in order to select the tables
to reverse. The Mask field, in the Reverse tab, filters reverse-engineered objects
based on their name. The Mask field must not be empty and must contain at least
the percentage symbol (%).
The reverse-engineering process returns the applications and tables as sub-models and
datastores. You can use these Siebel CRM datastores as a source in an integration
interface.
6-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
6-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
7
SAP ABAP BW
7
This chapter describes how to work with SAP BW Knowledge Modules in Oracle Data
Integrator.
This chapter includes the following sections:
Section 7.1, "Introduction"
Section 7.2, "Installation and Configuration"
Section 7.3, "Defining the Topology"
Section 7.4, "Setting up the Project"
Section 7.5, "Creating and Reverse-Engineering a Model"
Section 7.6, "Designing an Interface"
Section 7.7, "Considerations for SAP BW Integration"
7.1 Introduction
The SAP BW Knowledge Modules let Oracle Data Integrator connect to SAP-BW
system using SAP Java Connector (SAP JCo) libraries. These adapters allow mass data
extraction from SAP-BW systems.
If this is the first time you are using the SAP BW adapter, it is recommended to review
the Oracle Data Integrator Getting Started with SAP ABAP BW Adapter on Oracle
Technical Network (OTN):
http://www.oracle.com/technetwork/middleware/data-integrator/lea
rnmore/index.html
It contains the complete pre-requisites list as well as step-by-step instructions
including SAP connection testing.
7.1.1 Concepts
The SAP BW Knowledge Modules for Oracle Data Integrator use mature integration
methods for SAP-BW system, in order to:
Reverse-Engineer SAP BW metadata
Extract and load data from SAP BW system (source) to an Oracle or non-Oracle
Staging Area
The reverse-engineering process returns the following SAP BW objects inside an ODI
model:
Each ODS/DSO object is represented as an ODI datastore.
7-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
Note: For security reasons, folders located on the SAP server should
not be shared. You should instead share a folder located of the ODI
agent machine with the SAP system, or use a third machine as the
shared file server.
The shared folder must be accessible to SAP system and not just to the
underlying operating system. This means that the folder needs to be declared
in SAP transaction AL11 and the folder opens successfully in AL11.
Data transfer through FTP
LKM SAP BW to Oracle (SQLLDR) requires a FTP server to upload data from
the SAP BW system. This data is either read locally by the agent executing the
interface (when this agent runs on the FTP server machine), or remotely (when
this agent is located on a different machine than the FTP server). This FTP
server must be accessible over the network from both the SAP BW machine
and the agent machine.
7-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
Notes:
A minimum version of JCo 3.0.2 is required
Choose the SAP JCo package matching your operating system and
your system architecture (32/64Bit). E.g. if you are running ODI
inside a 32-Bit JVM, you must download the 32-Bit SAP JCo, even
if the CPU and OS are 64-Bit. Mixing 32-bit and 64-bit architecture
is not possible due to native libraries required by SAP JCo and
will result in connection failure.
odi.conf contains the JDK path used for ODI Studio.
Note: All the connection data listed above (except SAP SNC
Connection Properties and SAP Router String) are mandatory and
should be requested from the SAP Administrators. You may consider
requesting support during connection setup from your SAP
administrators.
7-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Defining the Topology
The shared folder into which the SAP system will write the extraction file and
from which SQL*Loader/ ODI Flat File Driver will pick it up. This schema
represents the folder in the FTP host where the extraction file will be pushed.
Note that the parameters for the data server depend on the data transfer mode.
When transferring data through FTP, set the parameters as follows:
Host (Data Server): FTP server IP host name or IP address
User: Username to log into FTP server
Password: Password for the user
When transferring data through a Shared Directory, set the parameters as follows:
Host (Data Server): n/a
User: n/a
Password: n/a
For use with "LKM SAP ERP to SQL" these additional parameters must be
configured:
JDBC driver class: com.sunopsis.jdbc.driver.file.FileDriver
JDBC URL: jdbc:snps:dbfile?ENCODING=UTF8
The above URL is for SAP UNICODE systems. For non-UNICODE systems,
please see details on ENCODING parameter in section 3.3.1, "Creating a File
Data Server" of Oracle Fusion Middleware Connectivity and Knowledge Modules
Guide for Oracle Data Integrator. The encoding chosen on this URL must match
the code page used by the SAP Application Server.
See Section 7.7.1, "File Transfer Configurations" for more information.
7-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Defining the Topology
value for Directory (Schema) - while the files are accessed locally in
c:\inetpub\ftproot\sapfiles - the value for Directory (Work Schema).
For the Shared Directory transfer:
Directory (Schema): Path (UNC) of the shared folder to write and read
extraction files. SAP System writes the extraction files into this folder. It is also
used by a remote agent to copy the extraction files to the ODI agent machine.
Note that this path must use slashes or backslashes according to the operating
system of the SAP Application Server and must end with a slash or backslash
character.
Directory (Work Schema): Local path on the server's machine hosting the shared
folder. This path is used by an agent installed on this machine to access the
extraction files without passing though the shared folder. This access method
is used if the FTP_TRANSFER_METHOD parameter of the LKM SAP BW to
Oracle (SQLLDR)/ LKM SAP BW to SQL is set to FSMOUNT_DIRECT. The
Work Schema is a local directory location. As a consequence, slashes or
backslashes should be used according to the operating system. This path must
end with a slash or backslash.
See Section 7.7.1, "File Transfer Configurations" for more information.
Create a File Logical Schema called File Server for SAP ABAP, and map it to the
Physical Schema. The name of this Logical Schema name is predefined and must be
File Server for SAP ABAP.
Note: The Test button for validating the SAP Connection and the FTP
Connection definition is not supported.
Except for Data Server Name, all the parameters that you provide while defining the
SAP Data Server should be provided by the SAP Administrators. See Gathering SAP
Connection Information for more information about these parameters.
7-10 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Creating and Reverse-Engineering a Model
7-12 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP BW Integration
Figure 71 Configuration 1
This image shows the configuration where the shared directory is physically located
on the ODI Agent machine.
***********************************************************************************************
This configuration is used, when FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. In
this configuration the following data movements are performed:
1. The ABAP program extracts chunks of FETCH_ BATCH SIZE records and writes
them into a file in the shared folder.
2. for LKM SAP BW to Oracle (SQLLDR): SQL*Loader reads the data file from this
TEMP_DIR and loads the data into the Oracle staging area. For LKM SAP BW to
SQL: The ODI File Driver reads the data file from this TEMP_DIR and inserts the
data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the File server/ODI Agent machine:
Host (Data Server): n/a
User: n/a
Password: n/a
2. Under this File data server create a physical schema representing the shared folder
in the File host server. Specify the Data and Work Schemas as follows:
Data Schema: Path (UNC) of the shared folder used by the ABAP program to
write extraction files.
Directory (Work Schema): Local path on the server's machine hosting the shared
folder. This path is used by an agent and SQL*Loader installed on this
machine to access the extraction files without passing via the shared folder.
Note: Temporary files such as ctl, bad, dsc will be created in a local
temporary folder on the run-time agent. The default temporary
directory is the system's temporary directory. On UNIX this is
typically /tmp and on Windows c:\Documents and
Settings\<user>\Local Settings\Temp. This directory can be changed
using the KM option TEMP_DIR.
Figure 72 Configuration 2
This image shows the configuration where the shared directory is not physically
located on the ODI Agent machine.
***********************************************************************************************
This configuration is used, when FTP_TRANSFER_METHOD = FSMOUNT. In this
configuration the following data movements are performed:
1. The ABAP program extracts chunks of FETCH_ BATCH SIZE records and writes
them into a file in the shared folder.
2. The run-time agent copies the file into the directory given by TEMP_DIR option of
the LKM.
3. for LKM SAP BW to Oracle (SQLLDR): SQL*Loader reads the data file from this
TEMP_DIR and loads the data into the Oracle staging area. For LKM SAP BW to
SQL: The ODI File Driver reads the data file from this TEMP_DIR and inserts the
data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the file server into which the extraction file
will be pushed from SAP and picked up from for SQL*Loader.
Set the parameters for this data server as follows:
Host (Data Server): n/a
User: n/a
Password: n/a
2. In this File data server create a physical schema representing the shared folder.
Specify the Data and Work Schemas as follows:
Directory (Schema): Path (UNC) of the shared folder used by the ABAP
program to write extraction files, and by the agent to copy the file.
Directory (Work Schema): <undefined>. Leave this path blank, as data files are
never accessed directly from the File server's file system.
Please note that data files will be copied to the run-time agent from the shared folder
in a local temporary folder. The default temporary directory is the systems temporary
directory. On UNIX this is typically /tmp and on Windows c:\Documents and
Settings\<user>\Local Settings\Temp. This directory can be changed using
the KM option TEMP_DIR.
7-14 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP BW Integration
This image shows the file transfer configuration where the FTP server is installed on
an ODI Agent machine.
***********************************************************************************************
The configuration shown in Figure 73 is used, when FTP_TRANSFER_METHOD =
NONE. In this configuration the following data movements are performed:
1. The ABAP program extracts the data and uploads the data file to the FTP server.
2. For LKM SAP BW to Oracle (SQLLDR): SQL*Loader reads locally the data file and
loads the data into the Oracle staging area. For LKM SAP BW to SQL: The ODI File
Driver reads locally the data file and inserts the data using JDBC into a non-Oracle
staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the FTP server:
Host (Data Server): FTP server host name or IP address.
User: Username to log into FTP server.
Password: Password for the user.
2. In this File data server create a physical schema representing the folder in the FTP
host where the extraction file will be pushed. Specify the Data and Work Schemas
as follows:
Directory (Schema): Path on the FTP server for uploading SAP extraction files.
Directory (Work Schema): Local path on the FTP servers machine containing the
SAP extraction file. The agent and SQL*Loader/ODI Flat File Driver read the
extraction files from this location.
This image shows the file transfer configuration where the FTP server is not installed
on an ODI Agent machine.
***********************************************************************************************
The configuration shown in Figure 74 is used, when FTP_TRANSFER_METHOD is FTP,
SFTP or SCP. In this configuration the following data movements are performed:
1. The ABAP program extracts the data and uploads the data file to the FTP server.
2. The ODI agent downloads the file from the FTP server into the directory given by
KM Option TEMP_DIR.
3. For LKM SAP BW to Oracle (SQLLDR): SQL*Loader reads the data file from this
TEMP_DIR and loads the data into the Oracle staging area. For LKM SAP BW to
SQL: The ODI File Driver reads the data file from this TEMP_DIR and inserts the
data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the FTP server:
Host (Data Server): FTP server host name or IP address.
User: User name to log into FTP server.
Password: Password for the user.
2. In this File data server create a physical schema representing the folder in the FTP
host where the extraction file will be pushed. Specify the Data and Work Schemas
as follows:
Directory (Schema): Path on the FTP server for uploading SAP extraction files.
Directory (Work Schema): <undefined>; this path is left blank, as data files are
never accessed directly from the FTP server's file system.
7-16 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP BW Integration
Note: Before starting the extraction process, ODI verifies that the
interface/scenario matches the code installed in SAP. If there is a
discrepancy - for example, if the scenario was modified but the ABAP
code was not re-uploaded - an exception is thrown.
In some situations it may be desirable just to install the Interface's ABAP extraction
code and not to extract any data, such as for an automated installation. In this case all
interfaces can be linked inside a package with the KM option EXECUTE_ABAP_CODE
set to False in every interface. Executing this package will then install all ABAP code,
but will not perform any execution.
To avoid the modification of all interfaces (setting EXECUTE_ABAP_CODE to False as
described above), you can instead disable all SAP ABAP executions by using the
FlexField SAP Allow ABAP Execute on the ODI DataServer. If this FlexField is
disabled, the ABAP code is not executed even if the KM option EXECUTE_ABAP_CODE
is set to True.
7-18 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP BW Integration
7-20 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
8
SAP ABAP ERP
8
This chapter describes how to work with SAP ERP Knowledge Modules in Oracle
Data Integrator.
This chapter includes the following sections:
Section 8.1, "Introduction"
Section 8.2, "Installation and Configuration"
Section 8.3, "Defining the Topology"
Section 8.4, "Setting up the Project"
Section 8.5, "Creating and Reverse-Engineering a Model"
Section 8.6, "Designing an Interface"
Section 8.7, "Considerations for SAP ERP Integration"
8.1 Introduction
The SAP ERP Knowledge Modules let Oracle Data Integrator connect to SAP-ERP
system using SAP Java Connector (SAP JCo) libraries. These adapters allows mass
data extraction from SAP-ERP systems.
If this is the first time you are using the SAP ERP adapter, it is recommended to review
the Oracle Data Integrator Getting Started with SAP ABAP ERP Adapter on Technical
Network (OTN):
http://www.oracle.com/technetwork/middleware/data-integrator/lea
rnmore/index.html
It contains the complete pre-requisites list as well as step-by-step instructions
including SAP connection testing.
8.1.1 Concepts
The SAP ERP Knowledge Modules for Oracle Data Integrator use mature integration
methods for SAP-ERP system, in order to:
Reverse-Engineer SAP ERP metadata
Extract and load data from SAP ERP system (source) to an Oracle or non-Oracle
Staging Area
8-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
The adapter supports two transfer modes for transferring data from SAP system to
the ODI agent: data transfer using a Shared Directory and data transfer through
FTP. For details and restrictions, see Section 8.7.1, "File Transfer Configurations".
Depending on the chosen file transfer mode the following requirements must be
met:
Data transfer through a Shared Directory (recommended transfer method)
The LKM SAP ERP to Oracle (SQLLDR) requires a folder that is shared
between the SAP system and the ODI agent. The SAP application server
transfers the data by writing it out into a folder that is accessible from the SAP
system and the ODI agent machine. This is typically done by sharing a folder
of the ODI agent machine with the SAP system. Note that the shared folder
does not necessarily have to be located on the ODI agent machine. A shared
folder on a third machine is also possible, as long as the shared folder is
accessible to both the ODI agent machine and the SAP system.
Note: For security reasons, folders located on the SAP server should
not be shared. You should instead share a folder located of the ODI
agent machine with the SAP system, or use a third machine as the
shared file server.
The shared folder must be accessible to SAP system and not just to the
underlying operating system. This means that the folder needs to be declared
in SAP transaction AL11 and the folder opens successfully in AL11.
Data transfer through FTP
LKM SAP ERP to Oracle (SQLLDR) requires a FTP server to upload data from
the SAP ERP system. This data is either read locally by the agent executing the
interface (when this agent runs on the FTP server machine), or remotely (when
this agent is located on a different machine than the FTP server). This FTP
server must be accessible over the network from both the SAP ERP machine
and the agent machine.
For "LKM SAP ERP to Oracle (SQLLDR)" only: SQL*Loader is required on the
machine running the agent when executing interfaces using LKM SAP ERP to
Oracle (SQLLDR). SQL*Loader is used for loading data extracted from SAP to the
Oracle staging area.
8-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Installation and Configuration
Notes:
A minimum version of JCo 3.0.2 is required
Choose the SAP JCo package matching your operating system and
your system architecture (32/64Bit). E.g. if you are running ODI
inside a 32-Bit JVM, you must download the 32-Bit SAP JCo, even
if the CPU and OS are 64-Bit. Mixing 32-bit and 64-bit architecture
is not possible due to native libraries required by SAP JCo and
will result in connection failure.
odi.conf contains the JDK path used for ODI Studio.
SAP Language: Code of the language used when logging in For example: EN for
English, DE for German.
SAP Client Number: The three-digit number assigned to the self-contained unit
which is called Client in SAP. A Client can be a training, development, testing or
production client or represent different divisions in a large company.
SAP System Number: The two-digit number assigned to a SAP instance which is
also called Web Application Server or WAS.
SAP System ID: The three-character, unique identifier of a SAP system in a
landscape.
SAP SNC Connection Properties (optional) SAP Router String (optional): SAP is
enhancing security through SNC and SAP router. It is used when these securities
are implemented.
SAP Transport Layer Name: This string uniquely identifies a transport layer in a
SAP landscape. It allows ODI to create transport requests for later deployment in
SAP.
SAP ABAP Version: The version of the SAP system.
SAP Character Set: The character set is only required if your SAP system is not a
UNICODE system. For a complete list of character sets, see "Locale Data" in the
Oracle Database Globalization Support Guide. For example, EE8ISO8859P2 for
Croatian Data. For UNICODE systems, use UTF8.
Note: All the connection data listed above (except SAP SNC
Connection Properties and SAP Router String) are mandatory and
should be requested from the SAP Administrators. You may consider
requesting support during connection setup from your SAP
administrators.
8-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Defining the Topology
Please note that the shared folder must be accessible from the SAP system using the
<sid>adm user and from the operating system user that starts the ODI agent.
8-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Defining the Topology
Create a File Logical Schema called File Server for SAP ABAP, and map it to the
Physical Schema. The name of this Logical Schema name is predefined and must be
File Server for SAP ABAP.
Note: The Test button for validating the SAP Connection and the FTP
Connection definition is not supported.
Except for Data Server Name, all the parameters that you provide while defining the
SAP Data Server should be provided by the SAP Administrators. See Gathering SAP
Connection Information for more information about these parameters.
8-10 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Designing an Interface
Figure 81 Configuration 1
This image shows the configuration where the shared directory is physically located
on the ODI Agent machine.
***********************************************************************************************
This configuration is used, when FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. In
this configuration the following data movements are performed:
8-12 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP ERP Integration
1. The ABAP program extracts chunks of FETCH_ BATCH SIZE records and writes
them into a file in the shared folder.
2. for LKM SAP ERP to Oracle (SQLLDR): SQL*Loader reads locally the data file and
loads the data into the Oracle staging area.
For LKM SAP ERP to SQL: The ODI File Driver reads locally the data file and
inserts the data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the File server/ODI Agent machine:
Host (Data Server): n/a
User: n/a
Password: n/a
2. Under this File data server create a physical schema representing the shared folder
in the File host server. Specify the Data and Work Schemas as follows:
Data Schema: Path (UNC) of the shared folder used by the ABAP program to
write extraction files.
Directory (Work Schema): Local path on the server's machine hosting the shared
folder. This path is used by an agent and SQL*Loader installed on this
machine to access the extraction files without passing via the shared folder.
Note: Temporary files such as ctl, bad, dsc will be created in a local
temporary folder on the run-time agent. The default temporary
directory is the system's temporary directory. On UNIX this is
typically /tmp and on Windows c:\Documents and
Settings\<user>\Local Settings\Temp. This directory can be changed
using the KM option TEMP_DIR.
Figure 82 Configuration 2
This image shows the configuration where the shared directory is not physically
located on the ODI Agent machine.
***********************************************************************************************
This configuration is used, when FTP_TRANSFER_METHOD = FSMOUNT. In this
configuration the following data movements are performed:
1. The ABAP program extracts chunks of FETCH_ BATCH SIZE records and writes
them into a file in the shared folder.
2. The run-time agent copies the file into the directory given by TEMP_DIR option of
the LKM.
3. for LKM SAP ERP to Oracle (SQLLDR): SQL*Loader reads the data file from this
TEMP_DIR and loads the data into the Oracle staging area.
For LKM SAP ERP to SQL: The ODI File Driver reads the data file from this
TEMP_DIR and inserts the data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the file server into which the extraction file
will be pushed from SAP and picked up from for SQL*Loader.
Set the parameters for this data server as follows:
Host (Data Server): n/a
User: n/a
Password: n/a
2. In this File data server create a physical schema representing the shared folder.
Specify the Data and Work Schemas as follows:
Directory (Schema): Path (UNC) of the shared folder used by the ABAP
program to write extraction files, and by the agent to copy the file.
Directory (Work Schema): <undefined>. Leave this path blank, as data files are
never accessed directly from the File server's file system.
Please note that data files will be copied to the run-time agent from the shared folder
in a local temporary folder. The default temporary directory is the systems temporary
directory. On UNIX this is typically /tmp and on Windows c:\Documents and
Settings\<user>\Local Settings\Temp. This directory can be changed using
the KM option TEMP_DIR.
This image shows the file transfer configuration where the FTP server is installed on
an ODI Agent machine.
***********************************************************************************************
8-14 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP ERP Integration
This image shows the file transfer configuration where the FTP server is not installed
on an ODI Agent machine.
***********************************************************************************************
The configuration shown in Figure 84 is used, when FTP_TRANSFER_METHOD is FTP,
SFTP or SCP. In this configuration the following data movements are performed:
1. The ABAP program extracts the data and uploads the data file to the FTP server.
2. The ODI agent downloads the file from the FTP server into the directory given by
KM Option TEMP_DIR.
3. For LKM SAP ERP to Oracle (SQLLDR): SQL*Loader reads the data file from this
TEMP_DIR and loads the data into the Oracle staging area.
For LKM SAP ERP to SQL: The ODI File Driver reads the data file from this
TEMP_DIR and inserts the data using JDBC into a non-Oracle staging area.
This configuration requires the following Topology settings:
1. Create a File data server pointing to the FTP server:
Host (Data Server): FTP server host name or IP address.
8-16 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP ERP Integration
Note: Before starting the extraction process, ODI verifies that the
interface/scenario matches the code installed in SAP. If there is a
discrepancy - for example, if the scenario was modified but the ABAP
code was not re-uploaded - an exception is thrown.
In some situations it may be desirable to install the Interface's ABAP extraction code
and not to extract any data, such as for an automated installation. In this case all
interfaces can be linked inside a package with the KM option EXECUTE_ABAP_CODE
set to False in every interface. Executing this package will then install all ABAP code,
but will not perform any execution.
To avoid the modification of all interfaces (setting EXECUTE_ABAP_CODE to False as
described above), you can instead disable all SAP ABAP executions by using the
FlexField SAP Allow ABAP Execute on the ODI DataServer. If this FlexField is
disabled, the ABAP code is not executed even if the KM option EXECUTE_ABAP_CODE
is set to True.
8-18 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Considerations for SAP ERP Integration
In one-to-many relationships, the first table of a join needs to be the one-table, for
example when joining MARA and MARC, MARA needs to be the first table in the
join.
Mapping expression executed on the source must not contain any transformations.
8-20 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
A
Additional Information for SAP ABAP BW
A
Adapter
This appendix describes the privileges that are required for connecting to SAP System,
how you can test the connection outside of ODI using a standalone java utility, and
how to uninstall SAP components.
This appendix contains the following sections:
SAP ABAP BW Required Privileges
SAP Stand-Alone Connection Test
Uninstalling ODI SAP Components
For more information about the SAP BW KMs see Oracle Fusion Middleware
Connectivity and Knowledge Modules Guide for Oracle Data Integrator.
See Section B.1.1, "Authorizations Required for RKM SAP ERP Setup" for more
information.
A-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Uninstalling ODI SAP Components
7. Enter you SAP connection information, which you have received from your SAP
administrator.
8. Launch the utility using the same command. The utility uses the file that you have
edited, and outputs the test results or the possible issues.
In addition to just testing the SAP connection, the utility will also validate the
existence of certain Function Modules required for the RKM. These are installed
during first execution of the RKM (UPLOAD_ABAP = Yes).
9. Delete the ODI_SAP_CON_POOL.jcoDestination file after execution, as it contains
the SAP login credentials.
A-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
B
BAdditional Information for SAP ABAP ERP
Adapter
This appendix describes the privileges that are required for connecting to SAP System,
how you can test the connection outside of ODI using a standalone java utility, and
how to uninstall SAP components.
This appendix contains the following sections:
SAP ABAP ERP Required Privileges
SAP Connection Test
SAP Stand-Alone Connection Test
Uninstalling ODI SAP Components
B-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
SAP ABAP ERP Required Privileges
B-4 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
SAP ABAP ERP Required Privileges
B-6 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
SAP ABAP ERP Required Privileges
B-8 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
SAP Stand-Alone Connection Test
java cp sapjco3.jar;../oracledi/agent/lib/odi-sap.jar
oracle.odi.sap.km.test.JCoTest
This command generates a ODI_SAP_CON_POOL.jcoDestination file in the folder
<ODI_HOME>/odi_misc folder.
6. Use a text editor to open the ODI_SAP_CON_POOL.jcoDestination file. This file
should look as follows:
#for tests only!
jco.client.lang=EN
jco.destination.peak_limit=10
jco.client.client=800
jco.client.passwd=<SAP Password>
jco.client.user=<SAP User>
jco.client.sysnr=00
jco.destination.pool_capacity=5
jco.client.ashost=<SAP Application Server>
7. Enter you SAP connection information, which you have received from your SAP
administrator.
8. Launch the utility using the same command. The utility uses the file that you have
edited, and outputs the test results or the possible issues.
In addition to just testing the SAP connection, the utility will also validate the
existence of certain Function Modules required for the RKM. These are installed
during first execution of the RKM (UPLOAD_ABAP = Yes).
9. Delete the ODI_SAP_CON_POOL.jcoDestination file after execution, as it contains
the SAP login credentials.
B-10 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
Uninstalling ODI SAP Components
B-12 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator
C
C Installing the librfc32/librfc64 Library
C-2 Oracle Fusion Middleware Application Adapters Guide for Oracle Data Integrator