Modelling of hierarchy not working

Hi All,
As per the link given below
http://help.sap.com/saphelp_nw70/helpdata/EN/43/f4fab876eb7062e10000000a1553f6/content.htm
I have created a query in BI7.0
enabled the hierarchy display
created the model with with 2 buttons just as mentioned in the link.
But still drill down & drill up functionality is not working.
Please provide pointers for resolution.
Hoping for immediate replies.
Thanks & Regards,
Rashmi.

Hi,
I am modeling hierarchy of 0EMPLOYEE.
I have created the model just as given in the article.
Whenever I go to some node & press drill down, cursor automatically comes to the top most node but no drill down happens,
whereas if I press Drill up & drill down from top most node it works only for first time i.e. once.
can this issue be due to patch problem? or is there something that i am missing?
My formulas for Drilldown :
'FILTER_NODE_IOBJNM=0HIER_NODE;FILTER_VALUE= '&#ID[ACC7GR]@Employee_key&';FILTER_COLLAPSE= ;FILTER_IOBJNM=0EMPLOYEE;CMD_1=CMD%3DDRILL_TO_LEVEL%26LEVEL%3D2%26IOBJNM%3D0EMPLOYEE%26DATA_PROVIDER%3DDP;'
for Drillup :
'CMD_1=CMD%3DDRILL_TO_LEVEL%26LEVEL%3D'&NSTR(#ID[ACC7GR]@Employee_node_level,'B')&'%26IOBJNM%3D0EMPLOYEE%26DATA_PROVIDER%3DDP;'
Kindly provide the pointers.
Thanks,
Rashmi.

Similar Messages

  • Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down

    Hello,
    We have a BO report on Bex query, Not on universe, we have a Hierarchy for Cost Element Group, and we are expecting the Drill down functionality for that in BO report, but it does not.
    Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down
    Any pointers how to do it please
    Thanks
    Krishna

    Hi,
    WebI reports on BEx source don't use same Drill feature as other sources, it's replaced by expland/collapse of hierarchy nodes (documented in WebI user guide in § "24.1 Drill defined"). This means you have to create query which selects all hierarchy sub-tree you plan on exploring later in report, otherwise if no data is available under a node there will be no '+/-' sign to visit this part of tree.
    You could try first to select "All members" from hierarchy in QueryPanel and see if behavior in report suits your needs. Then you should restrict hierarchy member selection to what's really needed to avoid performance issues.
    Regards,
    Loic

  • Hierarchy not working at report

    Hi
    I have created level based hierarchy in RPD on one dimension table, but hierarchy is not working in report level.
    Can any one help.
    Thanks

    Hi
    Actually we are not getting any error message.
    But when we have enabled hierarchy on particular column, when we are using that column in report it should be getting some under line when we place cursor on that column data and when we click on one of the specified data we might be getting data related to that particular data. But it is not happening like that and we are able to see data as normal column data. This is my issue.
    Please suggest
    Thanks

  • Power adapter model 1300 its not working .

    sir my iphone power  adapter its not working model is 1300 , i buy iphone 3Gs recently within 4 month in pakistan . now am charging with my computer please advice me whats can i do
                                                            thanks ....................................

    thanks any authorised dealer  is there in Karachi,  have no idea . If there any one so please tell me
                                         thanks..............................................................

  • I purchased a new vehicle with a USP port but my nano model A199 will not work, only works with the aux plug which will not allow me to view the songs on the vehicle touchscreen. Is there a download I can get to put into this nano?

    I purchased a new vehicle and the older ipod nano I have will not work through the USP  port, only works through the aux plug. Is there a download i can get toput into the nano that will then allow me to use the USP port instead of the aux port?

    Check with your dealer and see if there is a special cable available for connecting your iPod. It should have a dock connector on one end and USB and miniplug on the other.

  • Model A1524 Unlocked, not working on China Telecom

    JUst bought iPhone 6+ A1524 unlocked in Singapore, but not working on China Telecom.  Is this the right version or is there a trick to get phone to recognize CDMA networks?

    For any phone to work on CDMA networks it must be provisioned by the carrier. They will need to add the MEID of the phone to their database. However, I believe that all (or most) of the carriers in China are GSM, not CDMA.

  • Example in Data Modeler Tutorial does not work as described

    Using Oracle Data Developer 4, I cannot get the example on https://docs.oracle.com/cd/E57998_01/doc.41/e57984/tut_data_modeling.htm#DMDUG36173 to work as described. The Foreign Key fields in the logical model are not generated. They are only generated in the relational model when I develop the logical model. However, the names follow the template {table}_{table}_ID, which will cause problems for long table names. Now I have two questions:
    1. How can get the foreign key fields to be generated in the logical model, as descibed in the tutorial?
    2. Where can I see the default naming rules for generated fields used by the program and where can I change them? - I found a description how this works in Version 3, but these options do not exist anymore in Version 4.

    2. Where can I see the default naming rules for generated fields used by the program and where can I change them? - I found a description how this works in Version 3, but these options do not exist anymore in Version 4.
    In version 4 the template definitions are defined in the properties for the Design.
    Right-click on the Browser entry for your Design and select Properties.
    In the tree in the left panel of the Design Properties dialog, expand Settings, then expand Naming Standard and select Templates to display the Template definitions.
    David

  • My mac book pro 17" model 1229 does not work. It askes' me to :'you need to restart your computer.Hold down Power button for several seconds or press the Restart button

    Mac book pro 17" model 1229 displaying: "you need to restart your computer. Hold down the power button for several seconds or press the Start button

    Your MBP may have had a kernel panic.  If so, post the kernel panic per these instructions:
    http://support.apple.com/kb/ht2546
    An Apple Hardware Test may be useful:
    http://support.apple.com/kb/ht1509
    Note that an error free AHT is not definitive.
    Ciao.

  • WBS hierarchy not working in BAPI_PROJECT_MAINTAIN

    I have created the following code. Before I added the section for the hierarchy table the structure was created ok, but with all WBS elements at level 1.
    Now I have added the entries into the hierarchy table I am getting an error when I run BAPI_PROJECT_MAINTAIN.
    The error message is CN 189 E - A reference object cannot be entered for the method 'Update'
    I'd appreciate it if someone can see what I have done wrong.
    Many thanks
    Karen
    Code **
    wa_method_project-REFNUMBER = '00001'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs1.
    append wa_method_project to i_method_project.
    wa_method_project-REFNUMBER = '00002'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs2.
    append wa_method_project to i_method_project.
    wa_method_project-REFNUMBER = '00003'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs3.
    append wa_method_project to i_method_project.
    move-corresponding t_bid_definition to wa_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-PROJ_TYPE = 'BD'.
    wa_WBS_ELEMENT_TABLE-WBS_ACCOUNT_ASSIGNMENT_ELEMENT = 'X'.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs1.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = t_bid_definition-DESCRIPTION.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs2.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS description 1'.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs3.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS Description 2'.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    clear wa_WBS_ELEMENT_TABLE.
    wa_project_definition_upd-project_definition =
                                        t_bid_definition-PROJECT_DEFINITION.
    append wa_project_definition_upd to i_project_definition_upd.
    wa_method_project-METHOD     = 'Save'.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    This is the section I added that stopped the thing working *****************
    Create correct WBS Hierarchy
    wa_method_project-OBJECTTYPE = 'WBS-Hierarchy'.
    wa_method_project-METHOD     = 'Create'.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs1.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-DOWN = wbs2.
    append wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs2.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-UP = wbs1.
    wa_wbs_hierarchie_table-RIGHT = wbs3.
    append wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs3.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-LEFT = wbs2.
    append wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
      EXPORTING
        i_project_definition               = t_bid_definition
      tables
        i_method_project                   = i_method_project
        I_WBS_ELEMENT_TABLE                = I_WBS_ELEMENT_TABLE
        I_WBS_HIERARCHIE_TABLE             = i_wbs_hierarchie_table
        E_MESSAGE_TABLE                    = i_bapi_message.

    Here is the final code.
    The Project Definition is created before you do this bit using BAPI_PROJECTDEF_CREATE which is where the entries for t_bid_definition come from.
    I hope this helps
    Karen
    data: wbs1 type ps_posid,
          wbs2 type ps_posid,
          wbs3 type ps_posid.
    clear: wbs1, wbs2, wbs3.
    wbs1 = 'WBS1'.
    wbs2 = 'WBS2'.
    wbs3 = 'WBS3'.
    wa_method_project-REFNUMBER = '00001'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs1.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    wa_method_project-REFNUMBER = '00002'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs2.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    wa_method_project-REFNUMBER = '00003'.
    wa_method_project-OBJECTTYPE = 'WBS-Element'.
    wa_method_project-METHOD     = 'Create'.
    wa_method_project-OBJECTKEY = wbs3.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    move-corresponding t_bid_definition to wa_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-PROJ_TYPE = 'XX'.
    wa_WBS_ELEMENT_TABLE-WBS_ACCOUNT_ASSIGNMENT_ELEMENT = 'X'.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs1.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                        t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS 1 description'.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-WBS_PLANNING_ELEMENT = ''.
    wa_WBS_ELEMENT_TABLE-WBS_ACCOUNT_ASSIGNMENT_ELEMENT = 'X'.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs2.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = ''WBS 2 description'.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    wa_WBS_ELEMENT_TABLE-WBS_ELEMENT = wbs3.
    wa_WBS_ELEMENT_TABLE-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_WBS_ELEMENT_TABLE-DESCRIPTION = ''WBS 3 description'.
    append wa_WBS_ELEMENT_TABLE to i_WBS_ELEMENT_TABLE.
    clear wa_WBS_ELEMENT_TABLE.
    wa_project_definition_upd-project_definition =
                                        t_bid_definition-PROJECT_DEFINITION.
    append wa_project_definition_upd to i_project_definition_upd.
    Create correct WBS Hierarchy
    wa_method_project-OBJECTTYPE = 'WBS-Hierarchy'.
    wa_method_project-METHOD     = 'Create'.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    wa_method_project-METHOD     = 'Save'.
    append wa_method_project to i_method_project.
    clear: wa_method_project.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs1.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-DOWN = wbs2.
    ppend wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs2.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-UP = wbs1.
    wa_wbs_hierarchie_table-RIGHT = wbs3.
    append wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    wa_wbs_hierarchie_table-WBS_ELEMENT = wbs3.
    wa_wbs_hierarchie_table-PROJECT_DEFINITION =
                                      t_bid_definition-PROJECT_DEFINITION.
    wa_wbs_hierarchie_table-UP = wbs1.
    wa_wbs_hierarchie_table-LEFT = wbs2.
    append wa_wbs_hierarchie_table to i_wbs_hierarchie_table.
    clear wa_wbs_hierarchie_table.
    CALL FUNCTION 'ZBAPI_PROJECT_MAINTAIN'
      EXPORTING
        i_project_definition                =  t_bid_definition
      tables
        i_method_project                   = i_method_project
        I_WBS_ELEMENT_TABLE     = I_WBS_ELEMENT_TABLE
        I_WBS_HIERARCHIE_TABLE = i_wbs_hierarchie_table
        E_MESSAGE_TABLE            = i_bapi_message.
    Message was edited by:
            Karen Dean

  • Dimension with Parent-Child Hierarchy - not working

    hi,
    i tried making "Dimension with Parent-Child Hierarchy" as described in your tutorials.
    i finished with the admin tool and database changes and with no errors.
    when trying to create a new answer, by only puting the hierarchy column in the answer.
    the result show "no result" exist.
    i am not sure what i am doing wrong. maybe you can point me to the problem?
    thanks
    Mirit.

    956850 wrote:
    hi,
    i tried making "Dimension with Parent-Child Hierarchy" as described in your tutorials.
    i finished with the admin tool and database changes and with no errors.
    when trying to create a new answer, by only puting the hierarchy column in the answer.
    the result show "no result" exist.
    i am not sure what i am doing wrong. maybe you can point me to the problem?
    thanks
    Mirit.Hi Mirit,
    What is the table that you created hierarchy on?
    Which column in the hierarchy you pulled into your reports to see the No Result message?
    Please query the table and see if has data.
    Thanks,
    G. SK

  • Mssql2012 - traversing hierarchy not working as expected. please advise.

    Techies--
    When I try to look for descendent organizations, I am seeing the level I am descending from and the descendents (screen shot).  I did not expect to see the row hightlighted.
    When I try to find the ancestor on level 1 for OrgId 3, I don't receive any rows. I expected to see only the highlighted row. I have either generated the data incorrectly, or I am thinking about hierarchies in a wrong way.
    Here is the sql for the queries
    -- query#1 (descendents)
    declare @OrgIdofInterest hierarchyid
    select @OrgIdofInterest = OrgNode
    from [stakeholder].OrganizationInheritance
    where OrgId =2;
    SELECT
    orgtree.OrgNode.ToString() AS Text_OrgNode,
    orgtree.OrgNode,
    orgtree.OrgLevel,
    orgtree.OrgId
    FROM stakeholder.OrganizationInheritance orgtree
    where OrgNode.IsDescendantOf(@OrgIdofInterest) = 1
    -- query #2 (ancestor[s])
    declare @NewOrgIdofInterest hierarchyid
    select @NewOrgIdofInterest = OrgNode
    from [stakeholder].OrganizationInheritance
    where OrgId = 3;
    SELECT
    orgtree.OrgNode.ToString() AS Text_OrgNode,
    orgtree.OrgNode,
    orgtree.OrgLevel,
    orgtree.OrgId
    FROM stakeholder.OrganizationInheritance orgtree
    where OrgNode.GetAncestor(1) = @NewOrgIdofInterest
    Here is the build SQL for the tables and stored proc.
    use [scratchdb]
    go
    ALTER TABLE stakeholder.OrganizationInheritance
    DROP CONSTRAINT FK_OrganizationInheritance_OrganizationType
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    DROP CONSTRAINT FK_OrganizationInheritance_Organization
    GO
    ALTER TABLE stakeholder.Organization
    DROP CONSTRAINT FK_Organization_OrganizationType
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    DROP CONSTRAINT UQ__Organiza__420C9E6DA211482A
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    DROP CONSTRAINT PK_OrganizationInheritance
    GO
    ALTER TABLE stakeholder.Organization
    DROP CONSTRAINT PK_Organization
    GO
    DROP INDEX stakeholder.OrganizationInheritance.OrganizationNode
    GO
    DROP TABLE stakeholder.OrganizationInheritance
    GO
    DROP TABLE stakeholder.Organization
    GO
    CREATE TABLE stakeholder.Organization (
    OrgId int IDENTITY NOT NULL,
    LegacyOrgCode nvarchar(50) NULL,
    CustomIdentifier nvarchar(50) NULL,
    OrgTypeId int NULL,
    OrgShortName nvarchar(50) NULL,
    OrgName nvarchar(200) NULL,
    OrgURL nvarchar(300) NULL,
    associationYears smallint NULL
    GO
    CREATE TABLE stakeholder.OrganizationInheritance (
    OrgNode hierarchyid NOT NULL,
    OrgLevel smallint NULL,
    OrgId int NOT NULL,
    OrgName varchar(200) NOT NULL,
    OrgTypeId int NOT NULL
    GO
    SET IDENTITY_INSERT stakeholder.Organization ON
    GO
    INSERT INTO stakeholder.Organization(OrgId, LegacyOrgCode, CustomIdentifier, OrgTypeId, OrgShortName, OrgName, OrgURL, associationYears)
    VALUES(-1, N'-1', N'', 1, N'All Fleets', N'ALL FLEETS', NULL, NULL)
    GO
    INSERT INTO stakeholder.Organization(OrgId, LegacyOrgCode, CustomIdentifier, OrgTypeId, OrgShortName, OrgName, OrgURL, associationYears)
    VALUES(1, N'506', NULL, 1, N'S', N'S-0', NULL, NULL)
    GO
    INSERT INTO stakeholder.Organization(OrgId, LegacyOrgCode, CustomIdentifier, OrgTypeId, OrgShortName, OrgName, OrgURL, associationYears)
    VALUES(2, N'626', NULL, 1, N'JJ Inc.', N'JJ-0', NULL, NULL)
    GO
    INSERT INTO stakeholder.Organization(OrgId, LegacyOrgCode, CustomIdentifier, OrgTypeId, OrgShortName, OrgName, OrgURL, associationYears)
    VALUES(3, N'69066', NULL, 1, N'JJ-Northeast', N'JJ-1-A', NULL, NULL)
    GO
    INSERT INTO stakeholder.Organization(OrgId, LegacyOrgCode, CustomIdentifier, OrgTypeId, OrgShortName, OrgName, OrgURL, associationYears)
    VALUES(4, N'70809', NULL, 1, N'JJ-Southeast', N'JJ-1-B', NULL, NULL)
    GO
    SET IDENTITY_INSERT stakeholder.Organization OFF
    GO
    CREATE PROCEDURE [stakeholder].[AddOrganizationInheritance]
    @topOrgId int,
    @Orgid int,
    @OrgName varchar(100),
    @OrgTypeId int
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
    DECLARE @mOrgNode hierarchyid, @lc hierarchyid
    SELECT @mOrgNode = OrgNode
    FROM UnifiedStakeholder.stakeholder.OrganizationInheritance
    WHERE OrgId = @topOrgId
    SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
    BEGIN TRANSACTION
    SELECT @lc = max(OrgNode)
    FROM UnifiedStakeholder.stakeholder.OrganizationInheritance
    WHERE OrgNode.GetAncestor(1) =@mOrgNode ;
    INSERT UnifiedStakeholder.stakeholder.OrganizationInheritance
    (OrgNode, OrgId, OrgName, OrgTypeId)
    VALUES(@mOrgNode.GetDescendant(@lc, NULL), @OrgId, @OrgName, @OrgTypeId)
    COMMIT
    END
    GO
    insert UnifiedStakeholder.stakeholder.OrganizationInheritance
    (OrgNode, OrgId,OrgName,OrgTypeId)
    values (hierarchyid::GetRoot(),-1,'ALL FLEETS',1)
    GO
    insert UnifiedStakeholder.stakeholder.OrganizationInheritance
    (OrgNode, OrgId,OrgName,OrgTypeId)
    values (@Fleet.GetDescendant(NULL,NULL),1,'S',1)
    GO
    -- // Note: I could have this wrong. I think I'm putting in the level above the level I want as @topOrgId.
    exec unifiedstakeholder.stakeholder.AddOrganizationInheritance -1,2,'JJ Inc.',1
    GO
    exec unifiedstakeholder.stakeholder.AddOrganizationInheritance 2,3,'JJ-Northeast',1
    GO
    exec unifiedstakeholder.stakeholder.AddOrganizationInheritance 2,4,'JJ-Southeast',1
    GO
    CREATE UNIQUE INDEX OrganizationNode
    ON stakeholder.OrganizationInheritance(OrgNode, OrgLevel)
    WITH FILLFACTOR = 95
    GO
    ALTER TABLE stakeholder.Organization
    ADD CONSTRAINT PK_Organization
    PRIMARY KEY (OrgId)
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    ADD CONSTRAINT PK_OrganizationInheritance
    PRIMARY KEY (OrgNode)
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    ADD CONSTRAINT UQ__Organiza__420C9E6DA211482A
    UNIQUE (OrgId)
    GO
    ALTER TABLE stakeholder.Organization
    ADD CONSTRAINT FK_Organization_OrganizationType
    FOREIGN KEY(OrgTypeId)
    REFERENCES reference.OrganizationType(OrgTypeId)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    ADD CONSTRAINT FK_OrganizationInheritance_OrganizationType
    FOREIGN KEY(OrgTypeId)
    REFERENCES reference.OrganizationType(OrgTypeId)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION
    GO
    ALTER TABLE stakeholder.OrganizationInheritance
    ADD CONSTRAINT FK_OrganizationInheritance_Organization
    FOREIGN KEY(OrgId)
    REFERENCES stakeholder.Organization(OrgId)
    ON DELETE NO ACTION
    ON UPDATE NO ACTION
    GO

    IsDescendantOf
    Returns true for all the nodes in the sub-tree rooted at parent, and false for all other nodes.
    Parent is considered its own descendant.
    GetAncestor
    Returns a hierarchyid representing the
    nth ancestor of this.
    ordid=3 is the ancestor of nobody.

  • MacBook Unibody Model A1342 trackpad not working!!

    Hi All,
    I have the above mentioned Macbook from Mid 2009. Over the past number of months, the trackpad on the Macbook was behaving erratically. Opening files randomly and bouncing all over the screen. It became absolutely impossible to use, even with a mouse plugged in, it would do the same things.
    I recently purchased a new trackpad and following very strict instructions, I replaced the faulty trackpad. However, now the trackpad fails to work at all. All cables and screws have been replaced correctly. One saving grace is that the computer works fine now with a mouse plugged in, but it would be nice to get the trackpad working also.
    One thing I did notice when installing the trackpad was that it seemed to click fine without the battery installed. Once I installed the battery back in, it became impossible to press down on the buttons. From reading forums people have been mentioning swollen batteries causing issues with trackpads. However I assembled the Macbook, leaving the battery out and the trackpad still failed to work.
    Any ideas on how to fix this problem or what the problem might be would be greatly appreciated.
    Cheers

    No one cared enough to answer.

  • Media Center Pc not working

    Hi ,
    My media center pc hp model "m7552.de" not working not boot screen but only case, cpu, graphics card and fans working not doing beep signal ;
    + i'm tested another power supply on orginal (hp) mainboard (not working).
    + i'm tested another ram on orginal (hp) mainboard (not working).
    + i'm tested another pci express graphic cart not runing on orginal (hp) mainboard (not working).
    + I'm tested amd 4200 cpu on another board runing without problems .
    - i cannot tested another on board ram's and tv cart .
    i thing problem on mainboard ?
    Which model mainboard should I buy to work with this model ?
    i have Windows Xp Media Center Edition 2005 HP license key (On PC) ,  
    After changing the motherboard I do not want to get a new operation system license, for that is the suggestion?
    www.limonforum.com

    Where support ?
    www.limonforum.com

  • Skype samsung camera not working

    Hi - I have purchased a samsung skype camera (model CY-STC1100/XC) which when I connect to my samsung TV (model UE32D6500) does not work: the blue LED does not come on at all. I have already returned one as faulty so this I don't believe the issue is with the camera. Any ideas?

    Hi- its working now.  The problem is that all your contacts needs to update Skype and have the latest version and then bingo - it works.  Its fab now.
    Problem solved and set for Christmas call around.
    Merry Christmas everyone

  • Not working well on my msn with creative NX

    can someone please help me with this webcam NX model N0225, is not working well on my msn 7.5 i'm using XP SP2 it will disconnect after like 30 minutes or so... but if i didn't open the cam, it won't have any problems with it. are there any other way I can solve this problem please someone help me thanks

    Open the multitasking window by double-tapping the Home button. Close all the apps that are open. You can then try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

Maybe you are looking for

  • Interactive Report Download - filenames always in lower case

    I've written an interactive report in Apex v4.0.2 and have set the CSV download option to use a filename of "One_Two_Three" (note the capitalization). However when the CSV file is generated, the filename is "one_two_three" - all in lower case. I've t

  • Kernel BADI

    Hi Experts, I m trying to work on Kernel BADI's. I have created a custom enhancement Spot that has Custom BADI and Implementation. when i try to instantiate it in my custom Z program using GET BADI & CALL BADI i get a error stating 'BADI_HDL' is not

  • VLAN limitations sup720

    Hi Just a quick one. Does anyone know the max number of configurable VLANs supported on the sup720? Also what is the maximum number of concurrent spanning-tree instances supported?

  • LR not allowing Camera Raw to download.

    Changed computer from 32 bit Vista to Windows 7 Pro 64 but I cannot download camera raw photos to LR. Some photos download but not to the right side so that they can be assigned a folder. Suggestions please?

  • Utilizar coma

    Deseo que mis numeros se vean con este formato 400,852.82. como puedo hacer esto? Solved! Go to Solution. Attachments: pregunta Labview.png ‏9 KB