Hierarchies on Sets

Hi Friends,
Can anyone please send me a ste by step doc or a link on how to create hierarchies on R/3 Sets.
This will be of great help.
Regards
Ananth

tcode - bw07 - give the name of the table and field, specify ur own name for the datasource or else the system would derive it for you - and generate
Check this thread too:
Up grade 3.5 to BI 7.0
compounding in ZXRSAU04
ZXRSAU04 - programming for compounding in hierarchy
Message was edited by:
        voodi

Similar Messages

  • AdvancedDataGrid - create Array (cfquery) with children for hierarchical data set

    I'm trying to create an AdvancedDataGrid with a hierarchical
    data set as shown below. The problem that I am having is how to
    call the data from a ColdFusion remote call and not an
    ArrayCollection inside of the Flex app (as below). I'm guessing
    that the problem is with the CFC that I've created which builds an
    array with children. I assume that the structure of the children is
    the issue. Any thoughts?
    Flex App without Remoting:
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=advdatagrid_10.html
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/GroupADGChartRenderer.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var dpHierarchy:ArrayCollection= new
    ArrayCollection([
    {name:"Barbara Jennings", region: "Arizona", total:70,
    children:[
    {detail:[{amount:5}]}]},
    {name:"Dana Binn", region: "Arizona", total:130, children:[
    {detail:[{amount:15}]}]},
    {name:"Joe Smith", region: "California", total:229,
    children:[
    {detail:[{amount:26}]}]},
    {name:"Alice Treu", region: "California", total:230,
    children:[
    {detail:[{amount:159}]}
    ]]>
    </mx:Script>
    <mx:AdvancedDataGrid id="myADG"
    width="100%" height="100%"
    variableRowHeight="true">
    <mx:dataProvider>
    <mx:HierarchicalData source="{dpHierarchy}"/>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    <mx:AdvancedDataGridColumn dataField="total"
    headerText="Total"/>
    </mx:columns>
    <mx:rendererProviders>
    <mx:AdvancedDataGridRendererProvider
    dataField="detail"
    renderer="myComponents.ChartRenderer"
    columnIndex="0"
    columnSpan="0"/>
    </mx:rendererProviders>
    </mx:AdvancedDataGrid>
    </mx:Application>
    CFC - where I am trying to create an Array to send back to
    the Flex App
    <cfset aPackages = ArrayNew(1)>
    <cfset aDetails = ArrayNew(1)>
    <cfloop query="getPackages">
    <cfset i = getPackages.CurrentRow>
    <cfset aPackages
    = StructNew()>
    <cfset aPackages['name'] = name >
    <cfset aPackages
    ['region'] = region >
    <cfset aPackages['total'] = total >
    <cfset aDetails
    = StructNew()>
    <cfset aDetails['amount'] = amount >
    <cfset aPackages
    ['children'] = aDetails >
    </cfloop>
    <cfreturn aPackages>

    I had similar problems attempting to create an Array of
    Arrays in a CFC, so I created two differents scripts - one in CF
    and one in Flex - to build Hierarchical Data from a query result.
    The script in CF builds an Hierarchical XML document which is then
    easily accepted as HIerarchical Data in Flex. The script in Flex
    loops over the query Object that is returned as an Array
    Collection. It took me so long to create the XML script, and I now
    regret it, since it is not easy to maintain and keep dynamic.
    However, it only took me a short while to build this ActionScript
    logic, which I quite like now (though it is not [
    yet ] dynamic, and currently only handles two levels of
    Hierarchy):
    (this is the main part of my WebService result handler)....
    // Create a new Array Collection to store the Hierarchical
    Data from the WebService Result
    var categories:ArrayCollection = new ArrayCollection();
    // Create an Object variable to store the parent-level
    objects
    var category:Object;
    // Create an Object variable to store the child-level
    objects
    var subCategory:Object;
    // Loop through each Object in the WebService Result
    for each (var object:Object in results)
    // Create a new Array Collection as a copy of the Array
    Collection of Hierarchical Data
    var thisCategory:ArrayCollection = new
    ArrayCollection(categories.toArray());
    // Create a new instance of the Filter Function Class
    var filterFunction:FilterFunction = new FilterFunction();
    // Create Filter on the Array Collection to return only
    those records with the specified Category Name
    thisCategory.filterFunction =
    filterFunction.NameValueFilter("NAMETXT", object["CATNAMETXT"]);
    // Refresh the Array Collection to apply the Filter
    thisCategory.refresh();
    // If the Array Collection has records, the Category Name
    exists, so use the one Object in the Collection to add Children to
    if (thisCategory.length)
    category = thisCategory.getItemAt(0);
    // If the Array Collection has no records, the Category Name
    does not exist, so create a new Object
    else
    // Create a new parent-level Object
    category = new Object();
    // Create and set the Name property of the parent-level
    Object
    category["NAMETXT"] = object["CATNAMETXT"];
    // Create a Children property as a new Array
    category["children"] = new Array();
    // Add the parent-level Object to the Array Collection
    categories.addItem(category);
    // Create a new child-level Object as a copy of the Object
    in the WebService Result
    subCategory = object;
    // Create and set the Name property of the child-level
    Object
    subCategory["NAMETXT"] = object["SUBCATNAMETXT"];
    // Add the child-level Object to the Array of Children on
    the parent-level Object
    category["children"].push(subCategory);
    // Convert the Array Collection to a Hierarchical Data
    Object and use it as the Data Provider for the Advanced Data Grid
    advancedDataGrid.dataProvider = new
    HierarchicalData(categories);

  • BPC7.5NW: Set Filters by Attributes or Hierarchies

    Hi Experts,
    When running the Data Manager Package to import Master Data, under the 'Set Selection', there's a selection "Set Filters by Attributes and Hierarchies" OR "Set Filters by Attributes or Hierarchies". May I know:
    1. What is the functionality of this selection?
    2. What is the difference between these 2 options?
    Please advise. Thanks.
    Best Regards,
    Kenneth

    Hi Kenneth,
    I noticed Attributes & Hierarchy option is working as intersection of those selections while bringing text(descriptions)
    and Attributes or Hierarchy option is working as union of those selections. So with first option there are chances that texts(evdescription) for Text nodes(which does not exist in attributes table but exist in Hierarchy as folders) missing(not transferred to BPC). So Attributes or hierarchy option is pulling everything required with both the selections(attributes condition and Hierarchy condition).
    -Kalyan.
    Edited by: Kalyan.Undavally on Jul 28, 2011 6:17 PM

  • Webdynpro :: Hierarchical ALV display

    Hello All,
    I am new to Webdynpro ABAP. I am having a problem in ALV Hierarchical List display.
    As per my requirement, I need to display an ALV Hierarchical List with first column as Hierarchical column.
    Hierarchical level shpuld be up to 6 levels.
    I have made the table as Hierarchical table , set the column as hierarchy.
    I am able to display only one node and one leaf.
    Sample Code:
    data : alv_config_table type ref to CL_SALV_WD_CONFIG_TABLE.
      wd_this->alv_config_table->if_salv_wd_table_settings~set_display_type(
                if_salv_wd_c_table_settings=>display_type_hierarchy ).
      DATA : lr_column_hier  TYPE REF TO cl_salv_wd_column.
    lr_column_hier = wd_this->alv_config_table->if_salv_wd_column_settings~get_column( 'NODE_CONTENT' ).
      lr_column_hier->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).
    Anyone can suggest, how I can display multi level hierarchy for the same column.
    Thanks in advance for yours inputs.
    Hari Gajula

    Hi,
    You can refer this article: [ALV and Standard Table as Hierarchy in Web Dynpro ABAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f].
    I hope it helps.
    Regards
    Arjun

  • Problem with skip-level hierarchies

    Hi,
    I have created metadata using CWM2 procedures. These procedures allow define skip-level or ragged hierarchies.
    I created skip-level hierarchies by setting null values to several keys in dimension table.
    The result is... OLAP did not created cursor error, when I try to drill that hiuerarchy?
    Why?
    How to build BIBeans compatible skip-level hierarchies and?
    My next question: Is it possible to use BIBeans with fact tables which contain embedded totals?
    Slawek.

    Hello Vicky,
    Products created in R/3 can always be downloaded to CRM using the download object MATERIAL.
    But products created in CRM could not be recovered back unless you archive them in CRM.
    In order to delete the materials in CRM , you can use report COM_PRODUCT_DELETE_SINGLE or COM_PRODUCT_DELETE_ALL.
    You can then download these materials from R/3.
    Or you can have your own Z-report using the above standard report, where you can pass on the material id or range.
    Also,please note that before executing these reports, you need to make an entry in table COMC_PR_TOOL_REG.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Hierarchical Linq to sql query

    I am querying 2 result sets and need to return a nested result set with specific fields.  What is the best way to filter the nested fields out of the query.
    Ex:
    Dim oBallotMeasures = From ballot In dc.sp_SelectBallotMeasures(Nothing, id)
    Group Join infoSources In dc.sp_SelectBallotMeasureInfo(Nothing, id)
    On ballot.Measure_Id Equals infoSources.Measure_Id
    Into MeasureInfo = Group
    Select ballot.Measure_id, ballot.Name, MeasureInfo
    MeasureInfo includes fields that I do not want to return.  How can I filter out some of the records, but keep the hierarchical structure?
    Desired result:
    [Measure_id: 1
    Name: Name 1
    MeasureInfo: [MeasureInfoName: 1
                        [MeasureInfoName: 2
    [Measure_id: 2
    Name: Name 2
    MeasureInfo: [MeasureInfoName: 1
                        [MeasureInfoName: 2
    Current result:
    [Measure_id: 1
    Name: Name 1
    MeasureInfo: [MeasureInfoName: 1
                         MeasureInfoOtherInfo: xyz
                        [MeasureInfoName: 2
                         MeasureInfoOtherInfo: xyz
    [Measure_id: 2
    Name: Name 2
    MeasureInfo: [MeasureInfoName: 1
                         MeasureInfoOtherInfo: xyz
                        [MeasureInfoName: 2
                         MeasureInfoOtherInfo: xyz
    Also, is there any easier way to create a hierarchical result set?
    RobertRFreeman

    Hello RobertRFreeman,
    From your description, it seems that your result sets will already be in local, so you could create DTO class to specify the returned column you want. For example,
    DTO classes:
    Public Class OrderDTO
    Property OrderID As Integer
    Property OrderName As String
    Property OrderDetailName As Object
    End Class
    Public Class OrderDetailDTO
    Property OrderDetailName As String
    End Class
    The LINQ query:
    Using db As DFDBEntities1 = New DFDBEntities1
    Dim result = (From o In db.Orders.ToList
    Group Join od In db.OrderDetails.ToList On o.OrderID Equals od.OrderID
    Into OOD = Group
    Select New OrderDTO With {
    .OrderID = o.OrderID,
    .OrderName = o.OrderName,
    .OrderDetailName = From oood In OOD
    Select New OrderDetailDTO With {.OrderDetailName = oood.OrderDetailName}}).ToList
    End Using
    It will return OrderID, OrderName and a collection which contains OrderDetailName column only I want. Please have a try and note this approach is used LINQ to Objects, while for using LINQ to Entities, unfortunately, the LINQ to Entities does not support
    such a cast.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Needed all the details about BC SETS

    HI,
    THIS IS BALAJI.T
    AND MY EMAIL ID IS [email protected]
    WHAT DO U MEAN BY "BPIA".  THEN IF YOU KNOW ABOUT THIS ALSO YOU CAN SEND TO MY EMAIL ID.  PLZ..........
    I NEED ALL THE INFORMATION RELATED TO BC SETS AND IF IT IS ALREADY AVAILABLE IN ECC 6.0  THEN IF SOME ONE KNOWS HOW TO ACTIVATE IT YOU CAN SEND THE INFORMATION THRU MY EMAIL ID.
    LITTLE INFORMATION GIVEN ALSO WILL BE REWRDED
    WHY BCZ SOME COMPANIES ARE FOLLOWING THE CONCEPT OF BC SETS FOR THEIR CONFIGURATION PURPOSE.
    AND
    TO COMPLETE THE GIVEN PROJECT WITH IN THE TAGET TIME
    REGARDS,
    BALAJI.T
    09990019711.

    Hi,
    See this link for building blocks, select anyone you may find out how to down load building block
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    i am also enclosing the same here
    1     Purpose
    To review the configurations in the building blocks, you can download the tables containing the relevant data for your configuration from a BC Set. You can find the BC sets in the master list document of the specific building block. The data is displayed in the SAP system using a specific function module. The displayed tables can be downloaded in different file formats.
    And, you can go to the IMG from the BC set display screen.
    2     Downloading Data Tables from BC Sets
    Procedure
    To download the tables from BC Set or several tables from a hierarchical BC Set, perform the following steps:
    1.     On the SAP Easy Access screen, enter transaction code SCPR3.
    2.     On the Business Configuration Sets: Display screen, choose   and select Select by Attributes.
    3.     In the Select by Attributes dialog box, in BC Set ID, enter the hierarchical BC set or individual BC set whose tables you would like to download, and choose Execute.
    4.     On the application menu bar, choose BC Set &#61614; Print…
    5.     In the BC Set: Overall View dialog box, select Display Data Records and Display IMG Path.
    6.     Choose Display. The BC Set Overall View is displayed.
    7.     If you want to go to the IMG from here, choose Implementation Guide and you are taken to the Display IMG screen.
    8.     If you want to save a file, from the menu bar, choose List &#61614; Save/Send &#61614; File...
    9.     In the Save list in file dialog box, select a format and choose Continue.
    Result
    The data tables are downloaded from BC sets.
    3     Displaying IMG from the BC Set Display Screen
    Procedure
    1.     On the SAP Easy Access screen, enter transaction code SCPR3.
    2.     On the Business Configuration Sets: Display screen, choose   and select Select by Attributes.
    3.     In the Select by Attributes dialog box, in BC Set ID, enter the hierarchical BC set or individual BC set whose tables you would like to download, and choose Execute.
    4.     On the application menu bar, choose Goto &#8594; Implementation Guide (IMG).
    5.     On the Display IMG, select the desired activity.
    Result
    You are now on the IMG screen.
    regards
    chidambaram

  • Activate bc sets with a transport

    Hi groupies,
    i am looking for an possibility to activate a bc-set and get a transport for this.
    do someone know the transaction for this?
    We have a 2 systemlandscape for solution managers and i want to transport all things.
    /greetings ncio

    Hi Nico,
    You can use the following methods to activate BC Sets-
    --Choose Tools -> Customizing -> Business Configuration Sets ->Activation in the SAP menu,
    or
    --enter the transaction code SCPR20 in the command field.
    --Enter the name of the BC Set which you want to activate.
        --Choose Bus.Conf.Set-> Activate or the Activate pushbutton.
    The following Activation Options dialog gives you information about the activation. The Activation Options dialog contains all activation-relevant information. There is no longer a Simulation function pushbutton. The simulation is implicit, i.e. any problem messages are shown in the Messages field in the Activation Options dialog.
    -Some additional info
    To simulate an activation:
    Choose a BC Set in the activation transaction (SCPR20).
    Choose the Activate pushbutton or the menu path BC Set ? Activate 
    If the BC Set contains variable values, you are prompted for them. Enter the values and confirm your entries with the Copy Values pushbutton.
    Choose the Cancel with Log pushbutton in the following activation option dialog.
    Result:
    The message Activation simulated appears in the status row.
    You can see the activation simulation log with the Activation Log pushbutton.
    The dialog also tells you the:
    Activator
    Activation date
    Source system
    Target system
    Target client
    System request
    Customizing request
    Activation links
    Activation language
    You can:
    Overwrite data: You can specify whether default values are to be overwritten by the activation, i.e. whether all the values of the BC Set are written into the system tables by the activation (possibly overwriting values in the system tables), or only the values with the fix attribute are overwritten.
    In this way, you can overwrite only the global values from company headquarters, without affecting the local default valuese, in a global rollout with BC Sets.
    Select activation mode: If you have the required authorization, you can activate in expert mode.
    Enter the transport request number when asked for a Customizing transport request and choose Continue.
    If the BC Set contains non-customizing-relevant data, e.g. master data, you are prompted for two transport requests. Enter both numbers and choose Continue.
    If some fields in a BC Set are defined as Variable, the Enter Variables dialog box appears. All fields which were given the Variable (Get Value) attribute when the BC Set was created, and are flagged with this icon in the table, are listed here. If several data records in one of these fields have the same values, the name of this field only appears once in the dialog box. The Value column contains the default values. If the values are different for each data record, the default value is displayed in the Value column for each data record. You can overwrite proposed values and choose Copy Values.
    One default value is usually the current value of the BC Set. If the user has already changed the value, the last value entered is proposed.
    If there are short texts for the data records in the Variable Field Text tab, they appear at activation in the Value column instead of the original field names.
    A warning that original tables are overwritten by activation of BC Sets appears. Choose one of the following three options:
    1.     To proceed with the activation, choose Activation.
    If several BC Sets are being activated, only those which have not yet sent an error message are activated.
    2.     To simulate activation, choose Simulation.
    Simulation tests part of the activation procedure and creates an activation log. The log tells the user whether the simulated activation reached a certain point. A successful simulation does not guarantee the success of a subsequent activation. The errors in a simulation would occur during activation.
    Simulations write no data in customizing tables or transports.
    3.     To cancel the activation, choose Cancel.
    The system checks for key conflicts in the BC Set.
    Key conflicts occur if there are two data records in a hierarchical BC Set with the same key but different values. In this case it is not clear which of the values is to be put in the original tables. The activation is cancelled if key conflicts occur.
    Best Regards,
    Saumya

  • BC Sets  /  Building Block

    Dear All,
    Please let me know information abt BC Sets.
    I have created one BC Set. NOw i would like to transfer to another Client (i mean different server).
    Is the BC set only called Building block ? or there are are some more steps involved after creating BC set.
    expecting reply  for your end.
    thanks,
    GHS.

    Hi,
    First of all pls check if any RFC is required for transfer.
    Pls go thru the below text, hope it is useful.....
    A Business Configuration set (BC Set) is a management tool that allows users to record, save and share customized settings. Customers can either use BC sets provided by SAP (for select industries) or create their own.
    When a BC Set is created, values and combinations of values are copied from the original Customizing tables into the BC Set and can be copied into in the tables, views and view clusters in the customer system. The BC Sets are always transported into the customer system in which Customizing is performed. The loading of BC Sets is logged by the system, i.e. which BC Set was copied when into the system, and any errors which occurred. This information is significant for Continuous Change and Upgrade.
    Uses
    BC sets can be later on used as a template.
    They provide continuity.
    Prevent project team members from over writing each others settings.
    Advantages
    Efficient group rollout.
    Industry sector systems are easier to create and maintain.
    Customizing can be performed at a business level.
    Change Management is quicker and safer.
    Upgrade is simpler.
    Recommendation
    Keep your BC Sets as small as possible to preserve comprehensibility and reusability. You can model complex data in hierarchical BC Sets.
    ...Reward points if useful.....

  • BC sets & Implementation timelines

    Hi,
    I would like to know about Business configuration( BC) sets and ways to reduce implementation timelines?
    Regards,,
    Nishant Kansara

    Hi Nishant,
    In the R/3 system from SAP, a Business Configuration Set (BC Set) is a management tool that allows the user to record, save, and share customized settings.
    By creating a BC Set, the user is provided with a snapshot of the customized settings of a system that can be used later on as a template; SAP also provides pre-packaged BC sets designed for specific industries and applications.
    BC Sets are useful because they provide continuity and prevent project team members from overwriting each other's settings.
    They can also be used for a group rollout, where the customizing settings are bundled by the group headquarters and passed on in a structured way to its subsidiaries.
    When a BC Set is created, values and combinations of values are copied from the original Customizing tables into the BC Set and can be copied into in the tables, views and view clusters in the customer system. The BC Sets are always transported into the customer system in which Customizing is performed.
    The loading of BC Sets is logged by the system, i.e. which BC Set was copied when into the system, and any errors which occurred. This information is significant for Continuous Change and Upgrade.
    There are two kinds of BC Sets:
    ·        BC Sets (previously sometimes referred to as "simple BC Sets")
    ·        Hierarchical BC Sets
    A BC Set is identified by the following attributes:
    ·        Name
    ·        Type (simple or hierarchical)
    ·        Release
    ·        Software component
    ·        Last changed by (person), on (date) and at (time)
    BC Sets
    A BC Set can contain data from one or more IMG activities. Each IMG activity is listed separately with its Customizing objects (tables or views). The data is selected by table columns and rows, each column is a field, each row a record.
    Advantages of using BC Sets:
    ·         Efficient group rollout.
    ·         Industry sector systems are easier to create and maintain.
    ·         Customizing can be performed at a business level.
    ·         Change Management is quicker and safer.
    ·         Upgrade is simpler.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • MODEL clause using CONNECY BY PRIOR

    Hello.
    I have the following table, CONTEXT_MAPPING:
    Name Null? Type
    ID NOT NULL NUMBER(38)
    CONTEXT_ITEM NOT NULL VARCHAR2(30)
    ID_1 NUMBER(38)
    ID_2 NUMBER(38)
    ID_3 NUMBER(38)
    ID_4 NUMBER(38)
    ID_5 NUMBER(38)
    It's a self referencing table, i.e. ID_1 will refer to an ID from another row in CONTEXT_MAPPING, and the same for ID_2/3/4/5.
    Easily illustrated through the following hierarchical data:
    ID CONTEXT_ITEM ID1 ID2 ID3 ID4 ID5
    1 P_DMA_NDA_ID
    2 P_DS_NDA_ID 1
    3 P_AST_NDA_ID 2 1
    4 P_AGI_ID 3
    5 P_ASG_NDA_ID 3
    6 P_NTS_FACTS 5 5
    7 P_IDE_VALUE 2 1
    8 P_EIT_VALUE 2 1
    9 P_TRI_TABLE 4 6 7 8
    10 P_TRI 9
    11 P_PRICE1 6 10 6
    12 P_PRICE2 6 10 6
    What I want to do, is for any context item, to identify ALL of its dependencies throughout the tree.
    For example:
    P_PRICE2 has a link to P_NTS_FACTS (ID1 & ID3 = 6) and P_TRI (ID2 = 10)
    P_NTS_FACTS has a link to P_ASG_NDA_ID (ID1 & ID2 = 5), which in turn links to P_AST_NDA_ID (ID1 = 3)...
    P_TRI has a link to P_TRI_TABLE (ID1 = 9), which in turn links to multiple context items (ID1 = 4, ID2 = 6 etc.) ....
    ....and so on, until we get to the "root" record, P_DMA_NDA_ID.
    So, to see the complete dependency tree for P_PRICE2, I would expect to see a hierarchical result-set like this:
    ID CONTEXT_ITEM ID1 ID2 ID3 ID4 ID5
    12 P_PRICE2 6 10 6
    10 P_TRI 9
    9 P_TRI_TABLE 4 6 7 8
    4 P_AGI_ID 3
    6 P_NTS_FACTS 5 5
    5 P_ASG_NDA_ID 3
    3 P_AST_NDA_ID 2 1
    7 P_IDE_VALUE 2 1
    8 P_EIT_VALUE 2 1
    2 P_DS_NDA_ID 1
    1 P_DMA_NDA_ID
    Ideally I want to do this in a single SQL statement - I've tried using CONNECT BY PRIOR in conjunction with LEVEL to do this, but it only performs a hierarchical join for a single child-parent relationship, and I need this to work for up to five children.
    Was starting to wonder if I could use the MODEL clause in conjunction with CONNECT BY PRIOR to achieve this - does anyone have any idea whether this type of recursion is possible?
    Thanks,
    Ray

    it only performs a hierarchical join for a single child-parent relationshipBeg to differ.
    Oracle Database 10g Release 10.2.0.2.0 - Production
    SQL> CREATE TABLE context_mapping (
      2     id NUMBER(38),
      3     context_item VARCHAR2(30),
      4     id_1 NUMBER(38),
      5     id_2 NUMBER(38),
      6     id_3 NUMBER(38),
      7     id_4 NUMBER(38),
      8     id_5 NUMBER(38));
    Table created.
    SQL> INSERT INTO context_mapping VALUES (1, 'P_DMA_NDA_ID', NULL, NULL, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (2, 'P_DS_NDA_ID', 1, NULL, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (3, 'P_AST_NDA_ID', 2, 1, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (4, 'P_AGI_ID', 3, NULL, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (5, 'P_ASG_NDA_ID', 3, NULL, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (6, 'P_NTS_FACTS', 5, 5, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (7, 'P_IDE_VALUE', 2, 1, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (8, 'P_EIT_VALUE', 2, 1, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (9, 'P_TRI_TABLE', 4, 6, 7, 8, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (10, 'P_TRI', 9, NULL, NULL, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (11, 'P_PRICE1', 6, 10, 6, NULL, NULL);
    1 row created.
    SQL> INSERT INTO context_mapping VALUES (12, 'P_PRICE2', 6, 10, 6, NULL, NULL);
    1 row created.
    SQL> SELECT DISTINCT id, context_item, id_1, id_2, id_3, id_4, id_5
      2  FROM   context_mapping
      3  START WITH id = 12
      4  CONNECT BY id IN (PRIOR id_1, PRIOR id_2, PRIOR id_3, PRIOR id_4, PRIOR id_5)
      5  ORDER BY id DESC;
            ID CONTEXT_ITEM                         ID_1       ID_2       ID_3       ID_4       ID_5
            12 P_PRICE2                                6         10          6
            10 P_TRI                                   9
             9 P_TRI_TABLE                             4          6          7          8
             8 P_EIT_VALUE                             2          1
             7 P_IDE_VALUE                             2          1
             6 P_NTS_FACTS                             5          5
             5 P_ASG_NDA_ID                            3
             4 P_AGI_ID                                3
             3 P_AST_NDA_ID                            2          1
             2 P_DS_NDA_ID                             1
             1 P_DMA_NDA_ID
    11 rows selected.
    SQL>

  • Using Metadata to generate view as conventional folder structure

    Can Metadata be used to generate a view as the conventional folder drill-down?
    I have a list with metadata for different projects, releases, content type etc and I would like to view them in folder structure with different hierarchies, i.e. using projects--> releases--> content-type as well as release --> projects --> content-type.
    I have asked the same question at : http://stackoverflow.com/questions/22693036/using-metadata-to-view-as-conventional-folder-structure

    Hi,
    If your metadata is based on a hierarchical term set you could use ‘Metadata Navigation’.
    You may have to change your information architecture a bit to accommodate this approach. More info on ‘Metadata Navigation’ here:
    http://office.microsoft.com/en-gb/sharepoint-server-help/configure-metadata-navigation-for-a-list-or-library-HA101820113.aspx
    Hope this helps
    Cheers
    Matt

  • While Loading Master data from BW Info Object

    Hi,
    What is the difference between the two options
    "set filters by Attributes AND Hierarchies" and
    "set filters by Attributes OR Hierarchies"
    when we load master data attributes/texts from BW Info Object.
    can someone please explain in detail with example.
    Thanks,
    Rishi

    Hi Rishi,
    While looking at your question -
    What is the difference between the two options
    "set filters by Attributes AND Hierarchies" and
    "set filters by Attributes OR Hierarchies"
    when we load master data attributes/texts from BW Info Object.
    can someone please explain in detail with example.
    This is not what you are explaining in second post.
    Kindly close old threads properly if your queries are resolved , so that it will helps other.
    Shrikant 

  • How to resolve many fact tables and Dimensions tables

    Hi,
    The scenario is we have many facts and dimension tables. Based on some conditions one measure from one fact will be divided by another fact measure. I have encoutered with many errors like " Unable to navigate .... " ? How to resolve these errors and reduce many to few ? ( I assume creating logical tables, but is there any other alternatives ? )
    thanks
    Suresh

    Suresh,
    I assume that you know how to create a single logical fact from n-physical facts, ie only if the fact tables are related. Then join all the conformed dimensions to this single Logical table using a join in the Business Model layer. Remember to set the mappings in the LTS. All if you have any hierarchies please set the aggregation level for those.
    - Red

  • Content Level

    I have a fact table with 11 million rows that joins with 8 dimesion tables to form a perfect star schema.
    The client said that he can reduce the row size to 6 million if we remove 3 dimensions from the joins. So he created a materialized view with 6 million rows joining with 5 dimesnions which he is going to use the most in the reports.
    The client requires the previous model as well because there are 2 reports out of the 7 reports that will be based on the 11 million rows fact and the 8 dimension tables.
    if I convert this scenario to the aggregate and detail level Fact. I will have 2 models (5 Dimesnion model lets say it as aggregate and 8 dimesnion model as detail). Now i will create a BMM layer subject area and promote the detailed level model to the BMM layer. For Aggregate I will start mapping each of the objects in BMM layer except for thr 3 dimension tables that are nor present in AGG model with the Agg model (5 dimesnions) of the physical layer.
    While Aggregate navigation and creating dimension hierarchies we set the content level navigation for each logical table source to the level at which the lowest granularity exists. However in my scenario. The granularity for both the model will be same. So how will the query from OBIEE recognize which model to use when a report is built as both the models are built at the same content level with the exception of 3 dimsion tables.
    Please help it is urgent. How should I implement this scenario?

    For your "fact" table in the BMM, you should have two LTS - one for the detail level data, one for the aggregate level data.
    For each of your dimension tables, you should set up a hierarchy (sorry, using standard accepted terms of objects here...not Oracle's non-standard ones....) Each dimension should have at least a "total" and "detail" level, more if there are a proper hierarchy.
    Then when you set up your LTS, for the detail one - each of your eight dimensions will have content level set to the detail levels. For your aggregate LTS, on the three dimensions that aren't present, set the content level to the "total" level. I'd also set the PRIORITY GROUP so that the aggregate gets chosen first instead of the detail.
    Hope this helps!
    Scott

Maybe you are looking for

  • J 6480/ Vista Home Premium, HP DV 6928: Creating a unique installation

    J 6480/ Vista Home Premium, HP DV 6928, also have HP LJ 1020 for regular b/w printing, which is hard wired to notebook:  Finally setting up my J 6480. Read over some install issues and some thoughts from the "Wireless and network printing transcript

  • How to index a Network Share (AFP) for our workgroup

    hi together. after researching for a digital asset management solution for our acency my point is that neither cumulus, portfolio, mediabeacon or fotostation have the power and features i am looking for. so i decided to investigate on using iviewmedi

  • Vendor Mapping in APO

    Dear all, We are having one rollout at one of our mfg location say Locaion B: The details are : The location B is supplying parts to location A, Location A is already in supply network and to be added is location B. Location A and Location B exists i

  • Nokia 1208 only Russian/English

    Hallo Guys, I have Nokia 1208 with only 2 Languages (Russian and English). And I need German. What must I do? Can anyone help? P.S. my English is poor, sorry.

  • I accidentally rented the hd version of a movie on my iPhone 4, and it is too big. How do I cancel the download?

    I rented the hd version of a movie on my 8gb iPhone 4, but I wanted the standard version. The hd version is way too big for my iPod, but I can't stop the download, it just says "download error, tap to retry". How do I cancel the hd download so I can