Documente Academic
Documente Profesional
Documente Cultură
Pre-Requisites
Enable the Profile Option
Enable the Macros options for Excel sheet
Required Database Objects Creation
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Introduction:
There are basically two ways to enter data into Oracle: by typing it into a user interface (Java Form or Web Page) or by
taking a file and programmatically interfacing the data. Web ADI falls into the second category in that it takes an Excel
file and programmatically loads the data into Oracle. If you find it easier to enter data into Excel than Oracle forms, you
should look into using Web ADI.
Integrator
The integrator defines what data you will be uploading to Oracle. Each integrator serves a specific purpose and cannot
be used to enter other data.
Viewer
The viewer is the Microsoft program you will use to enter data into the template
Layout
The layout is how the data columns are organized on the template. You have two main sections to a template: a header
and lines. The header information applies to all the lines when the data is uploaded to Oracle.
Content
The content is a text file that you can import into your template. You can use this feature if you have an external system
that outputs text file and you want to import that into the template.
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Select Macro Settings -> Enable all macros and check the option Trust access to the VBA Project object model
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Database Objects Creation
Compile the below Custom table and Package in APPS schema
CREATE TABLE XXAA_APINV_IFACE_TBL
PACKAGE XXAA_APINV_IFACE_PKG
PROCEDURE XXAA_APINV_IFACE_LOAD_PRC
PROCEDURE XXAA_APINV_IFACE_IMPORT_PRC;
/
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Integrator
1. Create Integrator
Navigation : Desktop Integration Manager Responsibility-> Create Integrator
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
2. Create Interface
Interface Name : XXAA APINV Interface
Interface Type : API – Procedure
Package Name : XXAA_APINV_IFACE_PKG
Procedure/Funtion : XXAA_APINV_IFACE_LOAD_PRC
API Returns : FND Message Code
Click on Apply button
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
3. Create Content
Content Name : XXAA APINV Interface Content
Content Type : Text File
Number of columns :9
Apply
Rename the display names as per csv header columns for better under standing
And provide the content parameter (download parameter) as Web ADI: Download "Text File" Parameters
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
4. Create Uploader
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
5. Create Importer
Select importer type as PL/SQL API
Importer Name : XXAA_APINV_IFACE
Click on PL/SQL API Call plus button to add our custom procedure
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Layout
1. Create Layout
Navigation: Desktop Integration Responsibility Define Layout
Select the integrator Go Create button
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
2. Define Mapping
1. Define mapping
Navigation: Desktop Integration Responsibility -> Defining mapping-> select integrator-> go
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
3. Create Document
1. Create Document :- Test the document with sample data
Navigation: Desktop Integration Responsibility -> Create Document -> select integrator
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Enter the data and upload and verify the invoice number from application
Note: we have developed the sheet. Now it needs some cosmetic changes
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Changes
1. Change the Labels of fields
Navigation: Go to integrator-> Interface-> Enter the Integrator name and click on Go
Click on Next
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Click on the Update button and change Above Prompt then Save and Submit
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Provide the information under user hint text item as ‘*List–Text’ to give an idea user about what value should be entered
or select
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Do the same for other columns too then save and get the new document to see the changes
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Result
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Defining the Form Function for Integrator
Define the form function for integrator to run the custom ADI document from any responsibility
Function : XXAA_APINV_IFACE_FF
User Function Name : XXAA APINV Interface Integrator
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Form Parameters
bne:page=BneCreateDoc&bne:viewer=BNE:EXCEL2007&bne:reporting=N&bne:integrator=USER_NAME:
XXAA APINV Interface Integrator&bne:noreview=Yes
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Save it.
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Assign Function to Custom Menu
Go and add the function into the custom responsibility
Navigation-> Application Developer -> Application -> Menu
Search for your menu where you want to add this ADI
Menu : AP_NAVIGATE_GUI12
Prompt : XXAA APINV Interface Integrator
Function : XXAA APINV Interface Integrator
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Now you can navigate to your custom responsibility to see the ADI which you have assigned.
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Process the AP Invoice Custom Web ADI
1. Once you create document, it will populate the file data on the sheet
4. Once we click on upload button, it will pop up the upload page where we have to select ‘Automatically Submit
Import’ check box as we have added import procedure in importer rule. If it is checked then only it will call that import
program, otherwise it wont
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
5. If there is any error, then program will return error message and will rollback the transaction
6. After correcting the data, run again. And if there is no error, then program will insert all validated data into
oracle tables and call the import journal program
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
7. We can monitor the import program from spread sheet itself by clicking on monitor button
Click on the Monitor to check the request id
Nav : Add-Ins Oracle Monitor
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Search with Invoice number from payables responsibility
RAJU CHINTHAPATLA
Web ADI - Oracle Custom WEB ADI Setups and Process for AP Invoice Interface OracleApps88
Check the from the backend tables
RAJU CHINTHAPATLA