Monday 8 February 2016

How to Compile a Form in Oracle EBS Enviroment

http://dbissues.blogspot.com/2016/02/how-to-compile-form-in-oracle-ebs.html


Source the APPS Enviroment and run the below command


Echo $FORMS_PATH

If not set then type,

Export FORMS_PATH=$FORMS_PATH:$AU_TOP/FORMS/US

Forms must have Read,wrtie and Execute Rights: 


chmod 777 RECEIPT.fmb "OR"

chmod -Rf 775 RECEIPT.fmb

Command

frmcmp_batch userid=APPS/APPS module=/apps/test/TEST/fs1/EBSapps/appl/au/12.0.0/forms/US/SSUE.fmb output_file=/apps/test/TEST/fs1/EBSapps/appl/ar/12.0.0/forms/US/SSUE.fmx module_type=form


------------------------------------------------------------------------


Example


Copy Source Forms in the below folder:
/apps/test/TEST/apps/apps_st/appl/au/12.0.0/forms/US


Compiled form should be placed in appropriate folder (i.e. ar)
/apps/test/TEST/apps/apps_st/appl/ar/12.0.0/forms/US

Login to apps os user by using putty

[test@test appl]$ pwd
/apps/test/TEST/apps/apps_st/appl
[test@test appl]$
[test@test appl]$ echo $AU_TOP

[test@test appl]$ ll *.eng
ls: *.eng: No such file or directory
[test@test appl]$
[test@test appl]$
[test@test appl]$ ll *.eng
ls: *.eng: No such file or directory
[test@test appl]$
[test@test appl]$
[test@test appl]$ ll *.env
-rw-r--r-- 1 test dba  1095 Jun  3 06:22 APPSTEST_test.env
-rw-r--r-- 1 test dba  1082 Mar 27 16:08 APPSPROD_db.env
-rwxrwxr-x 1 test dba  1096 Sep 11  2009 APPSTEST_test.env
-rw-r--r-- 1 test dba 16897 Jun  3 06:22 TEST_test.env
-rw-r--r-- 1 test dba 17044 Mar 27 16:08 PROD_db.env
-rwxrwxr-x 1 test dba 17102 Sep 11  2009 TEST_test.env
[test@test appl]$
[test@test appl]$ echo $AU_TOP

[test@test appl]$ . ./APPSTEST_test.env
[test@test appl]$
[test@test appl]$ echo $AU_TOP
/apps/test/TEST/apps/apps_st/appl/au/12.0.0
[test@test appl]$
[test@test appl]$

[test@test appl]$ cd $AU_TOP
[test@test 12.0.0]$ pwd
/apps/test/TEST/apps/apps_st/appl/au/12.0.0
[test@test 12.0.0]$
[test@test 12.0.0]$ cd forms/US/
[test@test US]$
[test@test US]$ ll H*
-rw-r--r-- 1 test dba 217088 Jul  7 18:29 HFSRECEIPT.fmb
[test@test US]$

[test@test US]$ ls –alrt

[test@test US]$ chmod 777 RECEIPT.fmb
[test@test US]$
[test@test US]$ ll H*
-rwxrwxrwx 1 test dba 217088 Jul  7 18:29 RECEIPT.fmb



[test@test appl]$ frmcmp_batch userid=APPS/APPS module=/apps/test/TEST/apps/apps_st/appl/au/12.0.0/forms/US/RECEIPT.fmb output_file=/apps/test/TEST/apps/apps_st/appl/ar/12.0.0/forms/US/RECEIPT.fmx module_type=form

No comments:

Post a Comment