Sie sind auf Seite 1von 13

EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE CLOUD

Loading Data from External Sources


Into Oracle Fusion Applications
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

Copyright © 2012, 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 software or related documentation 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 which 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 Corporation 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.

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

Page | 3
CONTENTS
External Data Integration Services for Oracle Cloud: Overview ............................................................................................. 6
Using Templates to Prepare Your Data ................................................................................................................................... 7
Finding the Templates ......................................................................................................................................................... 7
Working with the Templates ............................................................................................................................................... 8
Transferring Your Data to the SFTP Server ............................................................................................................................. 9
Loading Your Data into Interface Tables ............................................................................................................................... 10
Correcting Data Load Errors .................................................................................................................................................. 11
Importing Your Data into Application Tables........................................................................................................................ 12
Correcting Data Import Errors .............................................................................................................................................. 13

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE CLOUD


This document contains the following:
• External Data Integration Services: Overview
• Using Templates to Prepare Your Data
• Transferring Your Data to the SFTP Server
• Loading Your Data Into Interface Tables
• Importing Your Data Into Application Tables
• Correcting Import Errors

Page | 5
EXTERNAL DATA INTEGRATION SERVICES FOR ORACLE CLOUD:
OVERVIEW
Use External Data Integration Services for Oracle Cloud to load data into Oracle Fusion Applications from
external sources, such as third party applications. Elements of External Data Integration Services for Oracle
Cloud include:

• Templates and control files for:


- Structuring and formatting the data according to the requirements of the target application tables.
- Generating the data file.
• Oracle Enterprise Scheduler processes for:
- Loading data into intermediary tables called interface tables.
- Validating the data in the interface tables.
- Importing valid data into the application tables.

To integrate external data into Oracle Fusion Applications, follow this process:

1. Use templates to prepare your data.


2. Transfer the data file to the Secure File Transfer Protocol (SFTP) server.
3. Load the data into interface tables.
4. Import the data into application tables.
5. Correct import errors.

This figure depicts the high level process flow for integrating external data into an Oracle Cloud
implementation. Although not depicted here, the same process applies to on-premise implementations.

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

USING TEMPLATES TO PREPARE YOUR DATA


When you prepare external data, you must:

• Organize the data based on the structure of the tables into which you are moving the data.
• Format the data based on the data types of the fields in the receiving tables.
• Create a CSV file of the import data.
To help you correctly structure and format your external data, you should use the product-specific templates
and control files in Oracle Enterprise Repository for Oracle Fusion Applications. You access these files from the
Documentation tab of the scheduled process that corresponds to the interface tables that store the data. To
find the process, you can search for the interface table or you can search for the specific process, if you know
it.

Finding the Templates


To find the templates:

1. Sign in to Oracle Enterprise Repository.


2. Use the fields in the Search pane to find the templates.
To search by scheduled process enter the following information:
Field Value
Search String FBDI
Type FusionApps: Scheduled Process

Note. You can further narrow the search by logical business area.

3. Click Search.
The search displays a Load Interface File for Import job.
4. Select the Documentation tab.
You will see the list of application-specific import jobs.
5. Click a link to access the job
6. Click the Documentation tab.
7. Click the links at the bottom of the tab to access:
• Control files, which describe the logical flow of the data load process.
• XLS templates, which include worksheets and macros that assist you in structuring, formatting,
and generating your data file.

Note. The list of the product-specific import processes appears on the Documentation tab of the
Load Interface File for Import scheduled process.

Page | 7
Working with the Templates
Each template includes table-specific instructions, guidelines, and best practices for preparing the data file for
upload. It is important to follow the instructions when you use the templates so that the data you enter
conforms to the structure and format of the target application tables. This list details important characteristics
of the templates:

• Each interface table is represented by a separate worksheet.


• Each interface table field is represented by a worksheet column with a header in the first row.
• Each column header contains bubble text, or comments, that include details about the column, such
as the expected data type, length, and, in some cases, other instructional text.
• The worksheet columns appear in the order that the control file processes the data file.
• The columns that you do not intend to use can be hidden, but not reordered or deleted.

Important: Deleting or reordering columns will cause the load process to fail and result in an
unsuccessful data load.
• The external data must conform to the data type that the control file and process for the associated
database column accepts.
- Date column values must appear in the YYYY/MM/DD format.
- Amount column values must appear with no separators other than a period (.) as the decimal
separator.
- Negative values must be preceded by the minus (-) sign.
- Column values that must be whole numbers have data validation to allow only whole numbers.

• Columns are formatted, where applicable, to match the expected data type to eliminate data entry
errors.
• For columns that require internal ID values, refer to the bubble text for additional guidance about
finding these values.

To use the templates:

1. Enter the data in the worksheets according to the instructions in the spreadsheet.
2. Save a copy of the file.
3. Click the Generate CSV File button.
The macro generates a CSV file and compresses it into a ZIP file, which you must transfer to the Secure
FTP server.

Note. When using Microsoft Excel to generate or update the CSV file, you must select
YYYY/MM/DD as your regional setting for date values.

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

TRANSFERRING YOUR DATA TO THE SFTP SERVER


After you generate the ZIP file, you transfer it to the SFTP server. You can use the file transfer application of
your choice.

To meet your business or security needs, you can create folders to organize the files on the SFTP server. If you
store the file in folders beneath the root level, you should note the path to the file because you must include
the relative path to the file when you run the load process in the next step.

For Oracle Cloud implementations, the preconfigured SFTP server location will be provided to you. For on-
premise implementations, an administrator or implementation specialist must configure the SFTP server and
provide you with the location.

Page | 9
LOADING YOUR DATA INTO INTERFACE TABLES
To load your data into interface tables, submit the Load Interface File for Import scheduled process:

1. Sign in to Oracle Fusion Applications.


2. In the Navigator menu, select Tools, Scheduled Processes.
3. Click the Schedule New Process button.
4. Search and select the Load Interface File for Import job.
5. When the Process Details page appears:
a. Select the target import process.
b. Enter the relative path of the data file.
c. Specify whether to retain the data file on the SFTP server when the process is complete.
6. Submit the process.

If no errors exist in the data file, then the process populates the interface tables.

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

CORRECTING DATA LOAD ERRORS


If the load of the data file fails on any row, then:

•The Load Interface File for Import process ends in error and the Load File to Interface child process
ends in either warning or error.
• All rows that were loaded by the process are deleted, even those rows that loaded successfully.
To correct errors:

1. Review the error logs.


2. Change any formatting or structural anomalies that exist in the data.
3. Run the macro again to recreate the CSV and ZIP files.
4. Transfer the file to the SFTP server and submit the Load Interface File for Import job.
Repeat this process until the process successfully loads the data.

Page | 11
IMPORTING YOUR DATA INTO APPLICATION TABLES
To import your data into application tables:

1. Sign in to Oracle Fusion Applications.


2. In the Navigator menu, select Tools, Scheduled Processes.
3. Click the Schedule New Process button.
4. Find and select the import process for the target application tables.
5. When the Process Details page appears, select the process that corresponds to the data that you are
importing.
The process name appears in the Overview section of the spreadsheet template.
6. Submit the process.

For more detailed information, see the Instructions and CSV Generation tab of the spreadsheet template.

External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)
External Data Integration Services for Oracle Cloud Document 11g Release 5 (11.1.5)

CORRECTING DATA IMPORT ERRORS


To correct your import data:

1. Review the log and output files of the process for information about the data that caused the failure.
2. In the template, delete the data worksheet that the macro previously generated.
3. Use the template and the information from the log to correct the data by following the steps outlined
in the Using Templates to Prepare Your Data section.
4. Regenerate the CSV and ZIP files.
5. Transfer the new file to the SFTP server.
6. Load the data using the Load Interface File for Import process.
7. Import the data using the appropriate product-specific process.
8. Repeat all of these steps until all data loads successfully.

Page | 13

Das könnte Ihnen auch gefallen