Insum - APEX Application Common Objects - Installation Instructions
Insum - APEX Application Common Objects - Installation Instructions
INSTALLATION INSTRUCTIONS
Insum
APEX Applications Common Objects
Author: Sylvain Martel
Creation Date: July 2, 2014
Last Updated: September 19, 2016
Document Ref: Insum EBS APEX Integration
Version: 1.2.2
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
Document Control
Change Record
3
Contents
Description
This document describes the required authentication scheme configuration for any APEX page or
application to be called from an Oracle E-Business Suite (EBS) function. This authentication scheme will
provide the following:
• Create a custom authentication for calls made by an EBS function
• Provide a seamless login integration between EBS and APEX allowing EBS users to access
APEX applications / pages without the need to reenter credentials
The connection between EBS and APEX differs depending of the EBS version. This document assumes
the instance is part of the R12 family (R12.0.4 to R12.1.3).
Note: The PL/SQL package and views have not been tested on EBS R12.2.x
This document will describe both methods and indicate which method applies to your application type.
Pre-Installation Steps
Requirements
q Have executed the installation of EBS common objects as described in document Insum - EBS
Objects for APEX - Installation Instructions
q Provide APEX developer user credentials for Application Builder
q Create an APEX application with the minimum required to save an application (Login and blank
HTML Page)
Installation Summary
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 1 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
The following steps are required for all application types
Define Application Items
In order set APEX in the same context as EBS, we need to save some connection values from the EBS
user who is calling the APEX applications. Create application items of scope Application.
Application Item
EBS_APPS_FRAMEWORK_AGENT
EBS_ICX_DATE_FORMAT_MASK
EBS_ICX_LANGUAGE
EBS_ICX_LIMIT_TIME
EBS_ICX_NUMERIC_CHARACTERS
EBS_ICX_SESSION_TIMEOUT
EBS_LOGIN_ID
EBS_ORG_ID
EBS_RESP_APPL_ID
EBS_RESP_APPL_SHORT_NAME
EBS_RESP_ID
EBS_RESP_NAME
EBS_SEC_GROUP_ID
EBS_SESSION_ID
EBS_USER_ID
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 2 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
q In the substitution section, enter the following items and assign the appropriate values:
Substitution String Substitution Value Comment
EBS_APPLICATION_NAME [Name of the EBS module – Example:
Name of the APEX application] Payables – Simple Invoices
EBS_MOBI_APPL_SHORT_NAME [Application Short Name of Used as a parameter when calling
the required responsibility] MO_GLOBAL.init API.
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 3 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
The following steps are required for applications accessed from EBS ONLY
An APEX application will use the EBS authentication to allow a user to access APEX.
q Make sure the custom authentication is the current one for the application (the word Current
shows up at the end of the authentication name)
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 4 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
Create a process in the Login Page (default page 101) to get EBS cookies, execute the authentication
and assign those values to APEX applications items.
q Create another before header process by following navigation Page Rendering > Before
Header > Processes > Create (right click to get to the context menu)
Ø Select the category of the process you wish to create: PL/SQL
Ø Name: Assign Static EBS Values
Ø Sequence: 20
Ø Process Point: On Load – Before Header
Ø Enter PL/SQL Page Process: Refer to Assign Static EBS Values - EBS.sql file in the SQL
subdirectory of the installation package.
Ø Click on Create Process button
q Deactivate the existing Login process by following navigation Page Processing
> Processing > Processes (double click on Login to Edit the process)
Ø In the Conditions section, select Condition Type Never
Ø Click on Apply Changes button
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 5 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
The Initialization PL/SQL Code attribute in the application properties would be executed each time a
page is about to be executed. This is the moment where the APEX application has to initialize the EBS
context.
q Log in APEX as developer
q Click on the Edit button of the application in the Application Builder pane.
q Clic on the Edit Application Properties button
q Click on the Security tab
q Scroll down to the Database Session section
q In the Initialization PL/SQL Code attribute, enter the following PL/SQL code: Refer to file
Initialization PLSQL Code - EBS.sql in the SQL subdirectory of the installation package for
code to insert.
q Click on Create Process button
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 6 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
The following steps are required for applications accessed directly ONLY
The custom authentication will use EBS credentials to validate a user access to an APEX application.
q Make sure the custom authentication is the current one for the application (the word Current
shows up at the end of the authentication name)
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 7 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
q In the substitution section, enter the following items and assign the appropriate values:
Substitution String Substitution Value Comment
EBS_MOBI_RESP_KEY [Responsibility Key of the Used as a parameter when calling
required responsibility the APPS_INITIALIZE API.
authorizing this application]
EBS_MOBI_APPL_SHORT_NAME [Application Short Name of Used as a parameter when calling
the required responsibility] MO_GLOBAL.init API.
q Edit the Clear Page(s) Cache process (Page Processing > Processes and double click on
Clear Page(s) Cache)
q Change the existing sequence for Clear Page(s) Cache from 30 to 100
Ø Change field Sequence to 100
Ø Click Apply Changes button to confirm
q Create a On Submit process by following navigation Page Processing > Processes
> Create (right click to get to the context menu)
Ø Select the category of the process you wish to create: PL/SQL
Ø Name: Assign Static EBS Values
Ø Sequence : 30
Ø Process Point : On Submit – After Computations and Validations
Ø Enter PL/SQL Page Process: Refer to file Assign Static EBS Values – Mobile.sql in the
SQL subdirectory of the installation package for code to insert.
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 8 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
The Initialization PL/SQL Code attribute in the application properties would be executed each time a
page is about to be executed. This is the moment where the APEX application has to initialize the EBS
context.
q Log in APEX as developer
q Click on the Edit button of the application in the Application Builder pane.
q Clic on the Edit Application Properties button
q Click on the Security tab
q Scroll down to the Database Session section
q In the Initialization PL/SQL Code attribute, enter the following PL/SQL code: Refer to file
Initialization PLSQL Code - Mobile.sql in the SQL subdirectory of the installation package
for code to insert.
q Click on Create Process button
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 9 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)
Installation Instructions Doc Ref: Insum EBS APEX Integration
September 19, 2016
Once you have created your APEX application, you need to define a function in EBS which will be used
by the EBS-APEX integration package to access your APEX extension.
The Use the System Administrator responsibility to create the form function.
Follow navigation: System Administrator > Application > Function
q Save function
End of document.
APEX Applications Common Objects Installation Instructions for APEX Applications Common Objects 10 of 10
File Ref: Insum - APEX Application Common Objects - Installation
Instructions.docx (v. 1.2.2)