MASTER column of dba_snapshots

Hi,
I have a complex materialized view, means the select query of the materialized view have more than one table and have a group by clause.I have created it with "refresh fast with rowid" option.In the master column of dba_snapshots(which actually select data from snap_reftime$ table) view showing only one table.I just want to know on what basis a particular table name showing in the master column, i.e. I have more than one table in the select query of the materialized view and why not it is showing the any other table name.I have also found the table name showing in the master column is not the driving table of the select query, then on waht basis a particular table name get inserted in the snap_reftime$ or snap$ table for a complex materialized view.
Thanks in advance,
Koushik Chandra

Sorry in my previous post I have mentioned that I have created materialized view with "refresh fast with rowid" option, but actually I have created materialized view with "refresh force with rowid" option.
Thanks,
Koushik Chandra

Similar Messages

  • Cannot find Master Column in Outline view

    Hi Guys,
    We are using NWDS 7.1 Composition Environment SP05 for development.
    I am trying to do a Tree control nested in a Table.  I am at the point where I'm supposed to add the Master Column from the context menu in the Outline perspective - but it is not there!  I mean there is no entry called "Add Master Column" or somehting like that.
    What am I missing?
    Thank you.
    Christiaan

    Hi,
    Following is the way to add a master column in CE
    Right click on the table.
    Select Insert-> Row Arrangement->Tree ByNesting Table column.
    Regards
    Ayyapparaj

  • How to populate the master column in a table

    Hi Experts,
    I am trying to implement a hierarchy structure in a table. For that I have inserted a master column of TreeByNestingTableColumn type. The value which are getting displayed in a table are hard coded by me, but I am not able to understand how should I populate the values so that when the table initially appears, it should contain some data (which I hard code) and when I click the master column, it should expand and display value according the master column selected(which I again hard code).
    Please help me in achieving it.
    Regards
    Arjun

    Hi,
    Go throgh the tutorial "Creating a Tree Structure in a Table" in the blow link.
    Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
    In these example only the souce of data changes as per your requriement. In the examples they are reading data from java class.
    1. First you need to create a value node with (Parent Id, Boolean Type: isLeaf, Expanded, ChildernLoaded), attributes.
    2. Then you have to create one recursive node under that Value node by selecting that node as reference.
    3. As given in the example create one method called addChildern(Node, ParentId).
    4. Now in the wdDoInit method call this method by passing the Value node and "ROOT" as parent Ids
    5. In addChildern method if parentId is ''ROOT" then populate all the root elements in the parent node.
    6. Now root elements will be populated.
    7. When user clicks on any of the root element then invoke the action loadChildern(this should be binded to Master column) and pass recursive node of that parent element and the parenId (as given in the exmaple).
    8. Based on this parentId now populate the chids in addChildern method.
    See this thread: Helpful:
    Re: Tree implementation in webdynpro project
    Regards,
    Charan
    Regards,
    Charan

  • Warning in WD ABAP Table - Master Column Mapping deprecated

    Hi ,
    I am getting a warning 'Master Column Mapping deprecated' in a WD ABAP component while activating it .
    Can anybody suggest what I have to do to solve this issue .
    Best Regards
    Sid

    Hi,
    Could you please tell me how to take Row Arrangement in Master Column?
    Cheers
    Harkesh Dang

  • Table with tree view on master column

    Hi,
    I'm trying to generate a table with tree view on the master column and I get the table values from an RFC.
    The problem is that I need to control some properties like "expanded" or "isLeaf" and I can't add the value attributes to the model node to control the rows.
    Any ideia on how to overcome this (what i  think is a) problem?
    Thanks for the help.
    Pedro Barbosa

    Hi Subramanian,
    Maybe I didn't explain myself right. I also followed that tutorial with success but in this case i have on my custom controller:
    -MyNode (model node)
      - Output
        - MyTable
          - attribute 1 (model attribute)
    In my context/view controller the only way i can map that node is by using a model node referecing "MyTable" but this way i can't add any of my attributes to same level of the attributes (is that the ideia right?).
    I also tried to recreate the structure in the view with value nodes and value attributes with the same type as the model attributes and then bind them but i always get "Incompatible context element type".
    Am i missing something?
    Pedro Barbosa

  • Insert master column on table not found in NW CE EHP1

    I installed SAP Netweaver CE EHP1 sneak preview. I inserted the table UI element. I am trying to insert a master column in the table. But I was not able to find the option to insert master column from the context menu of the table in NW CE EHP1 sneak preview. I was able to do it with previous versions. I am not sure whether it is a bug on this version. Any help is appreciated.
    Thanks

    Go to Context Menu of the table and select to insert Row arrangement then you see tree by nesting table column.

  • How to use Radiobutton Cell Editor in Table using Master Column

    Hi Guys,
    I have a Table that uses a Master Column.  I need to have a field that uses a Radio Button type cell editor.  A user should only be ably to select ONE row via the Radio Button at a time.
    I have done all this but I only seem to be able to select multiple radio buttons instead of only one.  It is like the radio buttons do not get "regognised" as a group.  Could you please advise as I probably set the "keyToSelect" and "selectedKey" properties incorrectly.
    tks
    Christiaan

    I think the following should work:
    Context:
    Rows (node,c=0:n)
    --- rowIndex (integer)
    selectedRowIndex (integer)
    Bind the "selectedKey" property of the radio button (cell editor) to attribute "selectedRowIndex" (outside table data source node) and bind "keyToSelect" to attribute "Rows.rowIndex". Make sure that the "rowIndex" attribute will contain the index of the node element in node "Rows".
    Armin

  • Need to filter the Master Column

    Hi Experts,
    I need to filter a master column in my wd table. I am not finding an option to get the filter text in VewController. Master column of the filter row is not enabled to enter filter text. Can some one suggest me how can I proceed to make filter enabled for master column?
    Thanks in advance.

    Hi,
    If you are using table UI element, you have to do some bit of coding to get the filter row.
    1. Define a context node with cardinality 1..1. This node should have the attribute(s) for which a filter is required, and the attribute should be that same data type as that of the column attribute.
    2. In the layout tab, for the specific table column for which filter is needed, bind the 'filterValue' property to the corresponding attribute created in step 1.
    3. Define and implement an event handler for the 'onFilter' event of the table. This event handler should programatically filter the table.
    Now, in the layout itself you should see the 'Filter row' for the table.
    Hope this helps,
    Regards,
    Wenonah

  • CE 7.1 - Master Column?

    Hi there,
    i'm currently working with WD on CE 7.1 SPS06 and looking for as possiblity to have a tree nested into a table.
    In 7.0 a TableCell called "Master Cell" or "TreeByNestingTableColumn" existed. Well I've been looking for a reference and found this:
    [TreeByNestingTableColumn on Help.sap.com|http://help.sap.com/saphelp_nwce10/helpdata/en/86/bf1c4253afda2ce10000000a1550b0/content.htm]
    [TreeByNestingTableColumn Javadoc 7.1|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractMasterTableColumn.html]
    But i can't find out how to insert such a column to my table any more. I dont have a Contextmenu called "Insert Master Column" which i had in 7.0
    Any ideas? Helpful answers will receive points,
    Best Regards,
    Michael

    Hi Armin,
    thanks alot.
    found it and finished my application. rewarded points for you
    going to like CE more and more.
    btw. any idea if its possible to create context-binding to a recursive node directly? someone here wrote some time ago that this may be possible in later releases.
    best regards,
    michael

  • Multiselection in Tables with Master Column

    The use case is the following:
    I have a table with a master column in which I display a tree. The table is bound to a dataSource with a recursive node.
    I'd like to implement multiple selection for the rows of this table, but it doesn't work (even when making context node's selection 0..n).
    Is there any work-around for solving this problem?

    Thanks for the suggestion.
    But there is still problem with this:
    I will have have two methods for selection of rows of the table - there will be standart one which is provided by webdynpro and additionaly I will have a column of checkboxes. It is not convinient form user-perspective. Furthermore I can't put columns on the left of the master column which is also a problem, the checkboxes should be situated in the firs column.
    Regards, Vasil

  • Selection in table with Master Column

    Hi,
    can anybody explain me how selection works in table with MasterColumn (TreeByNestingTableColumn)?
    I've created a table with several columns and the "master" one behaves differently from others.
    First of all, leaf elements of master column are not clickable (i.e. I don't receive notification "onLeadSelect" from the table, when user clicks in the cell of leaf element of the column). With expandable elements I receive loadchildren event and can react on selection.
    I'm using TextView as cell editor, will try LinkToAction, may be it will resolve situation, but it's rather workaround as solution
    Second, getLeadSelection doesn't work anymore for the table - it works with indexes of top level elements only.
    However onLeadSelect action brings me selected row number, which I somehow should map to the tree.
    I.e. when I get "25" as selected element, I recursively traverse context node to find 25th element. Which is rather slow operation as for any selection I have to reiterate whole structure and I hope that visual appearance is similar to context element order.
    May be there is simplier ways to get selected element by its index in "flat" list?
    And one another strange thing: first click on the table sends me onLeadSelect "0", but highlight points to the element user clicked - not necessary first one.
    Context node is "single" selection, initLeadSelect=true,
    selection = 0..1 (with 1..1 setTreeSelection doesn't work - method I want to use to be able to select a node in hierarchy on my own)
    all quite similar to other tables I have, which works well. Just the problems with the table, where Master Column is used.
    Thank you!
    Best regards,
    Nick

    >Valery's proposal was to perform reverse traverse from current element to root and summarize parent element indexes.
    It seems to work:
    in method, which sets selection I applied
    // we need to know index of the element not in whole context, but in scope of table-relevant node
    int index = getIndexInContext(selElement, wdContext.currentXXXElement());
    IContextElement curContext = wdContext.currentContextElement();
    int firstVisibleRow = curContext.getTableFirstVisibleRow();
    int visibleRows = curContext.getTableVisibleRows();
    if (index < firstVisibleRow || index > firstVisibleRow + visibleRows) {
    curContext.setTableFirstVisibleRow(index);
    and method getIndexInContext looks as:
        private int getIndexInContext (IWDNodeElement element, IWDNodeElement root) {
              int index = element.index();
              if (element == root) {
                   return index;
              IWDNodeElement parent = element.node().getParentElement();
              if (parent == null) {
    // do whatever you like here for error diagnostic
                   myMsgMgr.reportException("Internal Error: getIndexInContext - element is not under passed root", false);
                   return 0;
              // +1 - every level adds 1 (otherwise indexes of first children of hierarchy will be 0)
              return  index + getIndexInContext(parent, root) + 1;
    Best regards,
    Nick

  • Master column tree - bad performance

    Hello,
    I have a table with master column that uses recursive node without Load Children event. the whole table loads at startup. I Have very bad performance : every click on the little triangle takes about 6-7 seconds, and there is even no round-trip to server because all data is already at the client!
    I need to show list of products by there family (50 families, each has 10 products). How can i imporve my performance (maybe server configuration or my code or another method)
    I work with ep 7 sp12.
    Thanks
    Roni.

    Hi Roni,
    Yes, you have to manipulate the add element on before loading the tree.  Best Practice is to use onLoadChildren event. Loading the tree at once will always have performance issues.
    Refer to these tutorial for creating tree using onLoadChildren event.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf">Recursive Loadable Tree</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/integration%20of%20a%20tree%20structure%20in%20a%20web%20dynpro%20table.pdf">Integration of Tree Structure in Table</a>
    There are no limitations on this UI control, you can stay with any number of levels.
    Regards
    Srikanth

  • Check boxes in Master Column

    Hi All,
    I have a table for which the data is coming from a BAPI. Now, I wish to have checkboxes in from of every row that has populated, for this I am inserting a Master Column and inside master column I am taking checkboxes as Cell Editor. The issue is that at runtime the master column is visible but the checkboxes are not visible. Please guide me how to make the checkboxes visible.

    Hi,
    Just check the properties of the checkbox at runtime as they are same in the design time.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/727e41080b1709e10000000a155106/frameset.htm
    thanks
    Suresh

  • Master Column Sequence in Table

    Hello,
    Is there any way to move Master Column like TableTree to the second place and let a normal column have the first seat?
    Thanks

    Alternatively:
    SQL>  select table_name,
           trim (dbms_xmlgen.getxmltype ('select max(sal) m from ' || table_name).extract ('//text()')) max_sal
      from user_tab_cols
    where column_name = 'SAL'
    TABLE_NAME                     MAX_SAL                      
    BONUS                                                       
    EMP                            5000                         
    2 rows selected.

  • Need Master-Detail relation to link Master column to 2 different detail col

    I have a form with a master detail relation. The master block is a database table rec_shipments with a primary key of shipment_id and a bunch of other columns. The detail block is a table rec_containers with a container_id as the primary key plus column shipment_id, split_shipment_id, weight, volume, etc. The shipment_id and split_shipment_id are nullable.
    When a shipment is received a shipment record is created and container records are created with the shipment_id populated and the split_shipment_id null. In the form a relation was created between the shipment block and the container block as shipment_id=shipment_id. This works fine. However, they have the ability to spit the original containers into smaller more manageable containers for distribution. For example if they receive a railroad car full of pallets of printer paper they may take and divide them, half into 1 rolloff bin and half into another rolloff bin. The rolloff bins will get a unique container_id for tracking. The record in the system created in the rec_containers table will have the split_shipment_id populated and the shipment_id null. In the screen they want to see the original containers (railroad car) and the split containers (rolloff bins) when the query the shipment.
    What they want:
    Shipment_id -- and additional information
    Railroad Car ID plus additional information
    Rolloff Bin 1 ID plus additional information
    Rolloff Bin 2 ID plus additional information
    My problem is the rolloff bins don't show up with the current relation because the shipment_id is null in the 2 rolloff bin records.
    I've tried creating a view on the rec_containers table that is all the columns in the table plus 1 additional column that is
    nvl(shipment_id,split_shipment_id) comp_ship_id
    and set the relation to shipment_id=comp_shipment_id. I set the comp_shipment_id column to query yes and insert & update to no because I don't want to update that column in the view.
    The problem is I can't update any columns, I get a can't reserve record for update or delete error.
    Does anyone have any ideas how I can get the containers block to query all records where the shipment_id or split_shipment_id matches the shipment block shipment_id and still be able to update the records?
    Thanks for any help.

    Your idea of using a view is the best approach. In order to make the block updateable, you have to sst the property "Query only" for your derived item to "Yes". Witn this, the column will not be included in any further dml. About the locking... it may be that forms isn't anymore able to do proper locking when a block is based on a view. In that case, put an ON-LOCK-trigger on the block and lock the record by yourself doing y SELECT FOR UPDATE NOWAIT on the record. To just try if this would work you use a NULL in the ON-LOCK just to xheck if the dml-operations itself will work. if your view is based on only one table you have good chances that there is nothing to change, if you get an error like "View not updateable", you have to do some further adjustments
    -Set the key-Mode for the block to "Non-updateable"
    -Set the property "Primary key" to "Yes" for the pk-item in your block.
    hope this helps

Maybe you are looking for

  • Data Selection in Infopkg

    Hi Gurus: For a particular field in 'Data selection tab' I have to write a code that reads a flat file (range of values for the field), puts in a internal table & then poulates the field in the I.pkg with all the different values stored in the intern

  • HTTP Receiver Adapter : Dynamic URL

    Hi, I have a scenario where I wish to build a dynamic URL for the HTTP Receiver Adapter. The URL will contain a customer number which is present in the mapping. The help seems to suggest that this is possible : <i>If you want to use an HTTP destinati

  • User first/last name assigned to user id?

    Hi All, Is there a table out there which links User Idz to First?last name of user? let me know ciao!

  • HOW can I reduce space at top/bottom of inline or floating objects in text?

    To fit space horizontally (left and right) works fine, but vertically (top and bottom of object) does not do much to match (text is 10-on-11pt, object abt. 2 x 1 ins).

  • Is it okay to get about 1-2 charge cycles a day?

    I use my laptop off battery almost all the time. I had a friend tell me to always unplug it when its 100% and then use it until its like 10-20% and then plug it back in. I have 9 cycles after having this laptop for 7 days. Oh, if it counts i dont tak