Professional Documents
Culture Documents
with
Oracles Public APIs
Finding, Understanding, Using, Tuning, and
Extending
Presentation Overview
Presentation Goal
By the end of this presentation, you should have a
better understanding of how you can find and use
public APIs to improve business processing at your
organization
Whats an API?
API stands for 'Application Programming Interface'
A software program which serves as an
intermediary or interface between two other
software programs or between a software
program and data
APIs are used in a very wide array of contexts with
todays technology and often mean slightly
different things in each.
Example
Interface two
systems
Custom applications
API Wizard
Great mysteries
The Voynich Manuscript
The Beale Ciphers
Who built Stonehenge and why?
Where do I find a list of Public APIs?
No single, complete source of API information
You have to employ a variety of approaches to find the public
APIs that you are looking for
Description
Oracle Integration
Repository
Oracle Documentation
docs.oracle.com
Web Search
Search terms:
Oracle API and what youre looking
for. For example, 'Oracle API
Receipts'
My Oracle Support
API Wizard
Description
Package.proced
ure
Most public APIs are package.procedures (rather than standalone procedures). There are some package.functions.
Standard input
parameters
Standard
output
parameters
Initializations
Flexfield
Support
Internal
identifiers
Owned by
'apps'
Description
p_object_versio
n_number
No status
parameter
No messages
parameter
Special
messages
Multiple messages
Generally written to fnd message buffer,
Must retrieve with fnd_msg_pub.get
Description
How to address
Failure to
make valid API
Call
ORA-0650 Wrong
number of types of
arguments
Validation
failure
Private APIs
"Risk comes from not knowing what you're
doing."
-Warren Buffett
When do private APIs come into play?
When there are business process you need to perform outside
of the forms and theres no public API but youve found a
private API. Should you use it? What are the risks?
Risks
Use of private APIs is not supported by Oracle
May not work as you expect
Benefits
Significantly better than direct table writes
Not really that difficult to fully vet and test
Conclusion
Oracle has invested heavily in exposing APIs to its
customers, which is evident by the big increase in public
APIs between R11 (1,500) and R12 (2,500)
Public APIs provide a safe and effective way to perform
Oracle EBS transactions much faster and more efficiently
than standard forms or custom programs
While it isnt always easy to find them, there are public
APIs for nearly every business process. With some
ingenuity and elbow grease you can find them and learn
how to use them
You can put them in wrappers for a more complete
business process and you can improve their performance
when needed
This is the 'right' (i.e. safe and supported) way to work
with your Oracle EBS data