Monday, February 27, 2012

Creating a Custom Application in Applications 11iCreating a Custom Application in Applications 11i

Custom Applications are required if you are creating new forms, reports, etc. This allows you to segregate your custom written files from the standard seeded functionality that Oracle Applications provide. Customizations can therefore be preserved when applying patches or upgrades to your environment.

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

cd $APPL_TOP

mkdir mz

mkdir mz/11.5.0

mkdir mz/11.5.0/admin

mkdir mz/11.5.0/admin/sql

mkdir mz/11.5.0/admin/odf

mkdir mz/11.5.0/sql

mkdir mz/11.5.0/bin

mkdir mz/11.5.0/reports

mkdir mz/11.5.0/reports/US

mkdir mz/11.5.0/forms

mkdir mz/11.5.0/forms/US

mkdir mz/11.5.0/$APPLLIB

mkdir mz/11.5.0/$APPLOUT

mkdir mz/11.5.0/$APPLLOG

2) Add the custom module into the environment

Apply ADX.E.1 and add the entry to topfile.txt as a standard product top entry (follow the existing model in the file)

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.

If using Forms Listener Servlet, you may also need to add $CUSTOM_TOP to formsservlet.ini in $APACHE_TOP/Jserv/etc

Click on "Copy Applications from" and pick Standard data Group, then add the following entry.

Application = MZ Custom

Oracle ID = APPS

Description = MZ Custom Application

8) Create custom request group

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-->responsbility-->Request

Group = MZ Request Group

Application = MZ Custom

Code = MZ

Description = MZ 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.