Selected Lov Value as Parameter to Concurrent Program in oaf

Hi,
iam new to OAF ,Can any one please help me how to pass selected lov value as a parameter to the Concurrent program in oaf.
i created one lov in oaf page after selecting value in lov i want that value to be passed as parameter to concurrent program.
Please help me how to implemet code so that Lov will pass as parameter to the concurent program in Controller.

Check these links. You need to get the value from the LOV to a variable, add it to the vector and pass to the conc program. Below link provides the details on concurrent program submission.
http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
For fetching LOV values, check the Dev Guide
Thanks
Shree

Similar Messages

  • Move Custom Value Sets and Custom Concurrent Programs from Dev to Test

    Hi,
    Friends,
    I want to move the Custom Value Sets and Custom Concurrent Programs from Development to Test Instance...how can i Acheive using FNDLOAD....
    At a time single stroke can I move them using FNDLOAD...
    Please help me in this regard....

    You can do it with FNDLOAD.
    http://appsdbablog.com/blog/2006/09/fndload.html
    Aviad Elbaz

  • Calling Concurrent program from OAF-PDF Outtput not in English

    Hi ,
    I've successfully done "Calling Concurrent Program from OAF" once i clicked the button which i have in my page it generates RequestID and that shows request page,In that when i click "Output" icon the PDF file is opened.
    But in that PDF file it shows the datas in the different language.
    For example Emp name column is shown as
    ΚΙΝΓ
    ΧΛΑΡΚ
    ΣΧΟΤΤ
    ΦΟΡ∆
    ΣΜΙΤΗ
    ΑΛΛΕΝ
    Αδαµσ
    Σεντηιλςελ
    Σαραϖανα Χ
    Σεενυ
    Σαβενα
    Ηαριkindly help me...
    Regards,
    Saro

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • Current date parameter in concurrent program is not not taking current date

    Hi All,
    I have scheduled one concurrent request running very day @21:30 ,one of the parameter passed is current date ,which defined as default value at the time of defining concurrent program.Surprisingly its taking next day date as parameter.Can someone help me resolving this issue.
    From where this current date is taken.
    When I am logged in unix as oracle user and executing following query I am getting follwoing results
    SQL> alter session set nls_date_format='MM/DD/YYYY HH24:MI:SS';
    Session altered.
    SQL> select current_date from dual;
    CURRENT_DATE
    05/25/2010 07:40:11
    SQL> select sysdate from dual;
    SYSDATE
    05/25/2010 07:40:20
    date
    Tue May 25 07:40:35 SAUST 2010
    When I logged in unix as applmgr user:
    SQL> select current_date from dual;
    CURRENT_DATE
    05/25/2010 04:41:17
    SQL> select sysdate from dual;
    SYSDATE
    05/25/2010 07:41:19
    date
    Tue May 25 07:41:04 SAUST 2010
    Unix level date is correct and sysdate is also correct in both cases.
    But current_date when logged in s applmgr user is wrong,is this reason for the issue.
    If so how can I change it
    Version : 11.5.10.2
    Database : 10.2.0.4
    OS : AIX 5.3
    Thanks in advance

    Hi;
    Please check below and see its helpful:
    Scheduled Request Set Using 'Current Date' In Parameters Will Set Parameters One Day Out [ID 242654.1]
    The parameter Argument 2 (GL DATE) does not select the Current Date when schedule [ID 250431.1]
    Regard
    Helios

  • Getting error while selecting LOV value

    Hi all,
    I am getting the below error in R12 apps while selecting the lov value from list (But it is working properly in 11i apps and loacal jdeveloper.)
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The view object ProjectInformationAM.EmployeeLOVVO1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    The lov query is select employee_number,full_name from per_all_people_f
    I have tried both internal and external lov but both cases it is showing the error in R12
    I have used below code in PR of create page, still no use
    if(!am.getEmployeelovVO1().isPreparedForExecution())
    am.getEmployeelovVO1().executeQuery();
    Row row1 = am.getEmployeelovVO1().createRow();
    am.getEmployeelovVO1().insertRow(row1);
    row1.setNewRowState(Row.STATUS_INITIALIZED);
    Except this lov all lov's working properly,
    Any one help on this it is very very urgent....
    Thanks

    Hi,
    I had a similar issue just now, and we fixed it in this way. But the case is probably different compared to your situation.
    Situation:
    - custom inquiry page
    - case: manual search, so not results based or Auto Customization Criteria
    - multiple search criteria fields
    - separate AM for all the LOV fields
    - each LOV has its own VO
    - Results table on same page, but with its own VO
    - each search criteria field has Lov mapping to the corresponding external Lov region
    Issue: when selecting a value via the Lov and coming back into the search page, I received the stale data error.
    searched lots of places and finally figured out what was wrong in my case.
    Each search field had its BC4J properties set to the VO of the results table. And since we wanted to make a manual search thing, this is not good.
    Removing the View Instance value and the View Attribute value in the properties of the search fields resolved the error.
    Hoperfully this can help other beginners, like me, in finding a solution for the same mistakes... :)
    regards
    Ronny

  • Calling Concurrent Program From OAF in R12

    Hi All,
    I have called concurrent request from OAf page..When i click the submit button the page forwarded to Request page..
    In that i have three buttons only Submit Request,search,Refresh but i need, What are all the options present in Requests > Submit window (not from OAF)"Hold Request,Cancel Request,Diagnostics,View Log"..
    Also in my OAF Page if i click Submit Request-->Radio Button "New Request"--> if i clock LOV it doesn't shows any values...
    Kindly help me to resolve this issue..
    Thanks in advance for your valuable suggestion..
    Regards,
    RKO

    Hi Hussein,
    Here I've shown the details of log file
    Purchasing: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXCON module: XXCON
    Current system time is 29-DEC-2010 11:37:23
    +-----------------------------*
    *| Starting concurrent program execution...*
    +-----------------------------*
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Wed Dec 29 11:37:29 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Executing request completion options...
    ------------- 1) PRINT   -------------*
    Printing output file.
    Request ID : 5865903      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 29-DEC-2010 11:37:33
    Regards,
    Saro

  • How to Submit a Concurrent program from OAF page Button?

    Hi,
    I have tried this but its not submitting the request
    String shipId = pageContext.getParameter("shipId");
    OADBTransaction tr = am.getOADBTransaction();
    Connection conn = tr.getJdbcConnection();
    OracleCallableStatement ocs = null;
    String stmt = new String("");
    if(pageContext.getParameter("SubmitRequest") != null) {
    try {
    stmt = "begin fnd_request.submit_request( application => 'XX',
    program => 'SHIPG_MATRL_PKP',
    description => NULL,
    start_time => sysdate,
    argument1 => :1 ); end;";
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setString(1,shipId);
    ocs.execute();
    catch(SQLException se)
    throw OAException.wrapperException(se);
    What is the mistake in the syntax.
    Can anyone provide the syntax for this?
    Krishna

    Hi Anil,
    I got the same requirment. The requirement was we need to create a Print PO button on the OAF page and when we click the button, we need to display the PO in pdf format by calling a concurrent program(XML) based on the PO type.
    My approach was below.
    1. Create the button using Personilization.
    2. Extend the controller class and add the code to call the concurent request.
    Can you please guide me how to create the button using personilization. When I created the button, this was shown on the OAF page. But I don't get the hand symbol on that button to click that button.
    Also please give me the approach of extending the controller and AM.
    Thanks for your help

  • How to register varray datatype input parameter in concurrent program

    Hi All,
    I had a code contains varray datatype input parameter... Now i need to register this in concurret program screen.. which datatype i need to select?... i can able to see only number and character data type in value set.
    Thanks

    As mentioned, the Concurrent progrm APIs are just wrappers and the datatypes are limited. Now, how many items you expect to have in the array as a maximum? You could use the same wrapper concept to collect the array values individually (up to 100) and then just load them to an array to be passed to your stored procedure. Just have an overloaded version with values1..valuesn that is only used as the entry point and then load the values to the structure needed by the program unit containing your logic. There is a limit of 100 parameters, though.

  • Update report based on selected LOV value

    I've searched the forum but could not find the answer how to implement the following:
    I have a form with a popup LOV, element P203_LOCATION_ID, which is populated from a query. When the user picks a value from it, a report in the same page should be refreshed. The report has query "select * from distances where d < 1 AND l = :P203_LOCATION_ID " .
    I created a dynamic action which would refresh the report on change of P203_LOCATION_ID , but the report does not change.
    After looking here, I made a hidden variable P203_SEL_LOCATION which is populated by dynamic action on change, with javascript $v('P203_LOCATION_ID') , and then a second rule in the dynamic action should refresh the report. The query in the report is changed to use :P203_SEL_LOCATION as a parameter.
    Although, when made display-only, P203_SEL_LOCATION does change (and console.log shows the selected ID), the report does not see that change and remains empty. I tried both IR and classic report, same result.
    Any help would be appreciated, how to make change in Items visible to the report?

    Hi Mila,
    I assume that you have checked that the report refresh process is happening and that by "empty" you meant that the report was not fetching any records whereas it should have for the value you see in the page.
    It could be because the changed values is not is not yet set in the session for the report to see(report fetches the bind value of the item P203_SEL_LOCATION from the session).
    You will need to add the item's value to the session before firing the report refresh.
    One way to do that would be to add a PLSQL process as true action with the sequence order lesser than the refresh.
    In the items to submit_ , give P203_SEL_LOCATION
    And the process needn't do anything(what we wanted was the P203_SEL_LOCATION be set, which would be done before executing this PLSQL)
    BEGIN
    NULL;
    END;Hope that solves your problem

  • Selected LOV value not reflected in Main page

    Hi
    Whenever I select an LOV and query for the values ,the values are displayed and when I select one of the values and click on "SELECT" button on LOV page the selected value is not reflected in Main page.
    Even if I enter an appropriate value in the LOV field and click on "NEXT" button in Main Page the value is not recognised and an error is thrown saying that the field can not be blank.
    Please help me.
    Thanks and regards

    Is there an underlying view attribute to the LOV Field? Is it updatable?

  • Include a message saying that please select the values for parameter/prompt

    Hi,
    We need to put in a message just below Parameters/Prompts saying that "Kindly fill in the above parameters and then Click on Apply to run the report" so that end users know what to do.
    Any ideas how to do that.
    As of now i have inserted a Text Item in Report Layout, but that doesnt look good.
    Thanks
    Ashish

    Thanks Vijay.
    Can we make use of subtemplates in the Layout Editor that comes with BI Publisher 11g?
    Cause all the sites show the use of subtemplates using microsoft word rtf.
    And i tried using subtemplates in Layout Editor of 11g and have not been successful so far..
    Thanks
    Ashish

  • Pass lov value from one page to another page

    hi
    can any one please help me how to pass selected lov value in one page to another page
    iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.

    Hi,
    Get the value in controller, create a hash map and put that value in hashmap.
    Then pass that hashmap in pageContext.forwardImmediately method.
    If you want to use that value in multiple pages, then put that in session variable.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to create multiple rows in a child table from the multi select Lov

    Hi
    We have Departments and EmployDept and Persons tables and each employee can associate multiple departments and vice versa.While creating a Department page there should be a Multi Select LOV(values from Persons table) with search option for the Persons.From the search panel we can select multiple persons for that department.Suppose we have selected 5 persons and click on submit, then it should create 5 rows in the EmployDept table for 5 persons with that department id.
    Any inputs on how to implement this scenario please..

    Maybe you can get some ideas from here -
    http://adfdeveloper.blogspot.com/2011/07/simple-implementation-of-af.html

  • Getting error java.lang.NullPointerException while selection LOV

    I am getting error java.lang.NullPointerException while selecting LOV. Please help
    SEVERE: Server Exception during PPR, #1
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:129)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:530)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:429)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeSelectedRowKeys(TableRendererUtils.java:470)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:136)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXPopup.processDecodes(UIXPopup.java:60)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:137)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 29 more

    Duplicate: Re: Get null pointer exception while selecting LOV for a parameter form object

  • How to notify user about concurrent Program Status from BPEL

    Hi,
      I'm calling Concurrent Program in Oracle Apps Adapter from BPEL 11g . I have to pass the mail id as one of the input parameters to concurrent program. I have to notify the status of the concurrent program to that mail id  it is Success or failure in the EBS itself.  Is there any jca file properties for this?
    Any suggestions Plz????

    Hi Ajay,
       Thanks, for ur reply.. Can u plz tell  how to pass one of the input parameter of concurrent program to that notification?

Maybe you are looking for

  • How do I find out my iBook's Production date?

    I have an iBook and was showing some friends the app macsaber. It uses the built in motion sensor to make sound effects. But it wont work on my friends iBook. Doing some digging I found that the motion sensors are only on iBooks produced after July 2

  • Is there any memory leaks in the version 4.6.21?

    Hi All: My en so weak ,so I try my best to let you understand my mean... I add replication to my app rencently. It's seem any memory leaks in the version 4.6.21. Threr is an env in my app's database. and there are 2000 dbs in the env. The 2000 dbs di

  • Nokia C7-00 Audio connection with in-car 3.5mm jac...

    Hi,  I wanna play my mp3 songs, so I tried to connect the C7 to my in-car audio system (aux-in) via 3.5mm cable. But, somehow, everytime I connect, there was this voice activation that keep recycles on the phone. How to fix that? Is there anything on

  • Posting invoice in MIRO when invoice is out of tolerance

    I can not post an Invoice in MIRO when it is out of tolerance with payment block. I would like to go to MRBR to release the block. What am I missing? config somewhere? Need help- thanks I

  • HELP!!! Constant freezing, Bugged updates, Repair failure, and No Hard disk

    Hi, I have had my iMac for just about a year now. It has never had any major problems up until now. One day, when i was using a downloaded non-Mac application that I had had for a while, my iMac freezes. Only the curser can move now. I pushed the pow