Learn Web ADI: Web Applications Desktop Integrator

Learn Web ADI: Web Applications Desktop Integrator

Learn Web ADI: How to Define a Web Applications Desktop Integrator

This guide demonstrates step-by-step process to define a custom Web ADI integrator that uploads data to staging tables and returns detailed error messages for failed rows.

Oracle E-Business Suite has a powerful desktop integration tool known as Oracle Web Applications Desktop Integrator (Web ADI). It provides seamless integration with desktop tools like Excel, Word, and Project, enabling data upload/download using familiar office applications.

βœ… Step 1. Prerequisites of Web Applications Desktop Integrator

Before creating the custom integrator, ensure you have Prepared Staging Table, Sequence, and Wrapper Procedure:

  • A staging table to temporarily hold uploaded data
  • A sequence to uniquely identify uploaded records
  • A wrapper PL/SQL procedure to validate and insert data, returning error messages as needed

Benefits:

  • Embed business validations
  • Return error messages per row
  • Ensure controlled data staging before final processing

πŸ‘‰ See Appendix A at the bottom for sample scripts.

βš™οΈ Step 1.1. Microsoft Excel and Word Configuration for Web ADI Integration

To ensure smooth integration, configure Excel and Word using the following settings:

  1. Macro Settings of Web Applications Desktop Integrator
  2. Developer Macro Settings
  3. Protected View
  4. Internet Explorer Configuration Requirements

🧩 Step 1.1.1. Macro Settings of Web Applications Desktop Integrator

  • Enable profile: BNE Enable Digital Signature = Yes
  • In Excel/Word: Disable all macros except digitally signed macros
  • Path: (File β†’ More..) Options β†’ Trust Center β†’ Trust Center Setting… β†’ Macro Settings
  • Excel/Word: Disable all macros with notification
  • Path: Options β†’ Trust Center β†’ Trust Center Settings… β†’ Macro Settings
trust center Settings
Trust Center Setting Macro Setting Oracle Web Adi

πŸ§ͺ Step 1.1.2. Developer Macro Settings

  • Set the following profile options:
    • BNE: Enable OOXML Standard = Yes
    • FRM: Enable OOXML Standard = Yes
profile FRM BNE: frm enable ooxml standard

Error if not set:

  • Excel: Run-time error 1004: Method ‘VBProject’ of object ‘_Workbook’ failed.
  • Word: Run-time error 6068: Programmatic access to Visual Basic Project is not trusted.

πŸ›‘οΈ Step 1.1.3. Protected View

  • Add Excel download folder to Trusted Locations
  • Path: Options β†’ Trust Center β†’ Trust Center Settings β†’ Trusted Locations
  • Uncheck Enable Protected View for files located in potentially unsafe locations
  • Path: Options β†’ Trust Center β†’ Trust Center Settings β†’ Protected View

🌐 Step 1.1.4. Internet Explorer Configuration Requirements

  • Enable File download
  • Path: Tools β†’ Internet Options β†’ Security (Tab) β†’ Custom Level β†’ Downloads
  • Enable: Allow Status bar updates via script
  • Path: Tools β†’ Internet Options β†’ Security (Tab) β†’ Custom Level β†’ Scripting
  • Only for Web ADI version below 11i.BNE.D
  • Enable or Prompt: Initialize and script Active X controls not marked as safe

🧩 Step 2. Create Web Applications Desktop Integrator

  1. Log into EBS with Desktop Integration Manager responsibility
  2. Navigate to Create Integrator
  3. Provide:
    • Integrator Name (user-friendly)
    • Internal Name (must be unique)
    • Do not check Reporting Integrator
  4. Assign the following security rule:
    • Desktop Integration – Create Document (BNE_ADI_CREATE_DOCUMENT)
  5. Click Next
create integrator oracle webadi

πŸ‘‰Don’t forget to enable “Display in Create Document Page” checkbox. If you don’t enable it you can’t see the integrator from create document page.

Step 3. Define Interface (Web Applications Desktop Integrator)

FieldValue
Interface NameUPLOAD_TAX_REG
Interface TypeXXAR_TAX_REG_UPLOAD
Application NameReceivables
Package NameXXAR_GET_CUST_ACCT_PKG
Procedure NameMAIN
API REturnsFND Message Code

βœ”οΈ Check Retrieve Error Information β€” enables row-level error display in Excel

Click Apply to save.

create integrator interface information oracle webadi
create integrator save interface information oracle webadi

Click Next to proceed.

Step 4. Configure Interface Attributes

You can:

  • Enable/Disable fields
  • Set default values
  • Add LOVs (List of Values)

πŸ”§ Define LOVs

  1. Click Create Component
  2. Provide parameter names and values
  3. Attach the component to relevant interface attributes
  4. Update interface fields with LOV component

Click Next to continue (skip Content creation here).

πŸ“€ Step 5. Define Uploader of Web Applications Desktop Integrator

  • Select From Template in Uploader LOV
  • Click Create
  • Default parameters will appear, editable as needed
  • Click Next and Submit the integrator
create integrator create uploader oracle webadi
create integrator uploader parameters oracle webadi

Press “Submit” to save the Integrator 

🧾 Step 6. Define Layout of Web Applications Desktop Integrator

  1. Go to: Desktop Integration β†’ Define Layout
  2. Select your integrator and click Define Layout
  3. Create a new layout and configure:
    • Layout Name
    • Header columns
    • Field positioning (Context β†’ Line)
    • Column width/order
  4. Click Apply
Define Layout of Web Applications Desktop Integrator

Select Integrator “UPLOAD_TAX_REG” and press “Go”

Create Layout of Web Applications Desktop Integrator

Press “Create” to create the Layout

CreateLayout of Web Applications Desktop Integrator

Give Layout Name and Number of headers. Press “Next”

Define fieldscCreate Layout of Web Applications Desktop Integrator

Review fields and placement (whether Line or content) of the fields. Press “Next”

Save Layout of Web Applications Desktop Integrator

Layout will be created successfully.

πŸ§ͺ Step 7. Microsoft Excel Settings for Upload

Ensure the following Excel settings are in place before creating the document:

  • File β†’ Options β†’ Trust Center β†’ Trust Center Settings
    • βœ… Enable all macros
    • βœ… Trust access to VBA project object model
    • βœ… Enable data connections
    • βœ… Enable automatic workbook updates
    • βœ… Show message bar when ActiveX/macros blocked

πŸ“‘ Step 8. Create Document

  1. Go to: Desktop Integration Manager β†’ Create Document
  2. Select Integrator, Layout, Uploader
  3. Define number of rows
  4. Spreadsheet template downloads
  5. Fill data β†’ Click Add-Ins β†’ Oracle β†’ Upload

Select Integrator as “UPLOAD_TAX_REG” and press “Next”

create document oracle web adi

Select the Viewer as “Excel 2016” and press “Next”

Select Viewer create document oracle web adi

Press “Create Document”

review and create document oracle web adi

New excel file will be created. Save the excel sheet in local machine.

save document oracle web adi

πŸ“‘ Step 9. Fill Data and Upload Document

  1. Go to the Downloads folder and open “UPLOAD_TAX_REG.xlsm (Microsoft Excel Macro-Enabled Worksheet) file
  2. Populate the required data in the excel sheet
  3. Press “Upload” button in the toolbar
  4. Select Appropriate parameters in the new form
  5. Press “Upload” in the new form
Fill data and upload document oracle web adi

The system:

  1. Validates entries
  2. Executes wrapper procedure
  3. Displays per-row success or error message

After validating the records all the records will be processed and message to be shown in the “Upload Page”. Also execl sheet will be updated with status.

Upload data into Oracle apps using web adi

If any of the filled record has any issue appropriate error message will be shown in the form as well as in the excel sheet.

πŸ“ŽAppendix A

In the following bonus section you can will Oracle Web ADI Sample Pl/SQL Table and Packages. So you will be completely ready for Oracle Wen ADI (Web Applications Desktop Integrator).

Oracle web ADI Sample Pl/SQL Wrapper
-- 1. Staging Table
CREATE TABLE xxar_cust_acct_tmp (
   header_id           NUMBER GENERATED BY DEFAULT AS IDENTITY,
   account_number      VARCHAR2(30) NOT NULL,                     
   site_number         NUMBER NOT NULL,                                                      
   tax_registration_no VARCHAR2(50),                              
   process_status      VARCHAR2(10) DEFAULT 'N',                  
   error_message       VARCHAR2(2000),                            
   creation_date       DATE DEFAULT SYSDATE,                      
   last_updated_date   DATE DEFAULT SYSDATE, 
   CONSTRAINT pk_xxar_cust_acct_tmp PRIMARY KEY (header_id)
   );


-- 2. Wrapper Package Specification
CREATE OR REPLACE PACKAGE xxar_get_cust_acct_pkg
AS
   PROCEDURE main (
      p_acct_num      IN VARCHAR2,
      p_site_number   IN NUMBER,
      p_tax_reg_num   IN VARCHAR2,
      p_return_msg    OUT VARCHAR2
   );
END xxar_get_cust_acct_pkg;
-- 2. Wrapper Package Body
CREATE OR REPLACE PACKAGE BODY xxar_get_cust_acct_pkg
AS
   PROCEDURE main (
      p_acct_num      IN VARCHAR2,
      p_site_number   IN NUMBER,
      p_tax_reg_num   IN VARCHAR2,
      p_return_msg    OUT VARCHAR2
      )
   IS
   BEGIN
      IF p_tax_reg_num IS NULL
      THEN
         p_return_msg := 'Tax Registration Number should be non empty';
         RETURN;
      END IF;
      INSERT INTO xxar_cust_acct_tmp  
               (account_number, site_number, tax_registration_no)
         VALUES (p_acct_num, p_site_number, p_tax_reg_num);
      p_return_msg := 'SUCCESS';
   EXCEPTION
      WHEN OTHERS THEN
         p_return_msg := 'ERROR: ' || SQLERRM;
   END;
END xxar_get_cust_acct_pkg;
Oracle web ADI Sample Pl/SQL Wrapper

Conclusion

Defining a custom Web ADI integrator in Oracle EBS empowers business users with Excel-based data upload capabilities while maintaining control and validation at the backend. By configuring Excel, Word, Internet Options, and Oracle Apps profile settings properly, you ensure a smooth and secure integration process. With a well-prepared staging environment and robust wrapper procedures, this solution becomes both scalable and maintainableβ€”perfect for business-critical operations involving bulk data entry.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.