Saturday, March 15, 2014

How to compile Oracle Apps Forms (11i & R12)


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=.fmb userid=apps/ output_file=/forms/US/.fmx


How to compile Oracle Apps R12 Forms
===================================
1) Log into the forms tier.
2) Compile the form

Log into the forms tier.

a)- If you are using forms customizations (CUSTOM.pll) then run the command below to compile the form.
frmcmp_batch.sh module= userid=APPS/APPS 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= userid=APPS/APPS 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

No comments: