32 Oracle Enterprise Resource Planning Cloud
It is important to understand how to work with Oracle Enterprise Resource Planning (ERP) Cloud in Oracle Data Integrator.
This chapter includes the following sections:
32.1 Introduction
Oracle Enterprise Resource Planning (ERP) Cloud is a suite of cloud applications for finance, project management, procurement, risk management and other core day-to-day activities important in every business, regardless of size, industry or geography.
Oracle Data Integrator (ODI) seamlessly integrates with Oracle Enterprise Resource Planning (ERP) Cloud. Oracle Data Integrator features are designed to work best with ERP Cloud, including reverse-engineering and mappings.
32.1.1 Concepts
The Oracle ERP Cloud technology concepts map the Oracle Data Integrator concepts as follows: An Oracle ERP Cloud Instance corresponds to a data server in Oracle Data Integrator. Within this instance, a schema maps to an Oracle Data Integrator physical schema.
32.1.2 Knowledge Modules
Oracle Data Integrator provides the following Knowledge Modules (KMs) for handling Oracle ERP Cloud data.
Table 32-1 Oracle ERP Cloud Knowledge Modules
Knowledge Module | Description |
---|---|
LKM Oracle ERP Cloud to SQL |
Extracts data from an existing BI Publisher report and inserts it into a staging table. |
LKM Oracle ERP Cloud to File Direct |
Extracts data from an existing BI Publisher report and inserts it into a file. |
32.2 Prerequisites
The following prerequisites are essential for working with the Oracle ERP Cloud technology.
Make sure you go through the following prerequisites before working with Oracle ERP Cloud:
-
Create a BI Publisher data model. For more details on BI Publisher data models, refer to Using the Data Model Editor section of Data Modeling Guide for Oracle Business Intelligence Publisher.
-
Create a BI Publisher report. For more details on BI Publisher reports, refer Using Oracle BI Publisher to Extract Data From Oracle Sales and ERP Clouds.
-
Export the BI Publisher report file to the schema directory defined in the Oracle ERP Cloud physical schema. For more details on Oracle ERP Cloud physical schema, see Creating an Oracle ERP Cloud Physical Schema.
32.3 Installation and Configuration
Make sure you have read the information in this section before you start working with the Oracle ERP Cloud technology:
32.3.1 System Requirements and Certifications
Before performing any installation, you should read the system requirements and certification documentation to ensure that your environment meets the minimum installation requirements for the products you are installing.
The list of supported platforms and versions is available on Oracle Technology Network (OTN):
http://www.oracle.com/technetwork/middleware/data-integrator/documentation/index.html
32.4 Setting up the Topology
Setting up the topology consists of:
32.4.1 Creating an Oracle ERP Cloud Data Server
- In the Definition tab:
- Under Connection, enter a user name and password for connecting to the Oracle ERP Cloud instance.
32.4.2 Creating an Oracle ERP Cloud Physical Schema
- In the Definition tab:
- Directory (Schema): Directory where the BI Publisher report is placed after extract. This location is also required for reverse engineering. The ODI Agent needs access to this location to perform the mapping, while ODI Studio requires it to perform reverse engineering. If it is not possible for this location to be shared by the ODI Agent and ODI Studio, then you will need to set up two separate physical schemas and have a reverse engineering context and a runtime context.
- Directory (Work Schema): Directory where log files and temporary files are located (for example, responses from SOAP requests). The ODI Agent needs access to this location.
- Check the Default box if you want this schema to be the default one for this data server (The first physical schema is always the default one).
32.5 Creating and Reverse-Engineering an Oracle ERP Cloud Datastore
This section contains the following topics:
32.5.1 Creating an Oracle ERP Cloud Model
32.5.2 Creating an Oracle ERP Cloud Datastore
32.5.2.1 Defining Parameters for BI Publisher Report
The BI Publisher report can have various parameters to restrict the data coming into the report. You can define all the parameters that are required in the format of a key/value pair in the Properties tab. The name must match the parameter name defined in the BI Publisher report. The value can be either a real value (for example, “PRIMARY”) or an ODI variable (for example, “#PROJ_ERP.PARAMS1”).
32.6 Designing a Mapping
You can use Oracle ERP Cloud as a source of a mapping.
The KM choice for a mapping determines the abilities and performance of this mapping. The recommendations in this section help in the selection of the KM for different situations concerning an Oracle ERP Cloud server.
32.6.1 Loading Data from Oracle ERP Cloud
Oracle ERP Cloud can be used as a source of a mapping. The LKM choice in the Mapping's Loading Knowledge Module tab to load data between Oracle ERP Cloud and another type of data server is essential for the performance of a mapping.
Use the knowledge modules listed in the below table to load data from an Oracle ERP Cloud server to a target or staging area database.
Table 32-2 KMs for loading data from Oracle ERP Cloud
Staging Area/Target Technology | KM | Notes |
---|---|---|
SQL |
LKM Oracle ERP Cloud to SQL |
Extracts data from an existing BI Publisher report and inserts it into a staging table, where data can be loaded into any target using an IKM. The LKM will not return until the BI Publisher job is finished and data is loaded into the staging table. This LKM only supports BI Publisher reports that output in CSV format. The DELETE_TEMPORARY_OBJECTS LKM option should be set to |
File |
LKM Oracle ERP Cloud to File Direct |
Extracts data from an existing BI Publisher report and inserts it into a file. The LKM will not return until the BI Publisher job is finished and data is loaded into the file. This LKM only supports BI Publisher reports that output in CSV format. The DELETE_TEMPORARY_OBJECTS LKM option should be set to |
Remote Agent Configuration
Data extraction can be done on a remote agent. To perform data extraction on a remote agent:
-
Create the physical and logical agent using the standard procedure, as described in Creating a Physical Agent of Administering Oracle Data Integrator.
-
Edit the
ODI_HOME/user_projects/domains/base_domain/config/fmwconfig/components/ODI/<Agent_Name>/bin/instance.cmd(.sh)
configuration file as follows:-
No proxy: Comment the following code:
#if [ ! -z $IS_AGENT_SCRIPT ] ; then # ODI_SSL_PROPERTIES="-Djavax.net.ssl.trustStore=${WL_HOME}/server/lib/DemoTru st.jks -Djavax.net.ssl.keyStore=${DOMAIN_HOME}/security/DemoIdentity.jks" #else #ODI_SSL_PROPERTIES="-Djavax.net.ssl.trustStore=${WL_HOME}/server/lib/DemoTrust .jks -Djavax.net.ssl.trustStorePassword=DemoTrustKeyStorePassPhrase" #fi
-
With proxy: Set
ODI_INSTANCE_JAVA_OPTIONS
as follows:ODI_INSTANCE_JAVA_OPTIONS="$ODI_ADDITIONAL_JAVA_OPTIONS $ODI_SSL_PROPERTIES -Doracle.odi.standalone.agent.useauthenticator=false -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttp.nonProxyHosts=localhost|127.0.0.0/8|localhost.localdomain|127.0.0.1|::1 |adc01jjl.us.oracle.com|adc01jjl.us.oracle.com|10.229.118.112"
-
32.7 Troubleshooting
This section provides information on how to troubleshoot problems that you might encounter when using the Oracle ERP Cloud technology in Oracle Data Integrator.
Please find below the most common problems and the ways to resolve them:
-
Run the BI Publisher report as standalone from the Fusion Apps BI Console and ensure that it executes properly.
-
Execute the BI Publisher report using a SOAP client such as SoapUI to ensure that it can be called successfully from an external client.
-
Review log files in Fusion Console to ensure successful completion or find any errors.
-
Ensure that the path of the BI Publisher report is provided correctly, as this is the most common error.
-
Advanced errors need to be tracked by Fusion System Administrators to look into BI server error logs.