Home » Oracle » Oracle Ebuisness Suite » How to define custom application in R12

How to define custom application in R12

I  was doing registration of custom application in R12 EBS env.So thought of sharing with here

Here are steps on How to define custom application in R12

1) Make the directory structure for your custom application files.

cd $APPL_TOP
mkdir techgo
mkdir techgo/12.0.0
mkdir techgo/12.0.0/admin
mkdir techgo/12.0.0/admin/sql
mkdir techgo/12.0.0/admin/odf
mkdir techgo/12.0.0/sql
mkdir techgo/12.0.0/bin
mkdir techgo/12.0.0/reports
mkdir techgo/12.0.0/reports/US
mkdir techgo/12.0.0/forms
mkdir techgo/12.0.0/forms/US
mkdir techgo/12.0.0/$APPLLIB
mkdir techgo/12.0.0/$APPLOUT
mkdir techgo/12.0.0/$APPLLOG

2) Add the custom module into the environment

Customised environment variables can be added to AutoConfig by using the filename specificed by s_custom_file, which is then called from the APPSORA.env file.

or we can customized adovars.env and add the custom env variables there

3) Create new tablespace for database objects

create tablespace techgo datafile ‘/u000/oracle/test/testdata/techgo.dbf’ size 10M default storage(initial 10k next 10k)

4) Create schema in database

create user techgo identified by techgo
default tablespace techgo
temporary tablespace temp
quota unlimited on techgo
quota unlimited on temp;
grant connect, resource to techgo;

5) Register your Oracle Schema.

Login to Applications with System Administrator responsibility
Navigate to Application–>Register
Application = techgo Custom
Short Name = techgo
Basepath = techgo_TOP
Description = techgo Custom Application

6) Register Oracle User

Naviate to Security–>Oracle–>Register
Database User Name = techgo
Password = techgo
Privilege = Enabled
Install Group = 0
Description = techgo Custom Application User

7) Add Application to a Data Group

Navigate to Security–>Oracle–>DataGroup
Data Group = techgoGroup
Description = techgo Custom Data Group
Click on “Copy Applications from” and pick Standard data Group, then add the following entry.
Application = techgo Custom
Oracle ID = APPS
Description = techgo Custom Application

8) Create custom request group

See also  ORA-03113: end-of-file on communication channel

This will act as a placeholder for any custom reports we wish to make available for the Custom Responsibility (which is defined at a later stage)
Navigate to Security–>responsibility–>Request
Group = techgo Request Group
Application = techgo Custom
Code = techgo
Description = techgo Custom Requests
We will not define any requests to add to the group at this stage, but you can add some now if required.

9) Create custom menu

This will act as a placeholder for any menu items we wish to make available for the Custom Responsibility (which is defined at a later stage) We will create two menus, one for Core Applications and one for Self Service.
Navigate to Application–>Menu
Menu = techgo_CUSTOM_MENU
User Menu Name = techgo Custom Application
Menu Type =
Description = techgo Custom Application Menu
Seq = 100
Prompt = View Requests
Submenu =
Function = View All Concurrent Requests
Description = View Requests

Seq = 110
Prompt = Run Requests
Submenu =
Function = Requests: Submit
Description = Submit Requests

Menu = techgo_CUSTOM_MENU_SSWA
User Menu Name = techgo Custom Application SSWA
Menu Type =
Description = techgo Custom Application Menu for SSWA
10) Create new responsibility. One for Core Applications and One for Self Service (SSWA)

Navigate to Security–>Responsibility–>Define
Responsibility Name = techgo Custom
Application = techgo Custom
Responsibility Key = techgoCUSTOM
Description = techgo Custom Responsibility
Available From = Oracle Applications
Data Group Name = techgoGroup
Data Group Application = techgo Custom
Menu = techgo Custom Application
Request Group Name = techgo Request Group

Responsibility Name = techgo Custom SSWA
Application = techgo Custom
Responsibility Key = techgoCUSTOMSSWA
Description = techgo Custom Responsibility SSWA
Available From = Oracle Self Service Web Applications
Data Group Name = techgoGroup
Data Group Application = techgo Custom
Menu = techgo Custom Application SSWA
Request Group Name = techgo Request Group

See also  Must Read Top 100 Hyperion Essbase Interview Questions

11) Add responsibility to user

Navigate to Security–>User–>Define
Add techgo Custom responsibility to users as required.

12) Create schema objects and forms 

You are now ready to create your database Objects, custom Reports, Forms, Packages, etc

Create the source code files in the techgo_TOP directory appropriate for the type of object. For example forms would be located in $techgo_TOP/forms/US or package source code in $techgo_TOP/admin/sql for example.

Database Objects, such as tables, indexes and sequences should be created in the techgo schema, then you need to

a) Grant all privilege from each custom data object to the APPS schema.

For example : logged in as techgo user
grant all privileges on myTable to apps;

b) Create a synonym in APPS for each custom data object

For example : logged in as APPS user
create synonym myTable for techgo.myTable;

Other database objects, such as views and packages should be created directly in the APPS schema.

13. Once you add custom forms, then please add the custom forms path in $INST_TOP/ora/10.1.2/forms/server/default.env

This complete the setup of registering custom application in R12

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top