Programmatically refreshing an LOV automatically generated in an af:query

Hello,
I am using 11.1.1.6.
I have created a VO with LoVs created on two of the attributes, linked to view accessors. I also created a ViewCriteria which was used to create the af:query panel.
The LoVs were created using the choice list option type and show a list of query options on the query panel.
This query panel works fine. The problem is that another page allows the user to create and delete items from the list of query options. When the apply those changes, the query panel
does not get refreshed and the user is allowed to choose values from the LoV that were just deleted.
Is there a way to programmatically "reload" the af:query panel such that the ViewAccessor that is responsible for the LoV list is rerun and the LoV values are refreshed?
Thank you!

Hi,
Do you found a solution for that problem, I'm looking to do the same as you. I created a button to update the ViewObject by a function in the shared AM when i click on the button some LOV is refreshing but not the LOV in the af:query even if i put a poll to update the af:query.
If you have some idea, thanks for sharing,
Nico

Similar Messages

  • Programmatically refresh an LOV

    I want to programmatically refresh an LOV. From what I can tell--through documentation and forum threads--LOVs are implement using ListBindings in the ViewObject in which they are defined.
    Does anyone know how I can get a reference to a ListBinding in order to execute the query of the its RowSetIterator?
    Edited by: lili5058 on Feb 21, 2009 9:54 PM

    Sure
    On my Delivery Order Form, my Lov displays 3 columns for field. (SO_ORDER_NO)
    Custname,      Order No.      BALQTY
    cust1               5                10
    cust2               6                25Now lets say i select Order 5
    My detail records of my Delivery Order Form gets populated with 2 records.
    prod_code      so_qty       qty_dispatched       balqty
    prod1                5                2                     3
    prod2                5                3                     2The only entreable field of my detail block is qty_dispatched
    when i save this record the above LOV should get displayed like this;
    Custname,      Order No.      BALQTY
    cust1               5                 5
    cust2               6                25this is what i want. My query is OK, just need help regarding updating my LOV,
    either i remain on the same record, after Saving or, move to next record.
    hope its clear now..

  • Automatic generate specification of Bex query

    Dear Experts
       Does anybody know how to generate a document which include the all of Bex query specific informatin, for example: structure, filter, what's the detailed line under the structure, and what's detailed infoObject restrain under the line, etc
       in the metadata repository, I can not get such detailed information.
    thanks in advance

    hi Jie,
    try to activate trace (ST05) before change the query structure, filter etc, and deactivate after that, and 'display trace' and explore the query tables got from trace list like
    RSZELTXREF (field LAYTP = FIX is for filter)
    RSZELTDIR (field DEFTP = STR for structure)
    RSZSELECT RSZRANGE RSZCALC
    RSZCEL RSZELTPRIO RSZELTTXT
    RSZELTATTR RSZCOMPDIR
    hope this helps.

  • LOV Automatic Refresh

    Hello,
    I'm using an automatic refresh list of values, which works fine in WebI,
    in editing mode (java). My clients use the HTML/PDF view of the report, and
    have to refresh the LOV manually.
    Has anyone an idea of how to make the LOV behave the same in Java and HTML
    Thank you
    Martin

    Greetings,
    What happen if you set the document to refresh on open?
    Did you by any chance tick the box at universe to export LOV with universe? If yes you may need to untick this box and set the Automatic Refresh for the LOV.
    You may need to purge the LOV before experting the universe after unsetting the export with universe button.

  • Automatic Refresh of LOV

    Hi,
    When I click on LOV button for a new transaction, the LOV is filtered by the value that was used in the previous transaction.
    Is there a way to automatically refresh the LOV so that all values appear?
    I am using jdeveloper 10.1.3
    Thanks

    Hi,
    there are two aspects in your question that I cannot make sense of
    1. what has the "transaction" to do with it
    2. There is no LOV in ADF Faces of 10.1.3, so which technology are you talking about ?
    Frank

  • Help with the automatically generated .mov

    I'm using IMovie 4. Each movie project, once saved, automatically generates a .mov file of the project, with an amazingly small file size, 720 X 480 dimensions, and fantastic resolution.
    I was able to upload and embed one such file into my personal webpage, and it plays just fine. You can see it at http://smalldance.org. It's only 164 KB, which I love.
    My issue is that the file is easily found by viewing the page source, and therefore easily stolen. So I would like to be able to hide this file by putting it on something like Facebook or Vimeo or even (ugh) YouTube.
    For some reason, these sharing sites will not upload the file. They go through the process and claim success, then the file either shows up as nothing, or doesn't show up at all. Any ideas?
    If I do have to export via Share, how do I limit the file size and still have a resolution worth viewing? The 320 pixel compression I generated was 5MB!! Unacceptable! Microscopic and at the same time space-consumptive. How do others do it?
    Thanks in advance!

    That small .mov file is called a "reference movie", because it just "references" the original footage on YOUR hard drive. Because of that, it can't be played on any computer except your own.
    So I can't see your movie at all, and no-one else can.
    Welcome to the hard facts of video compression: The files are huge. Even the DV footage in iMovie is compressed at a rate of 13GB per hour.
    How long is your movie (in minutes and seconds)? If it's about 3 minutes or so, 5MB is small.
    http://www.danslagle.com/mac/iMovie/
    Scroll down a bit to "Exporting" for export tips.

  • Can I automatically generate documentation from Description and Tip entries?

    Is there a way to automatically generate documentation for a LV 6.1 VI from the Description and Tip fields for all the different nodes? Something like JavaDoc or something?
    I've seen another note here on the board saying you can do it from within the VI using property nodes, but that seems like a somewhat convoluted way of going about it, especially for a large modular VI.

    Also, the LabVIEW Help has step-by-step instructions for generating documentation for VIs. Here's an example:
    Generating HTML Documentation for VIs, Templates, and Objects
    You can import HTML files into most word processing applications, and you can use HTML files to create compiled help files.
    Complete the following steps to generate HTML documentation for a VI, template, or object.
    Open any VI, control, global variable, or template file and select File�Print to display the Print dialog box.
    In the Select VIs page of the Print dialog box, select the file or files for which you want to generate HTML documentation.
    Click the Next button to display the Print contents page.
    Select the components you want to include in the documentation.
    If you selected Custom, click the Next button to display the Custom details page and select the components you want to include in the documentation. Otherwise, continue to the next step.
    Click the Next button to display the Page setup page.
    Select the options to set the appearance of the documentation.
    Click the Next button to display the Destination page.
    Select HTML file.
    Click the Next button to display the HTML page.
    Select the options for the images.
    Click the Save button to display a file dialog box. The dialog box prompts you to name the HTML and image files and select the directory where you want to save the files. The default name of any HTML documentation is the name of the VI with a .html extension.
    You also can use the Easy Print VI Panel or Documentation VI or the Print VI to HTML method to generate VI documentation in HTML format programmatically.
    This topic in particular links directly to the topics that describe how to use the methods to achieve the same thing programmatically.
    If you have any feedback on the content of the LabVIEW Help, please let us know by emailing [email protected]
    Thank you,
    Kelly Holmes
    Kelly H
    LabVIEW Documentation
    National Instruments

  • Text items not being refreshed by LOV items.

    Hi all,
    I've got a strange LOV behavior problems which I cannot solve and require your valuable time and efforts.
    I've created a simple ADF JSF pages with 3 fields and the first field is LOV enabled. For all new row, after clicking the LOV icon, the LOV will show up and after selecting a particular value, it closes the LOV screen and replace it with a new row with the selected LOV data. It is all working well for all new rows just like a normal LOV should perform.
    But I had problem with existing data. The row which I selected from the LOV somehow cannot referesh and overwrite any existing row (visually) but after commiting the data, it was actually written and refreshed with the correct data. Is there a property in the JHeadstart Application Definition Editor where I enforce the text items to be refreshed by the LOV items?
    Thank you for your time and efforts.
    Kind Regards,
    John

    Hi Guys,
    I've performed the following scenarios attempting to refreshed Text items by the LOV Items.
    Scenario 1: Create a new column called some_key load unique number into it. Set this column as the primay key and deselect existing primary keys as key attributes. Also, I've created a sequence and some_key is of type of DBSequence getting value from the new sequence starting from 1.
    After generation when run and the result is:
    JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 2: Create a unique index for the some_key column, rerun and the result is:
    JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 3: Set some_key as number instead of DBSequence (from Entity Object Editor), rerun and the result is:
    JBO-27021: Failed to load CustomDatum value at index 11 with java object of type oracle.jbo.domain.Number due to java.sql.SQLException.
    ## Detail 0 ##java.sql.SQLException: Invalid column index
    Scenario 4: Deattach the offending View Object from the Application Module. Remove the offending view link and view object. Recreate view object and view link. Reset some_key is of type of DBSequence getting value from the new sequence starting from 1 (From the Entity Object Editor). After generation when run and result is:
    SUCCESSFULLY!!
    So, I guess the bottom line is here are the following things which you need to perform in order to enable text item to be refreshed by LOV item (if the detail table has composite primary keys)
    1.) Create a new column
    2.) Load unique value to it
    3.) Create unique index for it
    4.) Create entity object, view object and view link object.
    5.) Set the new column as primary key.
    6.) Deselect the key attributes for all composite primary key columns.
    Regards,
    John

  • How to Automatically generate .XSL file of XML file ???

    Hello Everyone,
    I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the data stored in xml form.
    If you have any idea about the solution of the above problem.
    I will thankful for any help regarding this…
    Thanks
    B. Kumar

    XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents. .xsl is the extension of the XSL file.Thank you, I am aware of all that.
    When we design any format by using drag & drop utility, System has to generate the .xsl file (extensible stylesheet for the xml document).Why? To accomplish what?
    And then .xsl file is used to display the data which is stored in xml document on the webpage with designed format.So you need to define the mapping between XML and HTML? and you're hoping to do that automatically?
    That's a job for a user interface designer. Not a tool.
    In brief we need to write a parson
    Parser
    which will take any designed format and generate the .xsl file for that design, to display the data which is stored in XML document.Doesn't make sense. It would make more sense if you started from a schema. Starting from an actual XML document, i.e. an instance of the schema, no, not even slightly.

  • How to set a field that automatically generates a unique 'code'/'ID'  for fillable PDF form?

    Hi,
    I'm trying to create a PDF fillable form with Acrobat X Pro.
    Can Acrobat allow a function, so that it can automatically generate a 'number'/'code' which I could use as an 'identifier'?
    eg.  A hidden field named:  'DOC ID' and provide 100001 when added to response file as it's submitted and '100002' to another file when it another is submitted/added onto the response file etc...
    I am aware that Response files, if submitted correctly, could automatically generate numbers like 001, 002 etc...
    But I'd like to see if I could create a field, that 'numbers' the document for me automatically and uniquely.
    Any help and/or suggestions would be appreciated.
    Winnie

    Hi,
    to do this you need kind of interactivity in your form.
    You can achieve this either by:
    1) using JavaScript onchange-events on forename and surname items, or
    2) use the AJAX Computations option of ApexLib, see: http://www.oracle-and-apex.com/ajax-computations-rich-client-feeling/
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com

  • How to assign profit center to automatically generated line items

    Hi, Experts,
                       My problem is that I want system automatically assign profit center to automatically generated line items.
                       Eg.
                             (Vat is @ 10%)
                                        Transaction                             Amount                            Profit Center                    
                              Purchase                   Dr                    Rs.1000/-                           XYZ
                              Vat                             Dr                    Rs.100/-
                              To Vendor                  Cr                                      Rs 1100/-
    Here I have to assign Profit Center in VAT G/L by double clicking on it, in reality, system should automatically assign profit center to VAT G/L same as to purchase, because this vat amount belongs to same purchase G/L.
    Kindly help me
    Thanks in advance

    Hi,
    1. In which SAP version you are working ? Are you using SAP 4.7 or ECC 6.0. ?
    2. If you are in ECC 6.0, have you activated New G/L ?
    3. Segment reporting is happening with Profit Center is one of the scenario ?
    Auto updation of Profit Center will depend upon these conditions. Accordingly one can provide you the solution.
    Regards,
    Shridhar

  • First Line item not picked up in Automatically generated PR from Sales Ordr

    Hi,
    I am  creating Third party PO, concevrted from Qutation-SalesOrder -automatic PR to PO.
    In the  Purchase Request which is automatically generated in background skips first line item of SO.
    How to avoid this? This is happening to all PRs in Production server.
    Please try to give solution,
    Thanks & Regards
    Ajay.

    Hi,
    Check the requirement type in sales order.
    If sales order sepecific PR creatation means, Material Strategy group shoud be 26 in MAR view 3 in Material master.
    check the Material master maintained in Plant..
    Check the delvering Plant mention in sales view in material master.
    Thanks,
    Kumar Arcot

  • How to change the automatically generated email address?

    Hello,
    The description of the problem is as follows:
    When our system sends to the customer the report with account statements (as an attachment) the automatically generated text that he receives in the email is:
    "Please respond to "K047472" "
    but the text should be:
    "Please respond to "(..here must be a certain email address we want the customer to respond)"
    Do you have any idea how to change this?
    regards,
    Slawek

    Hi Slawomir
    Please go to SE91 and change the message text.
    thanks
    Ashok
    assign points for useful answer

  • MIRO - Automatically generated expense line items

    Dear CO gurus, we are planning to use W/Tax tax posting with MIRO, where the credit gets posted to a B/S Account but the debit gets posted to an expense account (requiring a cost object). These are automatically generated posting based on the W/Tax configuration. I can use OKB9 to direct the postings to one single cost object per company code but it doesn't help. We want the cost object (whether cost center or order or wbs element) from the GR/IR account, which has the correct cost object, to be populated to this automatically generated expense posting.
    We appreciate if you can help us with any User-Exit or any other way, this can be accomplished. We are on ECC 5.00 and are using document splitting.
    Thanks,
    Joe Teli

    Hi
    Can u check the following exits
    EXIT_SAPLG_GLFLEX_EXITS_003.

  • Tax code input for Automatically Generated Line Items

    Hi Guys,
    We want to input a tax code for the Automatically generated line item..for exchange rate differences in F-28.
    Once i simulate the F-28 , and i try to input the tax code in the Automatically generated line item for exchange rate difference,
    I cannot input the tax code in that screen..and it is greyed out.
    Is there a way we can assign a tax code for this GL account line item that is automatically generated by the system ?
    Thanks,
    Srikanth.

    Hello,
    you have to add the tax code in GL master data. if that's not possible (several codes possible), I would set up a substitution.
    kr
    Nico

Maybe you are looking for