Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
194 views

Oracle Applications Technical

ERP stands for Enterprise Resource Planning and is a type of business management software that allows organizations to use a system of integrated applications to manage business processes. Oracle Applications is an ERP package from Oracle that provides integrated modules for finance, human resources, supply chain, and manufacturing. It offers benefits like effective flow of information, standardization, and lower costs compared to other ERP vendors like SAP. Oracle Applications uses a three-tier architecture with a desktop tier, application tier, and database tier to integrate transactional and master data across different modules.
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
194 views

Oracle Applications Technical

ERP stands for Enterprise Resource Planning and is a type of business management software that allows organizations to use a system of integrated applications to manage business processes. Oracle Applications is an ERP package from Oracle that provides integrated modules for finance, human resources, supply chain, and manufacturing. It offers benefits like effective flow of information, standardization, and lower costs compared to other ERP vendors like SAP. Oracle Applications uses a three-tier architecture with a desktop tier, application tier, and database tier to integrate transactional and master data across different modules.
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 46

FUNCATIONAL FLOW

Oracle Applications Ebusiness


Suite 11i
ERP Concepts:

 What is ERP?
 ERP Vendors.-weight: normal;">
 About Oracle Application & SAP.
ERP Concepts Count.. :

ERP :
ERP Stands for Enterprise Resource Planning, ERP means integration of different module. Any business will
greatly benefits by adapting this feature because u can customize it or integrate it with other Packages to satisfy
unique requirements.

• Oracle Apps Technical By Muthu


ERP Concepts Count.. :

BENEFITS OF ERP :
 Flow of Information Effectively
 Maintaining Standardizations.
ERPs available in market :
 SAP
 Oracle Applications
 People soft
 Siebel
 JD Edwards

Oracle Applications :
Oracle Applications are an ERP Package. The Key Feature of the entire
oracle Application module is Data Integration.
ERP Concepts Count.. :

ERP Vendors :
Company name : Site :
SAP www.sap.com
Oracle www.oracle.com
PeopleSoft www.peoplesoft.com
invensys www.invensys.com
ABB Automation www.abb.com/automation
i2 www.i2.com
SSA Global Technologies www.ssagt.com
Intentia International www.intentia.com
Epicor www.epicor.com
Lawson Software www.lawson.com
QAD www.qad.com
IFS www.ifsab.com
Mapics www.mapics.com
Mincom www.mincom.com
American Software www.amsoftware.com
Great Plains www.greatplains.com
Ross Systems www.rossinc.com

• Oracle Apps Technical By Muthu


ERP Concepts Count.. :

Why We Prefer Oracle Applications :

 Master data is Integrated:


All the application share common files of customers,suppliers, employee, items and other entities
that are used by multiple applications.

 Transaction data is Integrated:


Oracle automatically bridge transactions from one system to another.

 Financial data is integrated:


Financial data is carried in a common format, and financial data is transmitted from one application
to another.

 Less cost and Time :


Oracle is implemented at a lower cost and in less time when compared to SAP.

• Oracle Apps Technical By Muthu


About Projects :

Types of Projects :
We have 4 Types of Projects.
 Implementation Project :
Client will be using another software to maintain the business solutions. Now the client wants to
have Oracle Applications package to capture the data. That time we will start setups,data conversions,
gap analysis, functions document preparation from the scratch.

 Customization Project :
Client was already using Oracle Applications,now the client would like to have few more modules
to cover the business, for that we will customize new modules and integrate with existing modules.

 Migration or Up-gradation Project :


Client was already using Oracle Applications older version now client would like to move new
version of Oracle Applications that time we will migrate older version objects in to new version.

 Support or Maintenance :
Once the implementation, customization and migration are over, then supporting project will be
started where we will give supporting for the objects which were already developed, customized
and migrated.

• Oracle Apps Technical By Muthu


Oracle Application Positions Hierarchies:

 Functional Consultant & Roles :


a. Interaction with the client
b. Gathering the requirements for development / customization
c. About oracle applications what available and what wasn’t available.
d. Example invoice form – fields - Or develop a invoice form from scratch
e. Preparation of FDD (Functional Design Document)

 Technical Consultant & Roles :


a. Go through the FDD
b. Prepare TDD (Technical Design Document) – Logic, Tables, Procedures,Forms, Menus,
Packages,Approvals.
c. Development of Component
d. Test the component
e. Deliver to the client.

 Techno- Functional Consultant & Roles :


Techno functional Consultant involved in roles and responsibilities of functional and techncial.

 Oracle Application DBA & Roles :


a. Installation of Oracle Applications
b. Applying patches
c. Maintaining Multiple Instances

• Oracle Apps Technical By Muthu


Application Architecture Components :

Desktop Tier :
Desktop Tier is client machines
accessing applications via
browser(HTML based Self service
applications) or Java Applet(Jinitiator)
for Form based interface.

Application Tier :
Application Tier also called as middle
tier consists of WebServer Forms,
Reports, Concurrent processing,
Discoverer and Admin Server.

Database Tier:
Database Tier contain Orale database
server which store all your application
data.

• Oracle Apps Technical By Muthu


Oracle Application 11i File system :

Application Top Directory ( physical directory)


environment variable referred as APPL_TOP

Fnd
Admin AU AR GL
11.5.0

bin
Help reports sql
Admin forms
11.5.0

bin
forms Help reports sql
Admin

US
*.sql files
driver, import, odf sql US
*.rdf files
directories
*.fmx files

Pl/sql procedure,
package definition
files *.pls

• Oracle Apps Technical By Muthu


Oracle Application 11i File system Count.. :

GL_TOP: (APPL_TOP/GL/11.5.0) is one of the Module Directory of Oracle Applications.It consists of a


release directory (i.e. 11.5.0) under which Forms, Reports, BIN, LIB, SQL,etc.,
GL_TOP/11.5.0/Forms/US is forms directory to store all .FMX (Compiled) Form files of a specific module.
GL_TOP/11.5.0/Reports/US is a reports directory to capture all the .RDF (Compiled) Report files of a pecific
module directory.
US is a language specific directory.
GL_TOP/11.5.0/BIN will capture the C, C++, PRO*C, SQL *LOADER etc., files.
GL_TOP/11.5.0/LIB will capture all .OBJ files of C, C++ or JAVA CLASS files.
GL_TOP/11.5.0/Message will capture all .MSB message body files.
GL_TOP/11.5.0/LOG will capture all .LOG files.
GL_TOP/11.5.0/OUT will capture all .OUT files.
GL_TOP/11.5.0/SQL will capture all .SQL script files.
GL_TOP/11.5.0/HTML will capture all .HTML, .HTM web files.
GL_TOP/11.5.0/FND is a Special Directory known as Application Object Library (AOL)directory. It is used to
capture all Modules Application Executable Files.
GL_TOP/11.5.0/AU is an Application Utility (AU) Directory. It consists of a applicationrelease Sub‐Directory,
which consists of Forms and Resource directories. It is used tostore all .FMB and .PLL and PL/SQL Library
files.
GL_TOP/11.5.0/AU/11.5.0/Forms/US will capture .FMB Form files of all Modules. Oracle Applications.
• Oracle Apps Technical By Muthu
Application Object Library :

This has got the two responsibilities.


 System Administrator:
Which has got the functions like
1. users
2. Responsibilities
3. Reports development / customization
4. Procedure
5. Printer Installation
6. Admin activities - Server Monitoring, Request submission

 Application Developer:
Which has got the functions like
1. Forms
2. Menus
3. Messages
4. Flexi fields
5. Profiles
• Oracle Apps Technical By Muthu
Application Object Library Definitions :

Responsibility: It is a role authorized to access specific Forms and Programs of a particular Module. A
responsibility is a collection of Menus, Request Groups and Data Groups. Menus and Data Groups are
mandatory to a responsibility.
Menu: A menu is a collection of Sub‐Menus and Functions.
Request Group (RG): It is a collection of concurrent Programs. It is used to request programs from the
responsibility.
Data Group (DG): It is a collection of Modules used to integrate one or more Modules for cross application
transfer of data, cross application reporting and cross application reference. If we want to get data from other
Modules we need to define those modules in the Data Group.
Functions: A function is a part of an application’s functionality that is registered under a unique name for the
purpose of assigning it to, or excluding it from, a menu (and by extension, a responsibility).

These are two types of functions


 Form Functions: are used to secure Forms from the responsibilities.
 Non‐Form Functions: are used to secure Layout Items with in the Form.

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Defining an Applications User :

 Select the Responsibility called “System Administrator


 Open the user Form - Security – User- Define and enter

 Enter Username and password and attach Responsibility


 Save the Transaction.
 Once user is created we can’t delete
User Information will be stored in “FND_USER” table
User Responsibilities stored in “FND_USER_RESP_GROUPS” table
• Oracle Apps Technical By Muthu
Application Object Library Count.. :

Defining Responsibility :

 Connect to Oracle Application


 Go to Application Administrator.
 Go to Security then Responsibility then Define
 Enter the Data in the opened Window.

Information of Responsibility is stored in “FND_RESPONSIBILITY” table.


• Oracle Apps Technical By Muthu
Application Object Library Count.. :

Pre‐Defined Responsibilities :

S.No Module Responsibility

1 Application Object library Application Developer


2 System Administration System Administrator
3 Oracle General Ledger General Ledger Super User
4 Oracle Payables Payables Payables Manager
5 Oracle Receivables Receivables Manager
6 Order management Order management Super User
7 Oracle purchasing Oracle purchasing Super User

• Oracle Apps Technical By Muthu


Define Data Group :
 Select System Administrator Responsibility.
 Select the navigation SecurityOracleData Group
 Enter the Information in the opened window

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Table Registration with Application Interface (API) :


We can also register the Table using Application DBA Data Definitions (AD_DD) Package from the Back End.
You can also use the AD_DD API to delete the registrations of tables and columns from Oracle Application
Object Library tables. To alter a registration you should first delete the registration, and then reregister the table
or column. You should delete the column registration first, then the table registration.
Registering the table by using AD_DD Package :
Syntax:

Exec AD_DD.REGISTER_TABLE(p_appl_short_name,
p_tab_name, --table name
p_tab_type,
p_next_extent, -- Enter the initial and next extent sizes in kilobytes for yourtable. You must enter
values greater than 0.
p_pct_free,--free storage.
p_pct_used);-- used storage.

Example :
EXEC AD_DD.REGISTER_TABLE('WIP','WIP_ITEM','T',8,10,90);
COMMIT;
• Oracle Apps Technical By Muthu
Application Object Library Count.. :

Registering the Columns:


Syntax:
EXEC AD_DD.REGISTER_COLUMN (p_appl_short_name,
p_tab_name,
p_col_name,
p_col_seq,
p_col_type,
p_col_width,
p_nullable,
p_translate,
p_precision default null,
p_scale default null);

Example:
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','ITEM',1,'VARCHAR2',15,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','ITEMCOST',3,'NUMBER',8,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','CATEGORYK',4,'VARCHAR2',100,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','CREATION_DATE',5,'DATE',11,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','CREATED_BY',6,'NUMBER',7,'N','Y');
EXEC AD_DD.REGISTER_COLUMN('WIP','WIP_ITEM','LAST_UPDATE_DATE',7,'DATE',11,'N','Y');
EXEC D_DD.REGISTER_COLUMN('WIP','WIP_ITEM','LAST_UPDATED_BY',8,'NUMBER',7,'N','Y');

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

PROFILES :
Profiles are used to determine the behavior of Oracle Application Forms and Programs. The registration
information of all the users will be stored in FND_PROFILES_OPTION table. The dictionary of all the Profile
Options is maintained by AOL module. To set the values of the Profile Options, we use System Administrator
Module. Profile Options are used to pass the values to the variables declared in our forms and programs, by
which we can determine the behavior of Oracle Application Forms.
The profiles are of two types those are given below.
 System Profile
 User Profile
System Profile :
navigation for user profile : Profile  Personal

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

User Profile :
SITE LEVEL: Site is a collection of Modules. A Module is a collection of Responsibilities.Responsibility is
assigned to different users.If we set the Profile Options at Site level then these Profile Options get affected to all
the Forms and Programs of all the Modules, which are accessed from our site.
APPLICATION LEVEL: If we set the Profile Options at this level then the Profile Options get affected to all the
forms of a particular module.
RESPONSIBILITY LEVEL: If we set the Profile Options at this level then the Profile Options get affected to all the
Forms and Programs, which are assigned to a particular Responsibility.
USER LEVEL: When we set the Profile Options at this level then the Profile Options get affected to all the Forms
and Programs of all the Responsibilities, which are assigned to a particular User.
Important Profiles:
GL Set of Books Name: It is one of the GL application profile, set of books is nothing but collection of currency,
calendar, and chart of accounts. We will assign this profile values at responsibility level based on this currency
and calendar and accounts will get change.
MO: Operating Unit: This will be used to setup user operating unit name which operating unit user is working,
when ever user login to the system by using this profile. System will understand the user operating unit (Branch
Name)
HR: Business Group: This profile will give the user business group which group user is working.
HR: User_Type: This profile will give the user employment type which user is Permanent, Contract or consultant
will be identified.

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

USER_ID
USER_NAME
RESP_NAME
RESP_ID
RESP_APPL_ID

Getting Profile values from Back end :

using the following API’s we can get


 Get - Procedure
 Value – Function
Synatax :
FND_PROFILE.GET(Profilename, Local Variable);
Local Variable:= FND_PROFILE.VALUE(PROFILE Name);
Example :
FND_PROFILE.GET(‘USER_NAME’);
:P_SOBNAME := FND_PROFILE.VALUE(‘GL:SET_OF_BOOKS_NAME’);

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

FLEXFIELDS :
A flexfield is a field made up of sub–fields, or segments. There are two types of flexfields: key flexfields and
descriptive flexfields. A key flexfield appears on your form as a normal text field with an appropriate prompt. A
descriptive flexfield appears on your form as a two–character–wide text field with square brackets [ ] as its
prompt. Flex Fields are used to capture the Business Information of the Organization. The organization can use
the Flex Fields based on their Business Structure.
Key Flexfields:
Key Flexfeilds are used to store the key information of data in segments. We can call these segments as
intelligent keys. For KFF we define flexfeild qualifiers and segment qualifiers. The data of this key flexfeilds will
store in segment cols in a table.
Some of the KFF’s :
S.No Type of Flex Field Module Table
1 Accounting FF GL GL_CODE_COMBINATION
2 Job FF HR PER_JOB_DEFINITIONS
3 Position FF HR PER_POSITION
4 Grade FF HR PER_GRADE
5 Location FF FA FA_LOCATION
6 Asset FF FA FA_KEYWORDS
7 Sales Tax FF AR AR_SALEX_TAX
8 Territory FF AR AR_TERRITORY
9 System Items FF INV MTL_SYSTEM_ITEM
10 Item Category FF INV MTL_ITEM_CATEGORY

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Descriptive Flex fields:


The descriptive flexfeilds are used to add the additional information to the existing data. These DFF values will
store in attributes column in table. There is no need to define Flexfeild qualifiers and Segment qualifiers in DFF.
DFF have two different types of Segments :
 Global DFF
 Context Sensitive DFF

How to know that a form is having DFF?


Ans: Go to Help in Menu Bar
Diagnostic
Examine
Enter Oracle Password : APPS
Block Name: $Descriptive Flex fields (Change the field like this))
Field: PPRS FLEX
If the Form having the button with square brackets [ ] then we can say that the form is having DFF. A form can
have multiple DFF but a Block can have only one
DFF. To reference a DFF use Block_Name.DFF_Name.

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Default Types :
When we are hiding the parameter in SRS windows user can’t enter the values that time we can pass values
internally by using defaults types.
 Constant:
If we want to pass constant values as default then we will select default type constant and we will
specify the values in default value field.
 Current Date:
System Date.
 Current Time:
System Time
 Profile:
By using the profile option we can pass user profile values as default.
 SQL Statement:
When we want to pass select statement to rest as default values that time we will select default
types as SQL statement and write the select statement in the default values filed. Select statement
should not return more then one value.
 Segment:
When we wanted to pass previous parameter values as default to the next parameter then we
will use segment, select default type as segment give the parameter name in the default values field.
• Oracle Apps Technical By Muthu
Application Object Library Count.. :

Values Sets :
Valueset is nothing but the list of values with validation. We will be using the valuesets whenever the concurrent
programs have parameters and while defining the flex fields we attach this flex fields. The given below are the
types of valuesets.
 None
 Independent
 Dependent
 Table
 Translatable Dependent
 Translatable Independent
 Special and
 Pair.
None: It is used whenever we want to apply some format condition like max.length,numbers, and capital letters
so on. There wont be any list of values in none valueset.
Independent: This valueset is used whenever we want to show some hard coded values to the end user that
time we will create.
Navigation : Application ValidationSet
After that go with the Navigation :ApplicationValidationValues then we will get the screen.

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Dependent:
It is a list of values, which are depending on the Independent valueset. Tocreate dependent valueset go with
same process we mentioned above and set the validation type as Dependent and click on the Edit Information
button then we will get the Dependent valueset information screen enter the mandatory fields like independent
valueset name which we created earlier.
Table:
It will be used whenever we want to show the list of values from the table column name. When we select this
option then the Edit Information in this window will become active. When we go with that Edit Information button
we get the Validation information window. That is shown below.
Translatable Dependent & Translatable Independent:
These two valuesets are used whenever you are working with multi-lingual implementation.
Special:
Special valueset is used for display flexfields data as parameter values.
Pair:
This valueset is used to display parameters in pairs.
EX: Date from & Date To…etc. (To specify a range in pair we use such type of valuesets).
$FLEX$:
$FLEX$ is used to hold the data which was selected by the previous valueset for that we have to define another
table valueset with different name as per the above process.
• Oracle Apps Technical By Muthu
Application Object Library Count.. :

User Exits :
User Exits are 3GL programs used to transfer the control from the report builder to Oracle Applications or any and
it will perform some actions and return to the report builder. There are five types of user exits those are.

 FND SRWINIT
 FND SRWEXIT
 FND FORMAT_CURRENCY
 FND FLEXSQL
 FND FLEXIDVAL

FND SRWINIT: Used to write in before report trigger. It is used to fetch the concurrent request information and
also used to set the profile options.

Example :
BEGIN
SRW.USER_EXIT('FND SRWINIT');
END;

FND SRWEXIT: We will write this in after report trigger. Used to free the memory which has been allocated by the
other user exits

Example:
BEGIN
SRW.USER_EXIT('FND SRWEXIT');
END;
• Oracle Apps Technical By Muthu
Application Object Library Count.. :

FND FORMAT_CURRENCY: This is used to convert amounts or currency from one currency to other currency
values and also used to display currency amounts in formats.

Example:
SRW.USER_EXIT(‘FND FORMAT_CURRENCY’,
Code = ‘currency_code’,
Display_width=’15’,
Amount = ‘:cf_feb’,
Display = ‘:cd_feb’);
Return (:cd_feb);

FND FLEXSQL: This is used to get the data from flex fields. We will use in formula columns.

FND FLEXIDVAL: This is used to get the data from flex fields. We will use them in formula columns.

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

MULTI ORGANIZATION (MULTIORG):


Multiorg is nothing but under single oracle application implementation maintaining multiple organizations and
multiple set of books. We will have Multiorg tables (table which is ending with _ALL). When ever we enter the
data, which will be stored in the Multiorg tables only.

Business Group - Top level org where employee will be define

Set of Books - Currency, Calendar, Chart of accounts – Financial Entities

Legal Entity - Where company is going to create Income Tax Documents to


Government

Operating Unit - Where Company will procure, sell, pay, receive, stock

Inventory Organization - Where company will store the product

Sub inventories

Stock Locations

Items - Under the Inventory it will come

• Oracle Apps Technical By Muthu


Application Object Library Count.. :

Business Group: It represents the highest level in the organization structure, it can be a major division or
operating company or consolidated enterprises, Business Group secure human recourses information. Example:
When we request list of employees assigned to the business group where organization is a part
Set Of Books: It is a financial reporting entity it uses particular functional currency, chart of accounts and
accounting calendar, Oracle General Ledger application secures this transaction information like, journal entries,
balances, we will use the Set of Books to capture these financial information.
Legal Entity: it is a legal company for which we prepare physical or tax reports and we will submit company
flanking sheet to Government.
Operating Unit: It is an organization where company is going to do the main business operations like sales,
purchasing payments, receiving and son, it may be a sales office or division or department, operating unit
information will be secured by following applications like
PO, AP, AR, OM, CM
Inventory Organization: It is an organization for which we will track Inventory transactions and balances,
Inventory Organization means warehouse, distribution center, manufacturing plants
- Bills of Material
-Work in process
- Enginering
-MRP and so on
Again we will define Inventory Organization as 2 levels
1) sub Inventory
2) Stock location – inside of this location we will keep the items.
• Oracle Apps Technical By Muthu
Reports in Oracle Applications :

Registration Steps :
1.Develop the Report according client requirement.
2.Once development Completed we need to move execution file to Corresponding server path.
3.Go to System Administrator Responsibility and Create Executable.
Navigation : ConcurrentProgram Executable
Executable: Set the executable name as we like here we
entered the name as per the program.

Short Name: Set the short name of the executable as related


to the executable because we have to remember them.

Application: Select the Appropriate Application from the list of


applications here we selected the Oracle Receivables
because we saved our report (valueset.RDF)
in the AR (Receivables) folder only.

Description: This field is not a mandatory field if we want to describe the concurrent program executable we
use this field.

Execution Method: There are eleven execution methods we can choose what ever we want as per the
requirements.

Execution file name: Enter execution file name without extension.


• Oracle Apps Technical By Muthu
Reports in Oracle Applications Count.. :

4.Once Executable created then we need to Concurrent program. and save executable short name.
Navigation : ConcurrentProgramDefine

Program: Enter the Program name as we


like it user defined program.

Short Name: The short name is also like


the short name in the executable form.
.
Application Name: Select the application
name as Oracle Receivables.

Description: This field is not a mandatory


field if we want to describe the concurrent
program we use this field.

Executable:
Name: Set the executable name as the
short name of the executable which we give
in the previous Executable form.

Method: when we enter the executable name there in the name field it was automatically

• Oracle Apps Technical By Muthu


Reports in Oracle Applications Count.. :

Parameters (Button): If there are any parameters for our report then we go with the parameters button. We get
the window called parameters when we go with the button.
Program and Application will come automatically.

Seq : we need to enter sequence of our parameter.

Parameter : Enter name of parameter,it is user defined one.

Value Set : select value set name, which has been created.

default type : if we are using any default types then we can


choose required one.

Token : this one predefined functionality, this can provide


mapping between oracle report parameters to concurrent
program parameters. we need to enter here bind variable
name.

Once completed we want to save the form and we need to


attach this concurrent program to request group.

• Oracle Apps Technical By Muthu


Reports in Oracle Applications Count.. :

Attaching Concurrent program to Request Group :


Navigation :Security Responsibility Request.

Group : select the Specified Request Group, it is available


as list of value.

Application : Enter Name of Application here, means for


which application we are going to submit our program.

Code : Enter User defined Unique code.

Request :

Type : Enter specified type Request group.

Name : Select our concurrent program here.

Applications: it will come Automatically whenever we have


entered our concurrent program.

once all operations completed and save the form then


switch to Corresponding Responsibility.

• Oracle Apps Technical By Muthu


Reports in Oracle Applications Count.. :

Submit Concurrent Program :


Navigation : Menu View Requests

click Submit
New Request Button

Here choose ur Concurrent Program and enter Required parameters. and click submit button. once ur
program submitted and completed then u will get ur out put of ur report.

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications :

INTERFACES:
It is nothing but a program; it will be used to transfer the data from flat file to data base table or from data base
table to flat file. Two types of interfaces given below.
 Outbound Interface
 Inbound Interface
Outbound Interface: it will be used to transfer the data from oracle apps base table to legacy system flat file. We
will develop a concurrent program, which is pl/sql procedure. Inside of that we will use UTL_FILE package to
generate the flat file.
UTL_FILE: it is one of the pl/sql package, which will be used to transfer the data fromoracle data base table to flat
files or from flat files to oracle data base tables. But we will use sql loader to transfer data from flat file to data
base tables.
By using following functions we will generate flat file :
 Declare the file pointer to find out file location : UTL_FILE.FILE_TYPE;\

 To open or create file : UTL_FILE.FOPEN(‘PATH’,’FILENAME’,’W’);

 To transfer data into file : UTL_FILE.PUT_LINE(FILE POINTER, COLUMN NAME);

 To close file : UTL_FILE.FCLOSE(FILE POINTER);

Query to find utl_file path : SELECT VALUE FROM v$parameter WHERE NAME LIKE '%utl%‘;

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications Count.. :

UTL_FILE EXCEPTIONS:

 UTL_FILE.INVALID_OPERATION
 UTL_FILE.INVALID_PATH
 UTL_FILE.INVALID_MODE
 UTL_FILE.INVALID_FILEHANDLE
 UTL_FILE.READ_ERROR
 UTL_FILE.INTERNAL_ERROR

Steps to Develop OUT BOUND Interface :


 Develop the pl/sql program.
 Define the cursor to get the data from the data base tables.
 Open the cursor and open the file by using UTL_FILE package.
 Transfer the data from cursor variable into flat files by using UTL_FILE.
 Close the file by using UTL_FILE package.
 Register the program as concurrent program.
 This program is scheduled at SRS window.

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications Count.. :

CREATE OR REPLACE PROCEDURE xx_inventoryout( errbuf OUT VARCHAR2


Sample Program : ,retcode OUT VARCHAR2)
AS
CURSOR cur_inv IS
SELECT inventory_item_id
,organization_id
,segment1
,description
FROM mtl_system_items_b;

xx_outpointer UTL_FILE.file_type;
BEGIN
xx_outpointer := UTL_FILE.fopen('c:\temp', 'inventoryflat.txt',w');
-- To get the path:
-- Select value from V$parameter where name like ‘utl_file_dir’;
FOR c IN cur_inv
LOOP
UTL_FILE.put_line(xx_outpointer
, c.inventory_item_id
|| '-'
|| c.organization_id
|| '-'
|| c.segment1
|| '-'
|| c.description
);
END LOOP;
UTL_FILE.fclose(xx_outpointer);
EXCEPTION
WHEN OTHERS
THEN
fnd_file.put_line(fnd_file.LOG, 'error while generating flat file');
END xx_inventoryout;

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications Count.. :

Inbound interface :
it will be used to upload the data from legacy system flat file to oracle apps base table. For this we will use SQL
LOADER program and pl/sql program.

Inbound can be performed in the following steps :

 we will get MD50 or flat file from the client.

 according to flat file we will develop Staging or temporary tables structure.

 then we can import the data from flat file to staging table using sql* loader.

 once data is staging table then we can validate through one package and import into interface
tables.

 then after words we can submit standard concurrent program to move the data from interface
tables to base tables.

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications Count.. :

Flat file

SQL loader

Bad file,discard file

staging table

Custom package

staging error table

Interface tables

Standard Concurrent program

standard interface table

Base Tables

• Oracle Apps Technical By Muthu


Interfaces in Oracle Applications Count.. :

SQL * Loader: - SQL * Loader is one of the oracle tool it will be used to Transfer the data from flat files to oracle
database tables.
Main
Legacy System Frames
…etc Oracle Apps
Flat file

.CSV
SQL *Loader
.DAT
.TXT

Flat File (or) Data File: - It contains the data in specific format which has generated by the legacy program.
The extension of flat file will be either .txt or .dat or .csv (Comma repeated view)
Control File: - Control file is SQL * Loader program it will be having data file name table names, and
columns mappings and we execute this control file SQL * Loader will start the data reading from file. Insert
into oracle database tables extension of control file is .CTL
Bad file: - After execution of control file Data processing will happen from flat file to table. During this process
if any error occurs like bad format or any internal errors, these records will be inserted into bad file, extension
of bad file is ‘.BAD’
Discard File: - It contains the rejected records which are rejected by control file. Control file will rejects the
records if records is not satisfying the condition, which we have mentioned in control file the extension of
discards file is ‘.DIS’
Log File: - It contains complete log into like successfully records count bad file, discard file count and time
taken to complete the process. If any error occurs, those error messages will be displayed in the log file.
Extension of log file is ‘.LOG’
• Oracle Apps Technical By Muthu
Interfaces in Oracle Applications Count.. :

Control File Syntax:-


Load data
Infile ‘file path’
Insert into table ‘<table name>’
Fields terminated by ‘,’ optionally enclosed by ‘”’
Trailing null cols
(
Column1,
Column2,
Column3,
..)

We will have three types of uploading methods :


Insert: - When we are using insert mode, table should be empty, new data will be insert into the table.
Append: - This Mode will add the new data to the existing data which is available in the table.
Truncate: - This mode will delete the data from table and insert the new data into database table.
Replace : - This method will replaces all data from table and insert the new data into database table.

SQL Loader Paths: - (i) Direct Path – System will disable constraints
(ii) Conventional Path – Default insert statement.
Direct Path: - System will disable all contains and insert the data directly into the table, direct path will be faster than the
conventional path, if we have max records than we will use the direct method.

Conventional Path: - Default path, it will check all table and column constraints if data is satisfied constantly then only data will
insert. It is just like insert statement.
• Oracle Apps Technical By Muthu
Interfaces in Oracle Applications Count.. :

Steps to Register SQL * Loader :

 Develop the control file (.ctl)


 Develop the Data file (.txt or .csv or .data)
 Move this files in the bin folder (\po\11.5.0\bin\.ctl)
 Create executable with executable method = SQL * Loader
 We will create concurrent program and we will attach – Executable, Parameter, incompatibles
 We will create request group and concurrent program to request group.
 We will create responsibility and we will attach to request group.
 Responsibility will be attached to user and user will submit the request in SRS.

• Oracle Apps Technical By Muthu


API’S to register concurrent program in back end :

The scripts in this article can be used to:


 Register the executable and Program
 Attach Concurrent program to a Request Group
 Submit Concurrent program

 Registering the Executable from back end : FND_PROGRAM.executable


 Registering the Concurrent program from back end : FND_PROGRAM.register
 Adding Parameter to Conncurrent Program : FND_PROGRAM.parameter
 Attaching the concurrent program to the request group :FND_PROGRAM.add_to_group
Thank so much for ur time

• Oracle Apps Technical By Muthu

You might also like