Friday, January 15, 2016

Registration of OAF Page in Apps



Run below script to import oa framework page:-

Run the below command from the path.

$JAVA_TOP/xx/oracle/apps/po/searchPRJ/webui



java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/oareport/oracle/apps/ak/webui/XMLIntegrationPG.xml -username APPS -password apps -dbconnection " (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=192.168.1.200)(PORT=1521)) (CONNECT_DATA= (SID=vis) ) )" -rootdir $JAVA_TOP


Run below script to see imported xml page in toad:-


BEGIN
jdr_utils.printDocument('/xx/oracle/apps/ak/ajml/server/common/MainPG');
END;


Run Below Commands On putty:-


cd $INST_TOP/admin/scripts
./adapcctl.sh stop
./adapcctl.sh start
./adoacorectl.sh stop
./adoacorectl.sh start


If You are migrating the objects from R12.1.3 to R12.2.4 You Will  face the below error.

Exception Details.
oracle.apps.fnd.framework.OAException: Could not load application module
'xxmsc.oracle.apps.wsm.TLS.server.AssemblyLotAM'.

The solution for this is, we need to follow below steps. In R12.2.4 the weblogic server was introduced. We need to create the custom jar files and it must be made available for WebLogic to pick it up.

Steps
=====

Go to the custom path(Java Top) where class file is present

run adcgnjar

Bounce the oacore

cd $ADMIN_SCRIPTS_HOME

./admanagedsrvctl.sh stop oacore_server1

./admanagedsrvctl.sh start oacore_server1

Bounce the apache

./adapcctl.sh stop


./adapcctl.sh start

create form function like below.
Field
Value
Function
XX_EMPLOYEE_DETAILS_PAGE
User Function Name
XX_EMPLOYEE_DETAILS_PAGE https://lh5.googleusercontent.com/C1OqM5YfpbRImT2HBDckQaXqucq1fYYQusW6w55sF3c8n1Zc-Et-uZI1OXQVUGQf0FUuYQPhyxgNoeX9u5pjYyxYTMbxy4GUfh8Hz_u9QvPh3jztgAY
Type
SSWA jsp function
HTML Call
OA.jsp?page=/oareport/oracle/apps/ak/webui/XMLIntegrationPG https://lh5.googleusercontent.com/C1OqM5YfpbRImT2HBDckQaXqucq1fYYQusW6w55sF3c8n1Zc-Et-uZI1OXQVUGQf0FUuYQPhyxgNoeX9u5pjYyxYTMbxy4GUfh8Hz_u9QvPh3jztgAY



 

Then Attach  function  menu.