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,
Bharat

Hi 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

Similar Messages

  • 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
    Andreas

    Hi 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,
    Raj

    Raj,
    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

  • 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

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • How to call a web service from forms 9i

    Hello all, I was trying to run the example on this website that shows how to call a webservice from forms, and I recieved an error. I am at the last step, where it tells me to create a button and add a when button pressed trigger. Here is the code I am using from the example:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    BEGIN
    jo := CurrencyExchangeServiceStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv := CurrencyExchangeServiceStub.getRate(jo,'USA','UK');
    message (float_.floatValue(rv));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;
    It gives me an error on"Exception_.tostring" component must be declared. Does anyone have any suggestions? I am trying to figure out how to call an external WS from a form. Thanks.

    IN forms Builder under Import java classes
    Change the Import Classes field to java.lang.Exception and press Import. This will create a PL/SQL package for the Exception Java class. While this is not essential, it does make error reporting easier. Now press Close to dismiss the dialog.

  • How to call an HTML page from a JSP

    Hi,
    I am getting problem in calling an html page from a jsp
    The Sample code is
    int rowsAffected = stm.executeQuery("Select * From Table");
    if (rowsAffected == 1)
    {   %>
    <jsp:forward page="xyz.html" />
    <%

    See the other forum where you asked the same question http://forums.java.sun.com/thread.jsp?forum=45&thread=158981
    Please refrain from cross posting.

  • How to call a rdf file from Form

    Hi,
    I am begginer in Oracle Reports Builder, and I would like to know how to call a .rdf (report) file from a Form, passing parameters.
    Thanks in advance.
    Sandro

    Hello,
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    Integrating Oracle Forms 10g and Oracle Reports 10g 2-
    Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
    Regards

  • How to call Pl/sql procedure from form ?

    Hi all,
    I need to call a procedure from form after the user has pressed the button to invoke the sql procedure, can anyone please advise me on how to do it ?
    Thanks.
    Lim

    Hi,
    Thanks for your reply.
    yes, I have include in when-button-pressed trigger as
    AIC_PROC_AR_CCID_UPD;
    Below is my procedure :-
    CREATE OR REPLACE PROCEDURE AIC_PROC_AR_CCID_UPD(errbuf out Varchar2,
              retcode out Number ) is
    VAR_BUF VARCHAR2(240);
    Cursor C1 is
    SELECT CONCATENATED_SEGMENTS ACCT,
    SEGMENT5 SEG5
    FROM AIC_GL_COA AGC
    WHERE AGC.CODE_COMBINATION_ID IS NULL;
    Rec1 C1%RowType;
    BEGIN
    FOR Rec1 IN C1 LOOP
         BEGIN
         UPDATE AIC_GL_COA A SET ( DESCRIPTION, CODE_COMBINATION_ID, SEGMENT5 )=
         ( SELECT FFVT.DESCRIPTION, GLA.CODE_COMBINATION_ID, GLA.SEGMENT5
         FROM GL_CODE_COMBINATIONS_KFV GLA,
         FND_FLEX_VALUES_TL FFVT,
         FND_FLEX_VALUES FFV
         WHERE GLA.CONCATENATED_SEGMENTS = REC1.ACCT
         AND FFV.FLEX_VALUE = REC1.SEG5
         AND FFV.FLEX_VALUE_ID = FFVT.FLEX_VALUE_ID
         AND FFV.FLEX_VALUE_SET_ID = 1002673 )
         WHERE A.SEGMENT5 = REC1.SEG5 ;
         EXCEPTION
         WHEN NO_DATA_FOUND THEN
         FND_FILE.PUT_LINE(FND_FILE.OUTPUT, 'NO RECORD UPDATE !!');     
         END;
    END LOOP;
    COMMIT;
    RETURN;
    END;
    However, when I try to compile it, error prompt :-
    Error 306 at line 1, column 1
    wrong number or types of arguments in call to 'AIC_PROC_AR_CCID_UPD'
    Error 0 at line 1, column 1
    statement ignored.
    By the way, my form 6i is running at client site and connection to procedure in unix server. Will this is ok ?
    Thanks
    Rgds
    Lim

  • How to Call a Crystal Report from Form 6i?

    Dear All,
    Can anybody tell me how to call a crystal report, designed using Crystal Report 9, in form 6i? I tried one solution by using the host command but it was not working properly. The code I was tried is like:
         f_name varchar2(240);
         f_name :='C:\Program Files\Crystal Decisions\Crystal Reports 9\crw32.exe D:\Form16\Form16_Rep\bin\Debug\Form_16_character_emp.rpt';
                   host(f_name);
    This open the crystal report in design view. So how we call a report which run automatically like in .Net. How to pass the connection info of the database schema?
    Thanks & Regards
    Sunil

    Hi
    First see the built in run_product function.
    You can create a parameter list, add the
    "MAXIMIZE" paramter in it and then call your
    report with run_product passing your parameter list in it.
    hence the called report will be maximized.
    null

  • How to call additional Enrolment page from SAP Logon?

    Hi Team,
    I have a requirement here to customise the SAP logon page.
    My requirement is, when a user logins in with his User ID and Password and when he clicks Logon then it should redirect to my Enrollment page(only for the first time login for certain users) and in the enrollment page we got some additional fields to be captured for security reasons and that fields will be stored in our local database and then it will pass the control back to my SAP application.
    Is there any method where we can call the additional enrolment/registration page from SAP Logon.
    Thanks in Advance
    Regards
    Akesh

    Hi Akesh,
    As per my understanding, you should amend your login page by writing a new servlet which will communicate with your database where you have your ids.
    It means flow would something like below
    1. You enter userid/password into the login page of SAP EP and click on logon button redirect the request to newly created Servlet and check.
    2. After check if enrollment required then open new jsp page for this else redirect the request as original flow.
    3. Once enrollment is done then at submit button, first we it should save the data then again redirect to original flow.
    Thanks,
    Hamendra

  • How to call view requests window from forms

    I have a custom form in which i am running a concurrent program using FND_REQUEST.SUBMIT_REQUEST. after I submit the request, I manually go to the view -> requests -> viewoutput to see the report output. Is there any function which can be used in the form to skip this manual step and go directly to the view requests screen?

    Hi,
    You can use fnd_function.execute to open any form from another form. For instance, using fnd_function.execute('FND_FNDCPQCR') should open the Requests form. You can play with the parameters of the form (or use a different function) until you get what you actually need.
    Hope it helps.

  • How to call a html page from servlet

    i want to link a servlet to a html page, if i use requestdispatcher, it says XXX.html is not available, can anybody help

    Can you be more specific about what you're trying to do? Can't read your mind =). But if you mean you want to just have an static HTML page such as a header read by the servlet you can you the requestdispatcher include().
    Create a servlet to generate a page, and then map it as /getPage in the web.xml file. Then you can use:
    // header
    RequestDispatcher rd = ...getRequestDispatcher("/getPage");
    rs.include(req, res);
    // the rest of the servlet output
    // and you can do another one for the footer down here
    rd = ...getRequestDispatcher("/getPageFooter");
    rs.include(req, res);
    and it'll output the HTML in the servlet.
    Hope this helps

  • Calling a Stored Procudre from UDF by passing parameters

    Hi All,
    In UDF I need to call a stored procedure by
    example:
    Channel channel = null;                                                   
    Map rowMap = null;                                                        
    DataBaseAccessor accessor = null;                                         
    DataBaseResult resultSet = null;                                          
    String Query = null;   
    //Query ="EXECUTE dbo.sp_flow <INTID> <USERID>;                                                 
    Query = "EXECUTE dbo.sp_flow  \'304\' ,  \'shankar\'  " ;       
      try{                                                                               
    //Determine a channel, as created in the Configuration                    
    channel =                                                                 
    LookupService.getChanne"BS_XXX","CC_XXX_JDBC_Rcv");                                                                               
    //Get a system accessor for the channel. As the call is being made to an  
    DB, an DatabaseAccessor is obtained.                                      
    accessor = LookupService.getDataBaseAccessor(channel);                                                                               
    //Execute Query and get the values in resultset                           
    resultSet = accessor.execute(Query);                                                                               
    for(Iterator rows = resultSet.getRows();rows.hasNext();){                 
    rowMap = (Map)rows.next();                                                                               
    result.addValue((String)rowMap.get("FLOW_ID"));                       
    Suggest me how to statement Query=Query = "EXECUTE dbo.sp_flow  \'304\' ,  \'shankar\'  " ;  is correct or not !!
    Regards
    Shankar

    Hi Shabarish Vijay... ,
      I am able to call a one Stored Proc which I am able to return the resultset. But for my senario I am able to call the Stored Proc by passing the parameter like userid and password. But I am getting a exception below.
      <access>
                <INT_FLOW_ID><![CDATA[Exception during processing the payload. Error when calling an adapter by using the communication channel CC_XXXXX_JDBC_Rcv (Party: , Service: BS_MICROSOFT_SQLXXXX_D, Object ID: 7c072037b7ac3bf0b698f3493ec73024) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'.
    com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel CC_XXXJDBC_Rcv (Party: , Service: BS_MICROSOFT_SQLXXXX_D, Object ID: 7c072037b7ac3bf0b698f3493ec73024) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'.
         at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:127)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:148)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:76)
         (Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    ]]></INT_FLOW_ID>
    Can you pls help me out any solution to solve this.
    Regards
    Shankar

Maybe you are looking for

  • Pages won't open an existing file or a new template, but numbers works fine

    I recently re-installed iWork and it all seemed fine. I opened and created new Numbers files successfully, but I cannot open or start a new Pages file. I tried removing my preference file but the problem still exists. I am trying to get a fee proposa

  • Sun Fire X4100 - XP Installation

    Hi - Where can I get a copy of an SIA that will allow me to install Windows XP? If there is no SIA, is there a method to install XP onto this server? Thanks!

  • Applets in non-plugin IE

    I have an applet that loads beatifully on clients that have the java plugin installed. on machines that just run the microsoft vm, it doesn't load and the error message is "ClassNotFoundException". Now these microsft vm machines can load other applet

  • Uncontrollable vertical scroll problem

    Scroll bar started getting jumpy for a few days then suddenly started going all Warp Factor 99 to bottom of window and refusing to go back up no matter how gently I tried to manually move it. So then I threw Mighty Mouse against the wall in frustrati

  • Howto:  SQL query to obtain latest n rows

    Hey everyone, I want to query a subset of a table to return, at most, a certain number of rows. The problem is that 'rowcnt' is not going to be good enough. Here's the situation: I have a table with lots of data (15 days worth). It will accumulate ov