0% found this document useful (0 votes)
17 views

Interfaces and Conversion

The document discusses inbound and outbound interfaces in Oracle Applications. Inbound interfaces transfer data from external systems into Oracle Applications by getting files, loading them into staging tables, validating the data, inserting it into interface tables, and running interface programs to load it into base tables. Outbound interfaces transfer data from Oracle Applications to external systems by opening files, writing lines to them using PL/SQL, and closing the files with exception handling. Examples of specific interfaces and their tables, programs, and files are also provided.

Uploaded by

Deva Rocks Deva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Interfaces and Conversion

The document discusses inbound and outbound interfaces in Oracle Applications. Inbound interfaces transfer data from external systems into Oracle Applications by getting files, loading them into staging tables, validating the data, inserting it into interface tables, and running interface programs to load it into base tables. Outbound interfaces transfer data from Oracle Applications to external systems by opening files, writing lines to them using PL/SQL, and closing the files with exception handling. Examples of specific interfaces and their tables, programs, and files are also provided.

Uploaded by

Deva Rocks Deva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

INTERFACES

----------

In terms of oracle applications interface is a communication channel that allows the data to move in and
out of the system.

Inbound Interface : These interfaces are used to transfer data from external systems to Oracle
Applications.

Outbound Interface : These interfaces are used to transfer data from Oracle Applications to external
systems.

Inbound Interface : These interfaces are used to transfer data from external systems to Oracle
Applications.

1. get the file from external system( .csv, .dat, excel,text , ... etc)

2. Create staging tables and load the data into staging tables using SQL * Loader program( Control file
program)

3. Validate the data and insert into Interface tables.

4. Run the standard interface program.

5. validate the data into Oracle base tables

Outbound Interface : These interfaces are used to transfer data from Oracle Applications to external
systems.

Declare

l utl_file. file type;

Curor ....

Begin

utl_file.fopen

Utl_file.put_line

utl_file.fclose

Utl exception handling


Inbound
--------
1. get the file from external system( .csv, .dat, excel,text , ... etc)

2. Create staging tables and load the data into staging tables using SQL * Loader program( Control file
program)

3. Validate the data and insert into Interface tables.

4. Run the standard interface program.

5. validate the data into Oracle base tables

programs
-------------
XXRR_ITEM_IMPORT
XXRR Item validation program
Import Items

Request set
--------------

XXRR_ITEM_IMPORT_PRG

ITEM_ITERFACE
-----------------

Interafce Table:
--------------------
MTL_SYSTEM_ITEMS_INTERFACE

colums:
----------
org_name
item_name
Item_desc
UOM
Template
Status

-- Error_flag
-- Error messge

Staging tabel

-----------------
DROP TABLE PO.NEW_INV_ITEM_CSTM CASCADE CONSTRAINTS;

CREATE TABLE PO.NEW_INV_ITEM_CSTM


(
org_name varchar2(25),
item_name varchar2(25),
Item_desc varchar2(100),
UOM varchar2(10),
Template varchar2(25),
Status varchar2(15),
Err_Flag char,
Err_Msg varchar2(2000),
orgnization_id number(5),
template_id number(5)
);

drop public synonym NEW_INV_ITEM_CSTM ;

create public synonym NEW_INV_ITEM_CSTM FOR PO.NEW_INV_ITEM_CSTM ;

Error Table
------------
DROP TABLE PO.ERROR_INV_ITEM_CSTM CASCADE CONSTRAINTS;

CREATE TABLE PO.ERROR_INV_ITEM_CSTM


(
request_id varchar2(25),
interface_name varchar2(25),
column_errors_out varchar2(25),
Err_Flag char,
Err_Msg varchar2(2000),
created_by date,
updated_by number
);

drop public synonym ERROR_INV_ITEM_CSTM ;

create public synonym ERROR_INV_ITEM_CSTM FOR PO.ERROR_INV_ITEM_CSTM ;

GL_ITERFACE
--------------

1. get the file from external system( .csv, .dat, excel,text , ... etc)

2. Create staging tables and load the data into staging tables using SQL * Loader program( Control file
program)

3. Validate the data and insert into Interface tables.

4. Run the standard interface program.

5. validate the data into Oracle base table


GL Concurrent Program Group

XXRR Journal import STG


XXRR genaral import validation
program - import journal

set
----

XXRR Journal import program

Outbound Interface :
-------------------
These interfaces are used to transfer data from Oracle Applications to external systems.

select * from v$parameter where name like '%utl%'

/usr/tmp, /usr/tmp, /apps/ortest/VIS/db/tech_st/11.1.0/appsutil/outbound/VIS_apps, /usr/tmp

Declare

l utl_file. file type;

Curor ....

Begin

utl_file.fopen

Utl_file.put_line

utl_file.fclose

Utl exception handling

You might also like