Designing hierarchies with abstract entities

Could you advise for this design requirement?
Give the user flexibility in creating hierarchies in terms of depth, node placement and arbitrary node names.
They can create labels as they please to group entities.
This hierarchy tree will be used in reporting.
This hierarchy tree will be used to grant security access to the child nodes from a given node.
The shaded nodes in the image are not real entities stored in the database. I am showing a Geography table in the ERDs for reference only.
Would generalizing as follows be an acceptable design?
I understand that this is not a good case for generalizing because there are next to none common attributes among the entities. It will certainly be messy if the client asks for a new entity to be made available for hierarchies in future e.g. Products
which will have their own primary key identity values. Also, if FK/PK relationship is created among entities (e.g. Person/Department) then sooner or later there will be RI issues because the relationship will in two places, i.e. the OrganizationLevel table
and the FK constraint.
What other ways can this requirement be designed?
Thank you!
- Aalamjeet Rangi | (Blog)

Thanks for the inputs David!
You are right that PK/FK among tables or self-referencing keys can be used to define hierarchy. But that is possible only if I know in advance what entities are going to participate in the hierarchy.
The requirement is to create hierarchies that can include a mix of entities, some that will be created on the fly as labels. The hierarchy is going to be used to restrict data access (only children of a given node are visible) and roll-ups in reporting.
I have listed some downsides of design #1 in my question and thinking of using the design #2 as of now. Wondering what are the issues that I should expect with both these designs and if there are any other ways to accomplish this, maybe a completely
flat denormalized table.
- Aalamjeet Rangi | (Blog)

Similar Messages

  • Design issue with the multiprovider

    Design issue with the multiprovider :
    I have the following problem when using my multiprovider.
    The data flow is like this. I have the info-objects IobjectA, IobjectB, IobjectCin my Cube.(Source for this data is s-systemA)
    And from another s-system I am also loading the masterdata for IobjectA
    Now I have created the multiprovider based on the cube and IobjectA.
    However, surprisingly join in not workign in multiprovider correctly.
    Scenario :
    Record from the Cube.
    IObjectA= 1AAA
    IObjectB = 2BBB
    IObjectC = 3CCC
    Records from IobjectA =1AAA.
    I expect the record should be like this :
    IObjectA : IObjectB: IObjectC
    1AAA       :2BBB       :3CCC
    However, I am getting the record like this:
    IObjectA : IObjectB: IObjectC
    1AAA       :2BBB       :3CCC
    1AAA         : #             :#
    In the Identification section I have selected both the entries for IobjectA still I am getting this error.
    My BW Version is 3.0B and the SP is 31.
    Thanks in advance for your suggestion.

    May be I was not clear enough in my first explanation, Let me try again to explain my scenario:
    My Expectation from Multi Provider is :
    IObjectA
    1AAA
    (From InfoObject)
    Union
    IObjectA     IObjectB     IObjectC
    1AAA     2BBB     3CCC
    (From Cube)
    The record in the multiprovider should be :
    IObjectA     IObjectB     IObjectC
    1AAA     2BBB     3CCC
    Because, this is what the Union says .. and the Definition of the multiprovider also says the same thing :
    http://help.sap.com/saphelp_bw30b/helpdata/EN/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Do you still think this is how the behaviour of the multiprovider.. if that is the case what would be the purpose of having an infoobject in the multiprovider.
    Thank you very much in advance for your responses.
    Best Regards.,
    Praveen.

  • I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a n

    I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a newer version? they are the same versions and both are up to date, I was asked this morning to put in my adobe id email and password to connect to CC which I have never been asked to do before, can anyone help?

    what's your home version (click help>about) and was that just a warning so you were able to open the file?

  • Overwrite mapping in design repository with the last one deployed

    Hi
    We have a Single Design Environment with 2 runtime environnment (Dev, Prod). When I log in the Dev Control Center, I see there is a mapping "changed". It has been changed by an employee who don't work here anymore and I have no clue what have been changed.
    There is no specific request or obvious reason for that change, and since it's a huge and conplex mapping, I would like to overwrite (or "rollback") the mapping in the design environnment with the last one deployed in Production.
    But I don't know how or if it's possible..! At least if I could compare the 2 version, I could tell if the change is good or not.
    To me, it's a showstopper for incoming modifications..
    There is no Snapshot and i'm using OWB 10gr2 since 1 month now, so all of these is new to me.
    I really need help on this one...!
    Thanks!

    one onerous way to do this is
    take the mdl exports of the mapping from both envs. Try opening them in an xml/html text editor(notepad++ for eg)
    If they look like they are encrypted, try renaming the .mdl file to .zip( I can do this in 11g and what this gives me is a .xml file and a .mdx file which can be viewed in an xml editor)
    You can then possibly do a text comparison to find if anything is obviously different.
    Another good option is something our friend Oleg developed.
    http://owbeg.blogspot.co.uk/2012/05/release-005-of-mapreconstruct-script.html
    This script extracts the mapping as an OMB script. You can then compare both mapping tcl outputs.

  • Producer/Consumer Design Pattern with Classes

    I'm starting a new project which involves acquiring data from various pieces of equipment using a GPIB port.  I thought this would be a good time to start using Classes.  I created a GPIB class which contains member data of:  Address, Open State, Error; with member vis such as Set Address, Get Address, Open, Close...general actions that all GPIB devices need to do.  I then created a child class for a specific instrument (Agilent N1912 Power Meter for this example) which inherits from the GPIB class but also adds member data such as Channel A power and Channel B power and the associated Member Functions to obtain the data from the hardware.  This went fine and I created a Test vi for verfication utilizing a typical Event Structure architecture. 
    However, in other applications (without classes) I  typically use the Producer/Consumer Design Pattern with Event Structure so that the main loop is not delayed by any hardware interaction.  My queue data is a cluster of an "action" enum and a variant to pass data.  Is it OK to use this pattern with classes?  I created a vi and it works fine and attached is a png (of 1 case) of it.
    Are there any problems doing it this way?
    Jason

    JTerosky wrote:
    I'm starting a new project which involves acquiring data from various pieces of equipment using a GPIB port.  I thought this would be a good time to start using Classes.  I created a GPIB class which contains member data of:  Address, Open State, Error; with member vis such as Set Address, Get Address, Open, Close...general actions that all GPIB devices need to do.  I then created a child class for a specific instrument (Agilent N1912 Power Meter for this example) which inherits from the GPIB class but also adds member data such as Channel A power and Channel B power and the associated Member Functions to obtain the data from the hardware.  This went fine and I created a Test vi for verfication utilizing a typical Event Structure architecture. 
    However, in other applications (without classes) I  typically use the Producer/Consumer Design Pattern with Event Structure so that the main loop is not delayed by any hardware interaction.  My queue data is a cluster of an "action" enum and a variant to pass data.  Is it OK to use this pattern with classes?  I created a vi and it works fine and attached is a png (of 1 case) of it.
    Are there any problems doing it this way?
    Including the error cluster as part of the  private data is something I have never seen done and ... well I'll have to think about that one.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Migrate the SharePoint 2007 Site containing SharePoint Designer Workflows with Infopath forms to SharePoint 2013

    Hi,
    We have a requirement to migrate the SharePoint 2007 Site containing  SharePoint Designer Workflows with Info path forms to SharePoint 2013.
    Can somebody please guide us as to what could be the best approach to go ahead?
    Thanks in advance.
    Regards,
    Vijay

    Use STSADM
    backup and
    restore to migrate SharePoint 2007 site
    containing  SharePoint Designer Workflows with Info path forms to SharePoint 2013. 

  • Livecycle design 8 with PDF forms

    I need to create a simple PDF form to be hosted in internal web site which can be filled out by the viewer and submitted by email to the designated person with all the info in tact in the same PDF form? The users will only have Adobe Reader. I already have the form in excel 2003 and am running windows XP professionsl 2002.
    Thank you, 

    Reader does not allow a local save of the form and data by default. To be able to add the attachment o an email message a local save must occur. You can Reader Extend your form to allow for this. Open th eform in Acrobat Pro. Under the Advanced menu choose the "Extend Features in Adobe Reader". Follow the wizard and save the result PDF as a different name ....I like to put RE in the name so I know it is Reader Extended. Try the new file.
    paul

  • Design studio with BPC

    Hello Experts,
    How can I connect Design Studio with BPC cubes. I am Using DS version 1.3
    I need to create Design studio with BPC data.
    Gone through some documents but couldn't find out the way to do this.
    Regards,
    LKumar

    Hi Kumar,
    I have implemented a design studio on top of a BPC model by enabling the "use a source of data" in the BPC Admin website - it creates a multiprovider (name /CPMB/xxx) and we can then create bex queries on top of it with some limitations (no currency convertion by eg.).
    Design studio is managing this query as a standard BEX query - Only to display data ...
    Regards,
    Thomas
    PS: Please pay attention with multiple systems as BPC objects can have different names when transported (attributes). All references of BPC objects in Design studio would be then incorrect.

  • External Definition (wsdl) with abstract xsd element

    Hello All,
    we are trying to call a webservice, here is the wsdl:
    https://www.1link.com/fr/demo-sn/site/gaiwebservice.asmx?WSDL
    the problem is that the GAIJobLine element is defined as abstract:
    <s:complexType name="GAIJobLine" abstract="true">
    and there several elements which are extending GAIJobLine, for example:
    <s:complexType name="GAITyreLine">
                        <s:complexContent mixed="false">
                             <s:extension base="tns:GAIJobLine">
    So in our mapping we need to map to those element which are extending base element and not to the abstract one, but Graphical mapping displays only GAIJobLIne base element.
    Does anybody know how we can map to extended elements without mannually changing wsdl?
    Best Regards,
    Artsiom Anichenka

    thanks for your reply!
    the extended elements are seen when I open wsdl in XMLSpy.
    they are also visible in external definition object, but the main problem is that in the mapping only the base lement is displayed and there is no possobility to choose the extension.
    Maybe this kind os XSDs (with abstract base types and extended elements) are just not supported by PI711?

  • SharePoint Designer 2013 with SOAP DataSource and Windows Authentication

    Hello
    What do I need to do to create a SOAP Data Source in SharePoint Designer 2013 with Windows Authentication?
    I am trying to display a list from another subsite in my Web Part Page using a DataView web part.
    My environment is set up to use Claims with Kerberos.
    Is there a guide available that talks about configuring this or troubleshooting this? What should I check?
    Thanks for any suggestions.
    Yoshi

    Hi,
    According to your post, my understanding is that you wanted to create a SOAP Data Source in SharePoint Designer 2013.
    Please refer to the official article related, although it is about the SharePoint Designer 2010, it still works for SharePoint Designer 2013.
    http://office.microsoft.com/en-in/sharepoint-designer-help/add-a-soap-service-as-a-data-source-HA010355752.aspx
    More information:
    http://social.technet.microsoft.com/Forums/en-US/20e34a68-fa78-4450-9744-45f9e3ff26b5/sharepoint-designer-soap-and-rest-datasource-failure?forum=sharepointcustomizationprevious
    http://sharepointdiva.wordpress.com/2012/03/19/create-cross-site-data-source/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Upgrade from CS 5.5 design premium to CS 6 design standard with purchased DVD and valid serial #s

    Why can't I upgrade from CS 5.5 design premium to CS 6 design standard with purchased DVD and valid serial nos?

    Kkofron please make sure the CS5.5 serial number you are using is also able to be registered under your account at http://www.adobe.com/.  You can find additional details on how to register your Creative Suite 5.5 serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

  • Is it possible to turn off CSS and design text with HTML only?

    I'm trying to design text with HTML only ie: Font, Color, Size. The only method I'm aware of is to highlight the text and then go to Insert> Html> Text Objects. That method is tedious and time consuming.
    I'm not looking for arguments or reasons as to why I should use CSS, I'm simply looking for a solution to disable CSS and design with HTML. I'm using Dreamweaver CS5.
    Thank you,
    Paul

    Murphy,
    Thank you for your response. I checked the preferences as you advised and could not find any option to turn off CSS. I don't understand why there doesn't seem to be a straightforward solution to this, it seems so simple. The reason is that the code will be inputed into an eBay listing and therefore CSS code is not supported.
    Any other input for a seemingly simple yet complex solution to this is welcome and appreciated.

  • What is the best design tablet with stylus to have an easy interface with Adobe Photoshop?

           What is best design tablet with stylus for use with Adobe Photoshop for this holiday seasons offering 2013?
    I am trying to find a tablet with good stylus  to work with Adobe Design products primarily Photoshop. I would like one that worked in layers with photoshop.
    The folks a Wacom don't even answer the phone just a recorded message go to the web site with questions.  Not a good sign for a company. So what is a good design tablets for pressure sensitive stylus? Will wacom cintiq tablet interface well with Apple Imac IOS 10.8?
    I love my Samsung note 3 but it will not easily transfer images to apple Imac 10.8.
    Please help me find tablets with good adobe design interface?  Just tell me which way to jump. It is easier to leave Apple for PC or Android  than to abandon Adobe knowledge. The products have to work together.
    Does wacom Cintiq not embrace an easy interface with Apple  Imac IOS 10.8 latest software. Wacom seems to be championing Windows 8 as a companion to their tablet interface.
    Can an Ipad deliver good layered designs using adobe software design programs and a stylus?
    What should I buy for an Adobe design tablet with pressure sensitive stylus for ths Holiday Season? 
    Should i wait until next year?
    Will the tablet work in  Photoshop layers?
    this link seemed ominus
    http://forums.adobe.com/message/4950467

    subhash007 wrote:It's not 802.3ad link aggreagated interface. In the switch side, the ports will be configured as normal access ports and the bonding config will be done on the server side.
    To be honest, I don't understand how the Linux bonding mode can work without anything configured the other end.
    My understanding of 'bonding' comes from Multilink PPP (MLP) where the data stream is chopped up and split across two (or more) circuits. At the other end, a similar MLP-enabled device reforms the data stream from the multiple circuits, maintaining packet order. But this requires MLP-enabled 'bonding' devices at each end.
    Perhaps you could help me better understand the Linux bonding...
    subhash007 wrote:If any single homed server is connected to Switch 2, what will be traffic path for its data packets?Switch 2 ------------------> Switch 1 ----------------------> Active firewall                                   ORSwitch 2 ------------------> Passive Firewall -----------> Active Firewall
    If the firewalls operate in the same fashion as Cisco ASAs, then the inter-firewall link doesn't carry traffic. It's for failover detection and HTTP replication only. But like I said, I'm not familiar with this vendor's products.
    subhash007 wrote:Also will there be any change in traffic path if the trunk between Switch 1 & Switch 2 is converted to L3 routed interface? Since there is no VRRP, i can convert the trunk to L3 right?
    Same as above.

  • ALV Hierarchical With multiple boxes

    Hello.
    I have an alv hierarchical with multiple boxes.
    Can I  insert a buttom in Gui status of alv that allows me to  expand  all the boxes of  hierarchy?
    Regards
    Angela

    Hi Narendra,
    Try this program:
    TABLES : sflight.
    TYPE-POOLS: slis.
    DATA : w_repid LIKE sy-repid.
    w_repid = sy-repid.
    DATA: BEGIN OF it_sflight OCCURS 0,
    checkbox(1),
    carrid LIKE sflight-carrid,
    END OF it_sflight.
    *layout
    DATA: wa_layout TYPE slis_layout_alv.
    *field catalog
    DATA: it_fieldcatalog TYPE slis_t_fieldcat_alv,
    wa_fieldcatalog TYPE slis_fieldcat_alv.
    START-OF-SELECTION.
    SELECT carrid FROM sflight
    INTO CORRESPONDING FIELDS OF TABLE it_sflight.
    END-OF-SELECTION.
    CLEAR it_fieldcatalog.
    REFRESH it_fieldcatalog.
    wa_fieldcatalog-fieldname = 'CHECKBOX'.
    wa_fieldcatalog-outputlen = '3'.
    wa_fieldcatalog-col_pos = '1'.
    wa_fieldcatalog-seltext_m = 'Chk'.
    wa_fieldcatalog-checkbox = 'X'.
    wa_fieldcatalog-edit = 'X'.
    APPEND wa_fieldcatalog TO it_fieldcatalog.
    CLEAR wa_fieldcatalog.
    wa_fieldcatalog-fieldname = 'CARRID'.
    wa_fieldcatalog-outputlen = '10'.
    wa_fieldcatalog-col_pos = '2'.
    wa_fieldcatalog-seltext_m = 'Carrid'.
    APPEND wa_fieldcatalog TO it_fieldcatalog.
    CLEAR wa_fieldcatalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = w_repid
    is_layout = wa_layout
    i_callback_user_command = 'USER_COMMAND'
    it_fieldcat = it_fieldcatalog
    TABLES
    t_outtab = it_sflight
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    *& Form USER_COMMAND
    FORM user_command USING p_ucomm TYPE sy-ucomm
    p_selfld TYPE slis_selfield.
    CASE p_ucomm.
    WHEN '&DATA_SAVE'.
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    e_grid = ref1.
    CALL METHOD ref1->check_changed_data.
    LOOP AT it_sflight WHERE checkbox = 'X'.
    DELETE it_sflight INDEX sy-tabix.
    ENDLOOP.
    p_selfld-refresh = 'X'.
    ENDCASE.
    ENDFORM. "user_command
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Fund Accounting concept using Org structure with Balancing Entities

    Does anyone have any experience in working with a college and using Fund accounting with a Organization Structure with Balancing Entities? If so, need some help with how multi-org will help them when we upgrade to 11.5.10.2 and use multi-org. My client is currently in 11.5.8 apps version and is not using multi-org. Any advice or suggestions will help.
    Thanks

    I believe the challenges you mention are related to the alignment of cost center to a controlling area and the fact that the customer has aligned configuration of controlling areas to = company codes.  There is also the option in controlling configuration to allow multiple company codes to be attached to the same controlling area (with restrictions - see notes regarding configuring controlling area).  I have not tried this configuration to know whether this should work.

Maybe you are looking for

  • How to know debit and credit transaction key for movement type

    Hi, With T. code OMWB  account assignment simulation we can see all the accounts which are involve for debit and credit enties   but I want to know is there any T. code or method  with which we can know  which transaction key will be debit and which

  • Two clients in XI system

    Hi all, Actually client 100 is created in Production .while installation in java engine its through some error, we are not able to continue the installation & we are not able to connect the jave engine with client 100.So that we created the new clien

  • JNI exception, java.lang.UnsatisfiedLinkError

    Hi, I�m trying to call a native method with JNI and the following exception occurs when I try to call the native method setFileName: Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError: setFileName The dll where this method is

  • How do I avoid having to use a password every time I open my new 13" Air?

    I just bought a new 13" Mac Air, and am finding it very annoying to have to use my password overy time I open it!   How can I eliminate that problem?  Thank you!

  • Multiple file copies

    Before I buy Lightroom, I want to know if it will help me fix an issue I have. I've copied my Nikon D70 and D200 RAW files to multiple locations (C:\folder, C:\other folder, C;\other folder\subfolder, E:\yet another location, E:\this is dumb Fred) on