Newly inserted row in the Essbase isnot displaying with page refresh in ADF

Hi,
I have a pivot table in my UI page and I have a option to create new Measure in Essbase.
I am inserting new Measure in Essbase at runtime from Java Bean and refreshing the pivot table.
The newly added Measure is not displaying after refreshing the pivot table but when I reopen the page the new measure is displaying.
Could you please let me know how can I display the newly added Measure in ADF Pivot Table with refresh.
Thanks,
Swathi G

Hi Timo,
Yes, I mean root application as the direct data control.
This has been working earlier and the difficult part is that it is still working fine for two of the screens. The screen in which it works are those which does not have master detail relationship in them.
We are using PL/SQL to create the new row as it involves using many database functions / packages  to populate the base data for the freshly created row. which we use to get to the screen for further changes and commit.
We have been using this way for log time and it worked fine.
Sanjay Chatterji
Message was edited by: SChatterji

Similar Messages

  • ExcuteQuery does not return the newly inserted row in the database

    Jdeveloper Studio Edition Version 11.1.1.4.0
    I have a  use case where i insert a row in the database (without commit) and re-query the iterator to see the data in the jsf page. This was working file till we were using a directly the data control. Now our data control is inside a primary data control and it has stopped working. We don't see the inserted record in the page. Just to add that we are creating both the master and the detail record using the database procedure. Please helps us with a workaround or a solution and i have attached the code for reference.
        public void createSCAgr(ActionEvent actionEvent) {
              BindingContainer bindings = getBindings();
              OperationBinding operationBindingSC = bindings.getOperationBinding("createAgreement"); // this is calling a procedure to create record in the both master and detail table
              Object resultSC = operationBindingSC.execute();
              DCIteratorBinding iterator2 = ADFUtils.findIterator("PadForAgr1Iterator");
            iterator2.executeQuery();        // re-query the master record
              DCIteratorBinding iterator1 = ADFUtils.findIterator("FinForAgr1Iterator");
              iterator1.executeQuery();  // requery thedetail record
    best regards
    Sanjay Chatterji

    Hi Timo,
    Yes, I mean root application as the direct data control.
    This has been working earlier and the difficult part is that it is still working fine for two of the screens. The screen in which it works are those which does not have master detail relationship in them.
    We are using PL/SQL to create the new row as it involves using many database functions / packages  to populate the base data for the freshly created row. which we use to get to the screen for further changes and commit.
    We have been using this way for log time and it worked fine.
    Sanjay Chatterji
    Message was edited by: SChatterji

  • ADF Table sorting not working for  newly inserted rows

    Hi,
    I am using Oracle Jdeveloper 11.1.1.6.2
    I am trying to sort the table after inserting the mew rows using ADF Table UI sort option, But the newly inserted rows are not getting sorted.
    The code i am using to add a row is:
            ComplianceLibraryAMImpl am = getDataControl();
            EmKeywordVOImpl rep = am.getEmKeywordVO1();
            NameValuePairs nvp = new NameValuePairs();
            nvp.setAttribute("KeywordName", keyword);       
            Row row1 = rep.createAndInitRow(nvp);
            rep.insertRow(row1);After this addition we are doing ppr on the table and then trying to sort using sort icon in table.
    But the newly added rows are not taking part in sort.
    What am i missing?
    Thanks,
    Tripuresh

    This is the expected behavior. Check bug 9109010 - newly added and unsaved rows don't participate in sorting as per design. Try saving the rows and then sorting.
    Regards,
    Aditya

  • Insert rows in the middle

    I'm trying to figure out how to insert rows in the middle
    row 1
    row 2
    row 3
    I need to insert 2 rows before row 2
    I know I have to use the AddRow(1, Position) however after many tries, it doesn't seem to work or at least I don't know how to
    insert the second row as if I do +1 it's not realy adequate, also, pVal.Row reports Row 2 and in the documentation it sais 0 based which is not right so I'm a bit confused on how to go about that.
    Edited by: Marc Roussel on Aug 10, 2011 8:23 AM
    Here's the whole thing, maybe you'll understand where I'm at :
    I enter an ItemCode which is a kit.  After the person enter the quantity, I pop a .NET Windows form which asks for questions and then after the questions I get back and add the lines but it seems that when I add the lines, I'm still on the line I was entering the kit and it overrides it instead of Adding the new row at the position I'm asking it to add the row.
    Even if I do pVal.Row +1 or +2 or +3, it doesn't matter
    Edited by: Marc Roussel on Aug 10, 2011 8:28 AM

    The code below adds the 2 lines all right but then, a blank line after and the line that was already there below is destroyed.  Don't ask me why and what is happening to that existing line which seems to have lost the ItemCode or I don't know what happened
    CurrentLine = pVal.Row;
    CurrentLine++;
    oMatrix.AddRow(1, CurrentLine);
    SAP.SetCellValue(oMatrix, SAPFramework.Enums.MARKETING_COLS.B1_ITEMCODE, CurrentLine, "01P38");
    SAP.SetCellValue(oMatrix, "U_KitSeq", CurrentLine, NewKitSeq);
    CurrentLine++;
    oMatrix.AddRow(1, CurrentLine);
    SAP.SetCellValue(oMatrix, SAPFramework.Enums.MARKETING_COLS.B1_ITEMCODE, CurrentLine, "03P12");
    SAP.SetCellValue(oMatrix, "U_KitSeq", CurrentLine, NewKitSeq);
    I did not know that doing a simple thing like this would be a hard business...
    Edited by: Marc Roussel on Aug 10, 2011 9:15 AM

  • Connect the powerbook 15"-Display with a new G5 dual and a ACD?

    hi
    i wonder if i could connect the pb 15" display with a new G5 dual and turn the pb off, only the display on?
    that would be fun.
    i am working with a pb 15" and a ACD 20" with Photoshop mainly.
    the 15" is the palettes‘ server and the ACD is the main working screen where i retouch my pics.
    so if i buy a G5 dual now, i would have to buy a ACD30" for example to use one display for all the Photoshop Palettes and couldn use the pb 15" anymore?
    any other less awkward solutions i am not aware of maybe?
    thanks"

    Hi purepeter --
    i wonder if i could connect the pb 15" display with a new G5 dual and turn the pb off, only the display on?
    that would be fun.
    i am working with a pb 15" and a ACD 20" with Photoshop mainly.
    the 15" is the palettes‘ server and the ACD is the main working screen where i retouch my pics.
    so if i buy a G5 dual now, i would have to buy a ACD30" for example to use one display for all the Photoshop Palettes and couldn use the pb 15" anymore?
    I'm pretty sure that you can't use a PowerBook for it's display only. You already know, of course, that you can use the PowerBook, as a computer, with an external monitor, with or without the PB's own display running, but so far as I know you cannot use a PB solely for its display.
    So, if you bought a G5 dual now, and bought an ACD 30", you could use both your ACD's with your new G5 dual, the 20" and the 30" , but your PowerBook would have to watch the proceedings from the sidelines.
    -- JDee

  • How do you get the album pictures displayed with the right songs on my iphone 5

    how do you get the album pictures displayed with the right songs on my i phone 5?

    I have the same problem but i only have iphone 4s its only jsut started in the last 2 weeks or so

  • JTable insert a row after the table is displayed.

    I'm using the SunOneStudio and when I define the columns and rows for the table. My problem is that I need to have a ADD button and to be able to insert a Row to this predefined table.
    I know it's pretty basic, but I'm stack in here.
    THANKS A LOT FOR YOUR HELP ..

    This thead should get you started:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=314155

  • Unable to insert rows in the Web ADI document

    Hi,
    I am facing issue with Web ADI document while inserting the new rows. I have configured the Web ADI to update the SIT information of employees. I am able to download the data, modify the data and upload it successfully. However, when I try to add new rows in the document, it says 'Context values cannot be changed'.
    Could anyone help me out as to what needs to be done to add new rows to the sheet ?
    Regards
    Jhansi

    There are certain areas of the Web ADI template where information cannot be changed, particularly in the Context area. Trying to change values in this area will result in the error

  • Insert rows in the ViewObject

    Hi forum,
    I'm implementing an application that imports data into a database.
    I insert 100.000 rows in a ViewObject and then I do a commit to the database after doing some operations in order to select which objects have to be imported.
    Is it possible to insert more then one row at the time,that is, something like a massive insertion?
    I'm asking this, because currently the application takes about 2 hours to perform the task.It's too long.
    Thank you

    Here's how I did it.
    1) Create the commit operation in your data binding. Bind to your AM.
    2) In your backing bean lookup the OperationBinding. (I used the ADFUtil.java from the StoreFrontModule example code for this.)
    OperationBinding commitOperation = ADFUtils.findOperation("Commit");
    3) Then just do:
    commitOperation.execute();
    Rodger...
    Edited by: rodger63 on Jan 5, 2010 1:24 PM
    Edited by: rodger63 on Jan 5, 2010 1:26 PM

  • MAX(ROWID) and inserting rows at the end of the table

    Hi,
    I know this will be another lame question but I simply didn't find the answer anywhere. I create ID (primary key) for rows manually so I have this code:
    String query = "SELECT * FROM CIS_SEG_SKUPINY WHERE ROWID=(SELECT MAX(ROWID) FROM CIS_SEG_SKUPINY)";
    rset = stmt.executeQuery(query);
    if (!rset.next()) {
    <p style="padding-left:10px">newID = new Number(1);
    System.out.println(newID);</p>
    else {
    <p style="padding-left:10px">rset.beforeFirst();
    while (rset.next()) {
    <p style="padding-left:20px">int lastID = rset.getInt("ID");
    System.out.println(lastID);
    newID = new Number(lastID + 1);
    System.out.println(newID);
    }</p>
    }</p>
    css.setId(newID);
    Row globalsRow = getGlobals().first();
    css.setKodSegSkupiny((String)globalsRow.getAttribute("GroupCode"));
    css.setPopis((String)globalsRow.getAttribute("Description"));
    css.setBarva((Number)globalsRow.getAttribute("Colour"));
    getDBTransaction().commit();
    When the table is empty newID is set to 1 and row inserted. Now I have one row in the table (with ID=1) so newID is set to 2 and row inserted BUT it is inserted BEFORE the first row. So when I try to insert third row lastID is 1 not 2. I tried to find some command which would insert new row after the last one but unfortunately I wasn't successfull.
    Edited by: Herald on Mar 28, 2009 11:11 AM

    Herald,
    I am sorry to say that there are so many things wrong with your approach, that I don't know where to begin...
    1). ROWID is a pseudo column in Oracle.. It has no meaning of first, last, middle, or otherwise. SELECT MAX(ROWID) will get you some row.
    2). In a relational database, there is no concept of first or last row in a table. If you expect the rows in some order, use an order by.
    3). Ignoring your implementation and addressing your intent - you should not be creating a primary key by getting the max already in the table and adding one. You will, using your technique, get duplicates in a multi-user scenario. If you fix your implementation to not give duplicates in a multi-user scenario (no, I won't show you how), you will use a table lock, and therefor inhibit scalability in a serious way.
    The proper and commonly accepted way to generate a numeric primary key in Oracle would be to use a sequence and a trigger to populate the sequence. Lots of examples to be found in this forum, but just have a read of the ADF Developers Guide for Forms/4GL Developers (for 10g) or the Fusion Developers Guide (for 11g) to find one. The term to search for would be DBSequence.
    John

  • InsertRow does not show the inserted row on the view

    hello:
    The code below works well and shows the row on the view when added. However, when there are several existing rows and I have to scroll to next pages. an insert button on that page does not show the new Row at all. Is there a way for me to see the row even if I scroll over to the last page and try an insert?
    ViewObject myVO = this.getMyView();
    Row newRow = myVO.createRow();
    newRow.setAttribute("Id", myId);
    myO.insertRow(newRow);
    Thanks

    Hi,
    I also have problems with code above for inserting a new row.
    When I insert a new row in a table and click on column header (to change sorting), that row (and any other new row before committing) disappears from table. And if I commit that table (without missing row), the missing row reappears with next refresh.
    Selection in that table (using SelectOne component with Autosubmit=true) also doesn't work with new rows (with existing rows it works fine). Selection allways sticks on first inserted row!
    Something weird is happening here...
    Please help.

  • How to insert row in the middle of a table so that the below content will move to another page?

    I'm making a huge form in LiveCycle Designer. I want to be able to add rows in the middle o the table but in a way that the content below will move down automatically in a way it doe's in Word for example.
    Sometimes I am adding a very high new row in the middle of a page and I want the content in the below rows to be moved to another page and if it is necessary I want a new page to be automatically created on the bottom of a document or something.
    Is this possible or do I have to move everything by hand if I add new row to a table?

    If you are adding the rows at the runtime by clicking a button, then you have to use the instance Manager to add rows.. It will add rows at the end and then you need to write code to move the row at the desired location by using the moveInstance method of the instanceManager.
    If you are adding a row at the design time, then you can right clcik the row and choose to add rows below.
    Thanks
    Srini

  • How to remove the Personalize link from the table layout displayed on Page.

    While i create a new page and a table layout is created on this page it displays a link called Personalize this table. For every table i create the same is displayed.
    If 10 such table layouts are there i get personalize options on all such 10 layouts on same page.
    If anyone of u knows @ this please help me out how to remove that link from the page.

    You can set the value for the profile FND: Personalization Region Link Enabled / FND_PERSONALIZATION_REGION_LINK_ENABLED to No.
    For additional information, please check the Personalization topic of the Oracle Application Framework Profile Options chapter in the OA Framework developer's guide.

  • RichTable moves Selected Row to the Top of my tableview on refresh

    When I issue a partialtrigger on a table with a selected Row, the selected row is repositioned to be the first Row that is available. The actual positions of the rows in the tables dont change, the selected row is just scrolled to the top... I need to suppress this behavior. Anyone have any Ideas?

    Without an exact jdve version we can't do much.
    Check these properties of hte table
    activeRowKey, displayRowKey and displayRow. Then read the doc for the properties and set them according your use case.
    Timo

  • After an upgrade to latest version of ff i get the message "to display this page ff must sendinfo that will repeat any anctio" i can not find a place to turn this off

    after an upgrade of ff i get the message (as a popup)
    "to display this page ff must send info that will repeat and acrtion"
    i have to delete it. it pops up after sending anything
    i have popups turned off

    You get an alert about resending POST data if you go back to a page or refresh a page that was previously requested from the server by submitting form data via a (hidden) POST form.<br />
    Firefox can only make sure to get the same page by resending that POST form.<br />
    Firefox doesn't know what that form data means, so Firefox asks for confirmation before resending that form data as such an action can cause you to repeat an action and buy another item or post a message another time.<br />
    A way to prevent that pop-up is not to use the Back button, but to open links from a page that was requested from a server by sending a POST form in a new tab (window) with a middle-click or a Ctrl + left-click.
    Then you can close that tab or window to go back.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

Maybe you are looking for