Monday, July 11, 2011

How to compile Oracle Apps Forms 11i/R12

How to compile Oracle Apps 11i Forms
============================
Check whether the forms that you want to generate are not in use at the time
you are generating them. If they are in use when you generate the fmx files, 
the forms client session terminates.

1) Login to the Forms server node as applmgr and run
.env file to set the applications environment.

2) Change directory to $AU_TOP/forms/US.

3) Use the “f60gen” command to generate the fmx files for the fmb files.

4) Issue the following command

$ f60gen module=<formname>.fmb userid=apps/<apps_pwd> 
output_file=/forms/US/<formname>.fmx

How to compile Oracle Apps R12 Forms
=============================

1) Log into the forms tier.

2) Set the applications environment

3) Ensure that the $FORMS_PATH includes $AU_TOP/resource and
 $AU_TOP/resource/stub, for example

echo $FORMS_PATH

/u01/oracle/DEV/apps/apps_st/appl/au/12.0.0/resource:

/u01/oracle/DEV/apps/apps_st/appl/au/12.0.0/resource/stub

4) Compile the form

a)- If you are using forms customizations (CUSTOM.pll) then run
 the command below to compile the form.
 
frmcmp_batch.sh module=<path to fmb file> userid=APPS/APPS 
output_file=<full path to fmx output file>
module_type=form compile_all=special
 
For eg:-
frmcmp_batch.sh module=/u01/oracle/TEST/apps/apps_st/appl/au/
12.0.0/forms/US/XXX.fmb userid=APPS/APPS output_file=/u01/
oracle/TEST/apps/apps_st/appl/inv/12.0.0/forms/US/XXX.fmx
 module_type=form compile_all=special

b) If you are NOT using forms customizations, then run the 
command below to compile the form.

frmcmp_batch.sh module=<path to fmb file> userid=APPS/APPS
 output_file=<full path to fmx output file> module_type=form

For example..

frmcmp_batch.sh module=/u01/oracle/TEST/apps/apps_st/
appl/au/12.0.0/forms/US/XXX.fmb userid=APPS/APPS
 output_file=/u01/oracle/TEST/apps/apps_st/appl/inv/
12.0.0/forms/US/XXX.fmx module_type=form

How to compile Oracle Apps

No comments:

Post a Comment