Thursday, August 22, 2019

Deploying OAF Pages Into Oracle Apps

how to move OAF project files into Apps Server, or OAF deployment, or Registering OAF pages in to Oracle Applications.


Here we are using both Putty and WINSCP , and let us see how to register OAF page into Apps Server.
Step 1: Move all Class files or Java files to respective JAVA_TOP.
If we are moving Java files then we need to compile Java files explicitly in the server using the command.
JAVAC <Java_file_name.java>
If we are moving Class files then the compilation is not required, i.e., instead of compilation we can move class files directly.
Note: The best approach is to move java files into server and compile, so that server side compatibility will be there.
applmgr$cd $JAVA_TOP

applmgr$pwd
/u01/oracle/VIS/fs2/EBSapps/comn/java/classes
applmgr$cd $JAVA_TOP
applmgr$pwd
/u01/oracle/VIS/fs2/EBSapps/comn/java/classes
Step 2: After finding where exactly the Java top is located move the files into java top, let us see how to move class files, here we are moving class files to the JAVA_TOP using the WinScp
The below image shows the moving process in WinScp.Drag the folder from left side and drop it on the linux/unix environment:


Select the folder drag and drop it to the server environment, after that one popup window will come and click on Copy button:



Import Script in OAF


In this lesson we are going to see the import script in OAF and how to use import script in oaf.
The importance of OAF import script is for redirection of pages into MDS directory.
Let us consider in our project we have one OAF page with the following page link generated.


OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/SearchPG
So for the above search page see the following import script which we need to perform in putty:
java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/oracle/apps/po/requisition/server/RegisterAM.xml -username APPS -password apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ebs.apps.com)(PORT=1521))(CONNECT_DATA=(SID=vis)))" -rootdir $JAVA_TOP ;



The above import script is for linux/unix environment but few students might practice in Windows server environment for them the following is the import script for window server environment:
import D:\Bharath\Softwares\p9879989_R12_GENERIC\jdevhome\jdev\myprojects\xxstirling\
oracle\apps\po\stirlingprj\webui\SearchPG.xml -rootdir ...(your win server apps rootdir)
..\jdevhome\jdev\myprojects -username apps -password apps -dbconnection
 "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=www.newtonapples.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=vis)))"
For each and every page we need to execute the import script in OAF, the below image shows import script execution process i.e., after writing the import script the following is the confirmation it shows in putty:
Whenever the import script is executed successfully i.e., if the importing file is properly executed then it shows a message called “Import Completed”.



In the next lesson we are going to see how to create function, creating menu, and attaching menu to Responsibility.

Creating Function,Menu, and Responsibility in Apps for OAF Pages

In this lesson we are going to see how to create a function,menu, and responsibility in Oracle Applications for OAF pages.
Creating Function in Apps:
Select Application Developer or System Administrator to navigate to Function, The below image shows the navigation in System Administrator.
After selection, then a Function window will get opens, give the Function Name and User Function Name





No comments:

Post a Comment

AME (Approval Management Engine)

AME (Approval Management Engine) : AME Stands for Oracle Approval Management Engine. AME is a self service web application that enables...