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