How to call OA Framework Page from Oracle Forms?
Hi,
I have read the OA Guide on "Forms / OA Framework Page Integration" which guide on how to launch OA framework pages from Oracel Applications Forms.
I would like to perform the same whereby to call the OAF page from Oracle Form itself. However I do not quite understand on the below section:
To make use of the Oracle Application API - fnd_function.execute.
Where should I use this function? Should I create a button triggered to link to OA Page?
Appreciate advise on this.
Thanks and Regards,
Shiau Chin
Hi Ashok,
You can refer the topic Forms / OA Framework Page Integration in Developers Guide.
There you can find details about the below :
Launching Oracle Applications Forms from OA Framework Pages
Launching OA Framework Pages from Oracle Applications Forms
Thanks
Jegan
Similar Messages
-
How to Call a jasper report from Oracle Forms 6i.
Hi
Can anybody tel me how to Call a jasper report from ORacle Forms 6i.
Thanks & Regards
BangoForms 6i client/server? Use the HOST command to call the report. Since a Jasper report is just a call to a url, it will be something like:
v_url := '<your url to the report>';
host ('cmd /c start '||v_url);If it's web Forms 6i it even easier. Just use web.show_document(<url>). -
How to call a .rpt file from oracle form 10g
I need to call a .rpt file from oracle form 10g. please suggest what to do for this
Hi,
onlz rdf and rep files are Reports executables. Convert rpt to rep and you are file (Reports has a conversion utility in the bin directory)
Frank -
How to Call Crystal Reports XI from Oracle Forms 6i
hi can any one ,Please provide me the steps to call Crystal Reports XI from Oracle Forms 6i
very urgent please
if any Doument,attachment please send to [email protected]
Thanks in advance
Regards
S.Thirumalai selvanHi All,
Can anyone send me the steps to call Crystal Reports XI from Oracle Forms 6i (client/server)?
Thanks in advance, Lidija
My email is: [email protected] -
How to call a jar file from oracle forms (6i)
Hi,
I'm working with oracle 6i. I want to know that how to call a .jar file from forms menu. when I use HOST('<path>\test.jar') it is working in 'Client Server' any way. but the problem is I use application server in order to run my form. so my form is in the server and I run the form via clients web browser. in that case above solution will not work. if any body knows how to overcome this problem please reply.
thanks.
dumindaI created a bean area and set the class name as implementation class. within that java bean class I called to a bat file which consists of the execution command of the jar file ( because i don't know how to call .jar file from my bean class directly).
then i tried to run it in application server. its still not running.
can you tell me what i have to do within my bean class? or can you suggest any solution?
thank you. -
How to call a web Service from Oracle Applications?
Hi friends,
I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
Thanks a lot.
Jose.Hello Jose,
I did using java program to call BPEL web services in 11.5.10.
I pasted below the metalink note for your reference (Note:250964.1)
The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
Is this ok?
Thanks
Arun.
======================================================
Checked for relevance on 25-Apr-2007
Application Install - Version: 11.5.8 to 11.5.10
Goal
====
How to register and create a Java concurrent program for Oracle Applications
Release 11i
Solution
========
1. Create your Java Concurrent Program (JCP) , using a text editor.
/*===========================================================================+
| Concurrent Processing Sample Code |
| |
| FILENAME |
| Hello.java |
| |
| DESCRIPTION |
| Sample Java concurrent program |
| About the simplest possible program, just writes a message to the |
| logfile and output file. |
| |
| HISTORY |
| $Log$ |
| |
+===========================================================================*/
package oracle.apps.fnd.cp.sample;
import oracle.apps.fnd.cp.request.*;
public class Hello implements JavaConcurrentProgram {
public static final String RCS_ID = "$Header$";
public void runProgram(CpContext ctx) {
ctx.getLogFile().writeln("-- Hello World! --", 0);
ctx.getOutFile().writeln("-- Hello World! --");
ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
=======================================
End Sample
=======================================
2. Create a sample directory under $JAVA_TOP:
$ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
$ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
4. Compile your java program:
javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
5. Test at the command line with following syntax:
jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
-Drequest.outfile=./outfile \
oracle.apps.fnd.cp.request.Run \
oracle.apps.fnd.cp.sample.Hello
6. Register your custom java concurrent program with Oracle Applications.
a. Navigate: Concurrent > Program > Executable
b. Enter details into the form
Executable: JCPHELLO
Shortname: JCPHELLO
Application: Application Object Library
Execution Method: Java Concurrent Program
Execution File Name: Hello (Insert a name that does not contain space or period)
Execution File Path: oracle.apps.fnd.cp.sample
c. Save the details
d. Navigate: Concurrent > Program > Define
e. Enter details into the form
Program Name: JCPHELLO
Program Shortname: JCPHELLO
Application: Application Object Library
Executable: Choose JCPHELLO from LOV
Executable Options :
f. Save the details
7. Add this new concurrent request to your responsibility request group.
a. Navigate > Security > Responsiblity > Request
b. Query System Administrator
c. Add new row and choose TestJava
d. Save the changes.
8. Run your new Hello Java Concurrent Program
Navigate: Request > Run
References
~~~~~~~~~~~
Oracle Applications Developers Manual for Release 11i A75545-01
==================================================== -
How to call OAF standard page from form by passing parameters?
Hi,
I have a requirement where I need to call a standard OAF page from Oracle form, I was able to call the page through personalization, but I also want to pass a parameter to the OAF page and query the OAF page using that parameter, could anyone please help?
Note: Under the forms personalization I wrote the below code for parameters
Actions --> Parameters--> ='contractLineId='||:OKS_LINES.ID
Thanks,
BharatHi Niladri,
My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
1) Get the OAF page function name
2) Personalize the form, by calling the OAF page function
a) Function Code: Give the OAF function code
b) Parameter: Here pass the parameters
example: ='contractLineId='||:OKS_LINES.ID
Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
Thanks,
Bharat -
How to call a jsp page from oaf and run in jDeveloper
Hi all,
I created sample jsp and then tried.
String temp = "sample.jsp?";
pageContext.setForwardURL(temp,
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
It worked.
But when i tried with one of the custom page that i downloaded from server it is giving error.
But now i need to call that page.
Its Code is given on below link:
Re: how to call a jsp page from oaf
Please help me to do this.
Thanks in advance.
Regards,
RajRaj,
1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
(i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
4. There is no problem in the way you are calling jsp page from OAF page.
regards,
Anand -
How to call a JSP page from Applications menu?
Hi partners,
I am still looking for "how to call a JSP page from Applications menu?", I mean instead of calling a form, I want to call a JSP page which is staying in a OC4J repository which is located in another server.
Any idea will be really appreciated.
Thanks in advance.
Frank Mtz.Hi Frank,
if u know the solution please share it with me. i'm looking for the same scenario.
thanks in advance,
anish -
Calling Apex page from Oracle Forms
Hi,
I haven't managed to find a similar thread anywhere.
I would like to call an apex page from a form. The page is in an app that requires authetication.
I can able to open the page by using web.show_document but that only takes me to the login page.
How can I overpass the authentication by passing somehow the username and password?
Is there any similar or easier way to do what I am after?
Many thanksHi,
You could try the BRANCH_TO_PAGE_ACCEPT URL functionality. There are a few threads on this subject - for example: Re: authentication with credentials from another domain? I haven't used this myself, but if you do a search on the forum for this, you may find other threads that can help.
Andy -
Calling OAF Page from Oracle forms
Hi All,
Is it possible to call an Oracle Forms from OAF page?
I need to call a OAF page EAM material cost screen from oracle form using personalization.
Please any one put on some lights on this issue.
Thanks in Advance,
Ramesh reddy
Edited by: user642447 on May 13, 2011 4:33 AMRamesh,
yes, its possible to call oaf page from oracle forms.
This has been specified step by step in Developer Guide. Refer it for more.
Regards,
Gyan -
How to call a standard page from a custom BSP-iView by URL
Dear readers,
I have to implement a scenario as described in the guide "Administration of the Business Package for SAP CRM 4.0", chapter "Object Links in the Portal" scenario 1 and/or 2 (page 404).
In my case, a custom iView-BSP lists certain business partners in a tree view as hyperlinks. Which URL do I have to use for these hyperlinks to call the "Accounts" page (within role Account Management (com.sap.pct.crm.AccountManager)) with the selected business partner.
The guide informs that there exists among others a table CRMC_PRT_ROLE_MO where I can find the ID Page/Servie URL for each Role/CRM Object type/CRM Method.
My question is if I can use this URL fragment within the URL I have to build, and if yes, how must I construct the full URL to call the account page? If now, which URL must I use to call the account page?
thank you
AndreasHi Niladri,
My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
1) Get the OAF page function name
2) Personalize the form, by calling the OAF page function
a) Function Code: Give the OAF function code
b) Parameter: Here pass the parameters
example: ='contractLineId='||:OKS_LINES.ID
Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
Thanks,
Bharat -
Call a web services from oracle forms 10
I have to call a web services from oracle forms.
The version of the database is oracle 11gr2. the version of the forms is 10.1.2.0.2.
I allready did the proxy creation and the import class within forms.
I have 2 questions:
1.
I created the following procedure:
PROCEDURE call_WS IS
vobject1 ORA_JAVA.JOBJECT;
vobject2 ORA_JAVA.JOBJECT;
BEGIN
vobject1 := WSEvaluarReglaCondicionComerci.new();
vobject2 := WSEvaluarReglaCondicionComerci.listarValoresAtributoEvento(vobject1, 702, 2217, null, null, null);
END;
the function I calling:
FUNCTION listarValoresAtributoEvento(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT,
a1 ORA_JAVA.JOBJECT,
a2 ORA_JAVA.JOBJECT,
a3 VARCHAR2,
a4 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;
Note that the parameters is ORA_JAVA_JOBJECT and I need to send numbers. I understand that when I import the classes, because in the WS those parameters are defined as BigDecimal, Forms understand them as java object but when I compile it reports the error: "numero o tipo de argumento erroneo al llamar..." type error.
So the question is, how Cast the numbers to Java Object to send them.
I have read in a web page that one option is to change in the web service the type of the parameters but that is not an option.
2.
The WS returns a super big XML as answer, so how I can parse the result into an Object type?...
The object structure is:
TYPE opciones_obj AS OBJECT
(strindice VARCHAR2 (4000),
nombrecompleto VARCHAR2 (4000),
nombre VARCHAR2 (4000),
strtipodato VARCHAR2 (4000),
codigoopcion NUMBER,
floatval FLOAT,
strtipo VARCHAR2 (4000),
strval VARCHAR2 (4000));
and the tags to extract is:
COLUMNS strindice VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strIndice"]/ns2:value',
nombrecompleto VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="nombreCompleto"]/ns2:value',
nombre VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="nombre"]/ns2:value',
strtipodato VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strTipoDato"]/ns2:value',
codigoopcion NUMBER
PATH 'ns2:mapEntry[ns2:key="codigoOpcion"]/ns2:value',
floatval FLOAT
PATH 'ns2:mapEntry[ns2:key="floatVal"]/ns2:value',
strtipo VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strTipo"]/ns2:value',
strval VARCHAR2 (4000)
PATH 'ns2:mapEntry[ns2:key="strVal"]/ns2:value') x;
xquery / xmltype aparently is not an option because the xml is too big.
I will appreciate your answers.
Thanks.
Edited by: user13058213 on 26-ene-2012 16:02i created jar file to call it from forms
Could you be a little bit less vague about what you exactly did?
Anyway; see here http://bit.ly/10VVoMR
cheers -
Calling crystal reports 11 from oracle forms 10g
Could you provide me step by step a solution on how I can call crystal reports 11 from oracle forms 10g application.
Hi,
Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
-Arun -
Calling portal framework page from non portal page
Hi,
We are having some difficulty in passing control from the non portal pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application folder.
We have a Portal Page containing one portlet.Clicking on one of the hyperlink
on this portlet page takes us out of the portal environment where we are doing
some processing.
(Why we are going out of the portal environment is because we want to call the
existing pages as it is and our intention is not to make the existing pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
AjayHi
i think you should use portal:createPortalPageChangeURL (you are effectively changing
your portal page) .
if you want to invoke a specific event in your portlet webflow you can either
write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
bear in mind if you have urls that directly go to an intermediate event in the
portlets webflow you may need
http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
regards
deepak
"Ajay" <[email protected]> wrote:
>
Hi,
We are having some difficulty in passing control from the non portal
pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application
folder.
We have a Portal Page containing one portlet.Clicking on one of the
hyperlink
on this portlet page takes us out of the portal environment where we
are doing
some processing.
(Why we are going out of the portal environment is because we want to
call the
existing pages as it is and our intention is not to make the existing
pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement
to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard
coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without
hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework
page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
Ajay
Maybe you are looking for
-
I regret agreeing to download Firefox 3.6.10 update, as it is somehow corrupted, and will not load when I restart. Subsequently, every time I start Firefox, it warns "Update Ready to Install", then when I don't restart (if I restart, it won't load) i
-
Is it ok to use one apple id for two devices ?
is it ok to use one apple id for two devices ?
-
Recovered Photos album automatically created, but no error messages.
Previously when I opened iPhoto, I received a message (or rather 2 {I believe} duplicate messages) about importing recovered photos. I clicked OK and it created a Recovered Photos album, but its contents were empty. I deleted this album by putting it
-
How to set focus on UI Element
Hi All, I am using the below code to set the focus on the first row of the table given in the linkĀ [How to set focus at UI element ? ] on enter of an event. data: lr_elem type ref to if_wd_view_element. lr_elem = view->get_element( <ID of the Link t
-
Itunes is running in 64-bit mode and will not let me switch to 32- bit mode
I guess 64-bit mode requires MAC OS X 10.7 and I only have 10.6.8 so somehow i need to switch back to 32-bit mode and the instructions it gives me to do so don't make any sense. help!