Multiple Parents

Hi,
I have a chart of accounts structure along the lines of (simplified); -
Cost centre (objective) XXXXXX
Expense Type (subjective) XXXX
So I can analyse by where I am spending my money (cost centre)
And on what (expense type)
However, over and above this basic structure there are a number of different parent codes, such that a cost centre or expense type can be a member of one, many or no parent codes.
What approach would anyone recommend for the repository structure, so I can have the flexibility of parent code analysis, without permutating the various tables by each possible parent - whilst still retaining speed?
thanks for any suggestions,
Robert.

Bridge tables.

Similar Messages

  • Hierarchy where a single Child has been assigned to multiple Parents

    Hi BPC guru,
    I encountered error "Dimension members 30000010 has multiple parents in PARENTH1" when loading GL hierarchy from BW to BPC. This GL account 30000010 is configured to display in both asset(debit) and liabilities(credit) side in ECC. Therefore it contains 2 parents, ie asset and liabilities. How can I load this into BPC?
    The structure is shown below.
    FS
    --Total Assets
    30000010
    --Total Liabilities
    30000010
    Kindly shed some light to my issue. Thanks in advance.
    Best regards,
    Pei Fung

    Hi Gersh,
    I am getting error "duplicate dimension members 30000010 is detected." when process the dimension.
    I have added PARENTH2 fields in the dimension account.
    ID                    |    PARENTH1        |     PARENTH2
    30000010        |    ABC |
    30000010             |                         |    DEF
    Do you mean i need to change the 30000010 to become two different account number in the dimension ID?
    Thanks.
    Best regards,
    Pei Fung
    Edited by: Pei Fung Yee on Jan 17, 2012 4:30 AM

  • How to model multiple parent hierarchy in obiee

    hi,
    I have product hierarchy with multiple parents for a single level. and i want to display all the levels of hierarchy at a same time.
    Below mentioned is wht data i am getting from product table in OLTP
    current product diamension
    root1--level 1
    child product1--level 2
    child product2--level 3
    child product3 ----level 4
    and
    root2----level 1
    child product4----level 2
    child product2----level 3
    child product3 ----level 4
    If u see we have child product2 belongs to two diff hierarchies.
    My report req is i want to show all the levels of product in single row.Some thing like
    Mb no. level 1 level 2 level 3 level 4
    123 root1 CP1 Cp2 CP3
    123 root2 CP4 CP2 CP3
    How to model this scanario in OBIEE?

    H,
    Refer this
    http://oraclebizint.wordpress.com/2007/11/30/oracle-bi-ee-101332-one-dimension-multiple-hierarchies/
    http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-parent-child-hierarchies-multiple-modeling-methods/
    Thanks
    Deva

  • EJB3 Multiple Parents

    I have the following scenario in an accounting solution:
    I create a Journal with an auto generated key
    I create a Posting and assign this to the Journal
    I save the Journal via the em.persist method and this works, although the auto generated key value is not set in the Journal instance.
    No I want to assoicate the Posting with an existing Account.
    I have used:
    posting.setAccount(Account)
    and
    account.addPosting(Posting) -- which calls setAccount on the Posting
    these variations all fail, clearly I'm doing something wrong. Does anyone know of an example with either multiple parents, or where an instance such as Posting is persisted and then merged in the same session.

    see http://forum.java.sun.com/thread.jspa?threadID=757976&tstart=0 for a related issue

  • Endless loop when clicking on ADF TreeTable Node with multiple Parents

    Using Jdev 11.1.2.2.0.
    I have been using the ADF Tree Table to render a parent/child relationship table(using EO's and VO's); this table allows a child node to have many parents. I've followed the example from Code Corner #32 "How to create a tree table from a single View Object and how to access selected rows" but my example is a little different. I have a Hierarchy Table that lists it's TopNode and then I have a Relationship (parent/child) table that includes the relationships for that hierarchy. I've created the ViewLinks between the Hierarchy VO and the Relationship VO and everything shows up fine in the ADF BC Tester.
    The tables look like the following (Note: the node 5 has multiple parents (4&3)
    Hierarchy Table:
    ID NAME TOPNODEID
    1 HIER1 1
    PARENTCHILDTABLE
    PARENT_ID CHILD_ID
    1 2
    1 3
    2 4
    4 5
    3 5
    -1 1
    The View Links I have setup are the (TopNodeID to ChildID... 1 to 1) as well as the (Child_Id to Parent_ID.. 1 to *).
    I added a tree table to a jsf page; I setup the bindings correctly with the Hierarchy vo as the top level object and the relationship VO as the parent/child (self referencing) table.
    However, when I start expanding some of the nodes at runtime in the JSF page and when I click on the child 5 an hour glass appears and it seems to be in an endless loop. Has anyone seen this before or anyone know why this gets into an endless loop.
    Edited by: user623583 on Aug 21, 2012 7:26 AM

    No exceptions occur but I was able to turn on logging (oracle.adf*) and this shows up. This is only a portion of what gets logged as it seems to log the same thing over and over while in the endless loop. The loop is intermittent too; it doesn't occur all the time. It seems to occur when I click on one of the duplicate nodes OR try to expand one of the duplicate nodes and/or one of their parents.
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region11
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region12
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region13
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region14
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <tearDownChildrenVisitingContext> UIXInclude.tearDownChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownChildrenVisitingContext at 275
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <setupChildrenVisitingContext> UIXInclude.setupChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.setupChildrenVisitingContext at 249
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <tearDownChildrenVisitingContext> UIXInclude.tearDownChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownChildrenVisitingContext at 275
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <DCBindingContainer> <internalRefreshControl> Lifecycle:BindingContainer.refresh type:prepare for:oracle_epm_view_view1PageDef
    <DCBindingContainer> <internalRefreshControl> Lifecycle:BindingContainer.refresh type:prepare for:ptb1
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <FacesPageLifecycle> <getToken> ADFc: State-token for 'oracle_epm_view_view1PageDef' has been restored and is not null.
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <FacesPageLifecycle> <getToken> ADFc: State-token for 'oracle_epm_view_view1PageDef' has been restored and is not null.
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = rendered
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <setupChildrenVisitingContext> UIXInclude.setupChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.setupChildrenVisitingContext at 249
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = rendered
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = logoImagePath
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = logoImagePath
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1

  • Multiple parents with many children in same table -get all generations

    Hi
    I have parent and child columns in my table. The child can have multiple parent keys and the parent can have multiple child keys.
    So every child can be a parent of further more children. So every generation can be considered to be a level. I need to display them in hierarchical order. First greatest parent, next level all its childres, next level, their children and so on. Its like a recursve pattern. How may I achieve this? I do not know anything about how many levels there are - could be any number.
    Any help?

    Hi
    This link was of great help and I am getting the hierarchy.
    My next question related to the same thing is -
    I have the following query:
    select distinct level,
    sys_connect_by_path(child_id,'/') Path
    from table1
    connect by prior child_id= parent_id
    What I need is getting the name beloging to the id and display that instead of the id itself. But then would that mean I am changing the connect_by_path itself?
    Example:
    id
    2     /25/016
    2     /25/06
    2     /20/014
    In place of these numbers 25, 016 etc, I want their corresponding names that are stored ina nother table table2. How may I achieve that?
    Thx!

  • Breadcrumbs - entry with multiple parents?

    I have a page that branches out into two pages depending upon a choice, and right after then connects back to the flow.
    like
                      .--> which cologne? ---,
    are you m/f? ---|                          |--> what packaging? --> what address?
                      `--> which perfume? ---'The bread crumbs do not allow you to have more than one parent... so while i can branch off to two lower pages, if they come back together then the parent has to be either cologne or perfume, or i have to make seperate pages, or use conditional showing on the one page for perfume and colgone and choose a generic name.
    Is there any way to create breadcrumbs with multiple parents? Is this a feature i should request for the next version?
    Cheers,
    Alex

    Hope this helps any one else trying to do this
    P14 real parent (view) --> P17
    P15 alt parent (edit) --> P17
    P200 dummy page
    step 1.
    create dummy page to hold variables P200
    create two items P200_NAME, P200_TARGET
    step 2.
    Edit the parent page 1 say P14
    edit the page to pass a name (say 'view' for instance) into P200_NAME and pass another value (14) into P200_TARGET
    Test this to make sure the session gets the values
    step 3.
    go to the real target page say P17 and take a note of the parent
    step 4.
    go to the parent page (there can omly be one)
    step 5.
    edit the bread crumb
    change the short name to &P200_NAME
    change the target to &P200_TARGET.
    step6
    go to the other patent (not referenced by the breadcrumb) P15 get it to pass values to P200 (on rout to P17)
    &P200_NAME (say 'edit')
    &P200_TARGET (15)
    because the target only has one real parent you dont have to do anything to the alternate parent breadcrumb.
    set these items P17_PROPERTY_NAME,P200_TARGET,P200_NAME
    with these values &P16_SLPN.,&P16_PROPERTY_NAME.,16,&P16_NAME.

  • How to allow Sharepoint users to login from multiple parent-child accounts?

    Our client has mutliple AD domains and wants to allow people which have multiple AD accounts in multiple domains to login as THE SAME user:
    - only primary account will be visible in search
    - there will be only one user profile with all informations gathered from all sub accounts
    - permissions for the sub account will be in sync with parent account
    - task generated for parent will be visible for child accouns too etc
    - ad admin can link the account together in the Active Directory - this link is permament (even if we move users to another OU) and ad admin can define which account is primary and secondary (parent/child)
    How we can implement this in Sharepoint 2010 Std Server?

    Everything in SharePoint keys of the Security Identifier (SID) of a user.  Each user in a domain has a unique SID, so there is no way to have multiple users recognized in SharePoint as the same user.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Shared components (multiple parents)

    Hi,
    I have posted a question in the AWT section, but it relates to Swing too, so I'm posting a link here. Please take a look:
    http://forum.java.sun.com/thread.jspa?threadID=786181&tstart=0
    Thanks.

    I just gave you an example.
    You have a "Cancel" button that you add to multiple
    non-modal dialogs that can all be open at the same
    time (different tool palettes for example). You write
    a generic ActionListener so then when the button is
    clicked, you close the dialog containing the button.
    So the generic code simply invokes the
    SwingUtilities.windowForComponent(...) to get the
    window so it can close the window. But it can't find
    the single parent because that relationship no longer
    exists.Sorry, but I still don't understand what would stop multiparented version of Swing from invoking SwingUtilities.windowsForComponent(...) to get the array of windows so it can close every one of them. If I insert the same Cancel button into multiple dialogs, I have to know what I'm doing and be prepared for this behaviour.
    So, basically using your approach you lose the
    ability to write generice code and classes of this
    nature.I can still have one parent, but I can also have multiple (and deal with the consequences, of course).
    I really don't understand what you are trying to do,
    because Swing won't allow you to do this anyway. Are
    you planning on rewritting Swing? Have fun.No, that would be too much fun for me :) I'm just writing a simple GUI kit for mobiles, because the one in MIDP doesn't do much, and I was curious about this restriction.

  • Multiple parent-shuttle pages

    Hi guys,
    I'm using Jdeveloper 10.1.2 and JHeadstart 10.1.2 (build 19).
    I've developed a page that contains a master view object and two detail view objects. What I want to do is to display both as parent shuttles on the same page. I have created 2 detail parent-shuttle groups and set both to display on same page. The two shuttle groups are displayed fine but the problem is when it comes time to saving the changes on the page. It seems that only the first shuttle group is being updated and the second one ignored. I checked that I wasn't doing anything silly but setting the second parent-shuttle to display on a separate page and when it was, the update of both work fine.
    Is it not possible to have two parent shuttle's on the same page ?
    Cheers,
    Brent

    Brent,
    It turns out that, while not documented, this is not supported. The method name generated into the UI Model to process the shuttle has the id "processParentShuttle". So, if you have two shuttles, the second shuttle overrides the first shuttle method binding .....
    You could fix that manually, by adding a second shuttle method binding to the UI Model with a different name, but when you do that, you also need to subclass JhsDataAction, and override method processShuttle which currently only checks for a parent shuttle binding named "processParentShuttle".
    Steven Davelaar,
    JHeadstart Team.

  • Multiple parents for folders

    hi,
    how do i setup mutiple parents for a folder (both interactively
    and remotely)?
    tia
    sean

    hi,
    how do i setup mutiple parents for a folder (both interactively
    and remotely)?
    tia
    sean

  • Tree: Multiple parents and offsprings from one table in just one tree.

    Hello,
    I have a table similar to this one,
    CREATE TABLE "TABLE_ONE"
    (     "MATERIAL_ID" NUMBER,
    "MATERIAL_NAME" VARCHAR2(80),
         "PARENT_ID1" NUMBER,
         "PARENT_ID2" NUMBER,
         "OFFSPRING_ID1" NUMBER,
         "OFFSPRING_ID2" NUMBER,
         "OFFSPRING_ID3" NUMBER,
         "OFFSPRING_ID4" NUMBER,
         CONSTRAINT "TABLE_ONE_PK" PRIMARY KEY ("MATERIAL_ID") ENABLE
    And I need to generate a tree based on the following assumption:
    There's a relation of 2 parents to several new other materials depending on the combination.
    But the tree should be like:
    A & B generate c,d,e,f,h, (but not i), and
    C & I generate j,l,m,n, (but not k), and so on....
    J & K generate p,q,rm, etc....
    How can I create a dynamic tree with two parents and several offsprings from just one table?
    With the following tree query I get only the PARENT_ID1 side.
    select "MATERIAL_ID" id,
    "PARENT_ID1" pid,
    "MATERIAL_NAME" name,
    'f?p=&APP_ID.:Pxn:&SESSION.::NO::Pxn_MATERIAL_ID:'||"MATERIAL_ID" link,
    null a1,
    null a2
    from "#OWNER#"."TABLE_ONE"
    And I need to get all parents and all offspring materials in the same tree.
    Could you please give me a clue?
    Thanks,
    NJ

    Hi Raje,
    One solution would be to do a UNION ALL:
    select "MATERIAL_ID" id,
    "PARENT_ID1" pid,
    "MATERIAL_NAME" name,
    'f?p=&APP_ID.:Pxn:&SESSION.::NO::Pxn_MATERIAL_ID:'||"MATERIAL_ID" link,
    null a1,
    null a2
    from "#OWNER#"."TABLE_ONE"
    UNION ALL
    select "MATERIAL_ID" id,
    "PARENT_ID2" pid,
    "MATERIAL_NAME" name,
    'f?p=&APP_ID.:Pxn:&SESSION.::NO::Pxn_MATERIAL_ID:'||"MATERIAL_ID" link,
    null a1,
    null a2
    from "#OWNER#"."TABLE_ONE"
    This should give you all of the values but it will be a single tree
    Regards
    Andy

  • Generate XML with multiple parent nodes

    I have the following test data
    CREATE TABLE #TEST1 (
    HS VARCHAR(20),
    HN VARCHAR(20),
    NC FLOAT
    INSERT INTO #TEST1
    VALUES ('COMPLETE','ABC123',1234.56789),
    ('REJECTED','ABC124',1234.56789),
    ('PLANNED','ABC125',1234.56789),
    ('COMPLETE','ABC126',1234.56789),
    ('COMPLETE','ABC127',1234.56789),
    ('REJECTED','ABC128',1234.56789),
    ('COMPLETE','ABC129',1234.56789),
    ('PLANNED','ABC130',1234.56789),
    ('COMPLETE','ABC131',1234.56789),
    ('COMPLETE','ABC132',1234.56789),
    ('REJECTED','ABC133',1234.56789),
    ('COMPLETE','ABC134',1234.56789),
    ('PLANNED','ABC135',1234.56789),
    ('COMPLETE','ABC136',1234.56789),
    ('REJECTED','ABC137',1234.56789),
    ('COMPLETE','ABC138',1234.56789),
    ('COMPLETE','ABC139',1234.56789),
    ('PLANNED','ABC140',1234.56789)
    SELECT ( SELECT *
    FROM #TEST1 T
    FOR XML PATH('STATUS'), TYPE
    FOR XML PATH('Document'), ROOT('kml')
    DROP TABLE #TEST1
    Which produces the following results.
    <kml>
    <Document>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC123</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC124</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC125</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC126</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC127</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC128</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC129</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC130</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC131</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC132</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC133</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC134</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC135</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC136</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>REJECTED</HS>
    <HN>ABC137</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC138</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>COMPLETE</HS>
    <HN>ABC139</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    <STATUS>
    <HS>PLANNED</HS>
    <HN>ABC140</HN>
    <NC>1.234567890000000e+003</NC>
    </STATUS>
    </Document>
    </kml>
    What I really want to produce is this
    <kml>
    <Document>
    <STATUS>
    <HS>
    COMPLETE
    <Data>
    <HN>ABC123</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC126</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC127</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC129</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC131</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC132</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC134</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC136</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC138</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC139</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    <STATUS>
    <HS>
    REJECTED
    <Data>
    <HN>ABC124</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC128</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC133</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC137</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    <STATUS>
    <HS>
    PLANNED
    <Data>
    <HN>ABC125</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC130</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC135</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    <Data>
    <HN>ABC140</HN>
    <NC>1.234567890000000e+003</NC>
    </Data>
    </HS>
    </STATUS>
    </Document>
    </kml>
    Is it possible to group header and then group data under those headers using one SQL statement?
    Thanks in advance
    Q

    E.g.
    DECLARE @TEST1 TABLE
    HS VARCHAR(20) ,
    HN VARCHAR(20) ,
    NC FLOAT
    INSERT INTO @TEST1
    VALUES ( 'COMPLETE', 'ABC123', 1234.56789 ),
    ( 'REJECTED', 'ABC124', 1234.56789 ),
    ( 'PLANNED', 'ABC125', 1234.56789 ),
    ( 'COMPLETE', 'ABC126', 1234.56789 ),
    ( 'COMPLETE', 'ABC127', 1234.56789 ),
    ( 'REJECTED', 'ABC128', 1234.56789 ),
    ( 'COMPLETE', 'ABC129', 1234.56789 ),
    ( 'PLANNED', 'ABC130', 1234.56789 ),
    ( 'COMPLETE', 'ABC131', 1234.56789 ),
    ( 'COMPLETE', 'ABC132', 1234.56789 ),
    ( 'REJECTED', 'ABC133', 1234.56789 ),
    ( 'COMPLETE', 'ABC134', 1234.56789 ),
    ( 'PLANNED', 'ABC135', 1234.56789 ),
    ( 'COMPLETE', 'ABC136', 1234.56789 ),
    ( 'REJECTED', 'ABC137', 1234.56789 ),
    ( 'COMPLETE', 'ABC138', 1234.56789 ),
    ( 'COMPLETE', 'ABC139', 1234.56789 ),
    ( 'PLANNED', 'ABC140', 1234.56789 )
    SELECT O.HS ,
    ( SELECT I.HN ,
    I.NC
    FROM @TEST1 I
    WHERE I.HS = O.HS
    FOR XML PATH('') ,ROOT('Data'), TYPE
    ) AS HS
    FROM @TEST1 O
    GROUP BY O.HS
    FOR XML PATH('Document') , ROOT('kml');
    Caveat: You're using mixed element name casing.

  • Load custom hierarchy (multiple ownership / parents)

    Hi all
    Lots of questions below, I just need some input on this..:) Thx. in advance..
    I have a question regarding loading a custom Customer hierarchy from SAP CRM to SAP BW. The special thing about this hierarchy is that is a leaf (child) can have multiple parents. E.g.
    - Customer C belongs to both Customer A and Customer B. (Shared ownership.)
    - Furthermore I have the information that Customer A owns 40% of C and Customer B owns 60% of C.
    Is this something that you see I can support in BW, by loading this hierarchy to 0CUSTOMER? Is this at all supported in BW to have leafs with multiple parents?
    Let's say I have an infocube and I do not want the key figures for Customer C to sum up for all parents that owns this customer, but I still want to display the relations (e.g. display Customer C under both Customer A and B, but if you look at the result this should not add up twice). Furthermore do you know how I can connect the percentage to the specific relationship and show this in the report?
    I have heard about this option called "Linked nodes", where the system creates a reference for a particular node to an original node. Thereby the possibility to display the subtree of a node multiple places in a hierarchy. But I do not know if this is supported for leafs as well?

    No one?

  • Create a view to shows data from multiple rows in a single column

    Hi all - this is probably posted in the wrong forum but I couldn't find which was the correct one.
    I am almost a complete novice at sql but I have a need to create a view which can be developed at 10g (which runs efficiently as the volumes are likely to be high) which will do the following.
    Original table with columns Parent_code, Child_code
    Parent_Code Child_Code
    1000 2000
    1000 3000
    1000 4000
    2000 3000
    2000 5000
    (note Parents can have multiple children and a child can have multiple parents!)
    What I need to end up with in my view is the following
    Child_Code Parent_List
    2000 '1000 (3)'
    3000 '1000 (3), 2000 (2)'
    4000 '1000 (3)'
    5000 '2000 (2)'
    Note the number in parantheses is the number of children that the parent has - ie in the original table parent 1000 has 3 rows (one for each child)
    This view is then to be used as a look up (on child code) for a business objects report.
    Is there anyone who could PLEASE, PLEASE help me fairly quickly on this as I have very little time to find a solution?

    Hi,
    You can test these ones :
    select child_code
         , ltrim(sys_connect_by_path(parent_info,', '), ', ') as parent_list
    from (
      select child_code
           , to_char(parent_code) ||
             ' (' ||
             count(*) over(partition by parent_code) ||
             ')' as parent_info
           , row_number() over(partition by child_code order by parent_code) rn
      from your_table
    where connect_by_isleaf = 1
    connect by prior rn = rn-1
           and prior child_code = child_code
    start with rn = 1
    select child_code,
           rtrim(
             extract(
               xmlagg(xmlelement("e",parent_info||', ') order by parent_info)
             , '//text()'
           ) as parent_list
    from (
      select child_code,
             to_char(parent_code) ||
             ' (' ||
             count(*) over(partition by parent_code) ||
             ')' as parent_info
      from your_table
    group by child_code
    ;What you need is called "string aggregation".
    See here for various techniques, including the two above : http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php

Maybe you are looking for

  • In "Show more Bookmarks" if I right click does not work (I want to open in a new tab)

    This is using Mac Firefox current version. I use lots of tabs and don't have space for all of them so there is a >> at the right end for clicking and displaying the rest of them. If I click and display list and highlight one of them, the right click

  • How to check Created directories in Oracle 10g

    Actuall i created a directory CREATE OR REPLACE DIRECTORY DIR_TEXTFILES AS 'D:\TEXTFILES'; but i can such directories in d:\ of my laptop as a beginner to oracle i dont know these thing....Pls Experts help me...

  • PM: SAP Standard reports

    Hi guys, I need a list of all PM Standard reports, and their transaction codes. Please help Thanks

  • Send a mail

    Hi, I'm looking for a Forté command to send automatically a mail with a body message and a file attached . I have tried these lines: Cmd.setvalue('start mailto:adresshere.com?subject=Trial'); task.part.operatingsystem.runCommand(command=Cmd); But the

  • Www_flow_files noe selectable from workspace

    When a workspace is generated, I thought that the www_flow_files view is selectable... How come I don't see the view? Do I have to create a synonym in my workspace schema for the view?? 10.0.1.2 and 1.5.0.00.33 is being used. This will be used for a