Saturday, March 4, 2017

Launching an Oracle E-Business Suite Form From a Submit Button in an OA Framework page

If you wish to launch an Oracle E-Business Suite form from a submit button in an OA Framework page, you must use the OAPageContext.forwardImmediatelyToForm(String url) method from oracle.apps.fnd.framework.webui.OAPageContext. An example of how to use this API is shown in the code sample below:

public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processFormRequest(pageContext, webBean);
if (pageContext.getParameter("Apply")!=null)    
{  
String destination =      "form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";   pageContext.forwardImmediatelyToForm(destination);
}
}