-----Google Analytics Code Start----> <-----Google Analytics Code Close---->
|Receive Email for New Articles|
|Call OA Framework Page from Oracle Forms passing Parameters||| Print ||
|Written by Anil Passi|
|Friday, 27 July 2007|
In order to find out how this can be done, lets have a look at how an Oracle standard screen makes a call to OA Framework page.
You want to call an OA Framework screen from Oracle Form,using fnd_function.execute, passing some parameters to OA Framework page.
Which screen in Oracle Form standard functionality is integrated with OA Framework Screen?
Plenty of those, but for this article lets take an example of Purchase Order screen, as shown below.
In this case, the PO screen, passes the PO_HEADER_ID and PO_RELEASE_ID to an OA Framework page.
Syntax for making a call to pass parameters
From the Purchase order screen, OA Framework based function PO_VIEW_CHANGE_HISTORY is called.
Clicking on this menu link takes you straight to the Workflow process diagram for the current po_header_Id (and the currently selected po_release_id).
The syntax used by the Oracle Form screen is
Now some Notes
Parameters are being passed via OTHER_PARAMS
You need to use & for each subsequent parameter, after the first parameter.
This is JSP style syntax.
Why is OA framework parameter syntax same as JSP styled syntax?
That's because the form function is attached to OA.jsp, that redirects the call to framework page.
How is the parameter value accessed within OA Framework?
Inside the controller [processRequest] of OA Framework page, you can use pageContext.getParameter("parameter name")
In the context of this example
String poHdrId = pageContext.getParameter("PoHeaderId") ;
written by Rao , August 29, 2007
written by Soumya , September 27, 2007
to see code in that form function
written by nikhil patil , March 18, 2008