CREATING HIERARCHIES USING TREEBYNESTINGTABLECOLUMN

hi,
i downloaded TutWD_TreeByNestingTableColum from sdn site.When i tried to buid a new application i m facing some trouble in the following code:
public static void wdDoModifyView(IPrivateTreeTableView wdThis, IPrivateTreeTableView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
   if (firstTime) {
IWDTreeByNestingTableColumn masterColumn =(IWDTreeByNestingTableColumn) view.getElement("MasterColumn0");
masterColumn.mappingOfOnLoadChildren().addSourceMapping(
                    "path",
                    "element");
    //@@end
i m not able to find out what "path" is.when i tried to modify that application new nodes r not getting added.
plz help me.

Sridhar,
1. "path" is a standard name of LoadChildren action parameter, here it is mapped to "element" parameter of action handler in view controller. Such mapping is mandatory even parameter in action handler has the same name.
2. post here parts of modified code.
VS

Similar Messages

  • Best way to create hierarchies tables

    Good morning all,
    I wanted to discuss the best practices of creating hierarchies to be consumed by OBIEE. As far as I understand, OBIEE has been optimized to use flattened hierarchies, such as:
    ROW_WID CITY COUNTRY
    1 NEW YORK CITY USA
    2 MOSCOW RUSSIA
    3 KIEV UKRAINE
    4 SYDNEY AUSTRALIA
    5 ATLANTA USA
    Let's call it option 1. The only problem with this is that it has a potential to grow very wide. Also, There's a chance for confusion when there're duplicate entries, such as "New York" (city) and "New York State". Also, it's not always possible to define hierarchical relationships between data in a flat table - so-called ragged hierarchies. I found two major way of dealing with those (stack and flattening them out). Are there any other ways to deal with those? Specifically, I'm interested in dealing with hierarchies that involve complex positioning (a person might be a manager vertically, but managed horizontally - or - a person can have 2 managers - on different levels).
    Also, in the example above - can I create dimensional outriggers (assign surrogate keys instead of text values to the dim - such as having NEW YORK as 100, MOSCOW as 200)? Sort of snowflaking a dimension. I was asked to do a proof of concept for this - but haven't been successful so far. If yes, could you please provide a simple Dim Outrigger < Dim < Fact diagram.
    Thank you

    Thanks Peter - I've checked that document before (I believe it's based on Kurt Wolffe's document on Siebel Analytics which I checked as well).
    This option is fine if you're not going to do frequent changes - but in my case - it'll be a hell to maintain. We're sort of trying to prototype best solution - and it seems as flattening hierarchies is the best option, of course, given its limitations.
    Also, there's another option of taking a different path and splitting and then building separate hierarchies

  • How to create hierarchies in Bex queries?

    Hi All,
    I am new to query designer tool,
    can you please help me how to create hierarchies in Bex queries using query designer tool?
    Thanks in advance...

    Hi,
    directly you can't create hierarchy at bex level.
    First you have to maintain hierarchy data source at source or bw side, based on your needs.
    Later you can load data to hierarchy, after that at bex level you can activate hierarchy options to related info object properties.
    To maintain hierarchy we need to enable hierarchy options at related info object(RSD1, hierarchy tab, select with hierarchies) maintenance level.
    For example: info object - 0GL_ACCOUNT and you need hierarchy structure on gl account.
    For that we need to have hierarchy data source and will load data from ecc.
    Later we can develop reports on gl account in hierarchy fashion.
    On what object infoo bject you want create hierarchy report and have loaded hierarchy data?
    Thanks

  • Is it possible to create hierarchical tree report (not group tree) CR2008?

    Hi,
    Is it possible to create hierarchical tree kind report using CR 2008(no group tree in the report)?  The report somewhat look like below and a node can have multiple Child and so and so. Is there any magical way either as a chart or any object which supports the below structure.
                                                          Parent1
                                           Child1              Child2             Child3             Child4          Child5
                     Child1A     Child1B      Child1C
        Child1Aa  Child1Ab
    its hierarchical tree  structure and it should be in detail section of the report so that print in paper is possible.
    Please help first of all, can we able to create a report in above structure(each item needs to be surronuded with box and the each last child will contain a table valued data.
    (if I post this thread, it may look like plain text, please consider the above data as a hierarchical tree  structure with child having N number of children)
    Thanks

    Moved from .NET Development - Crystal Reports forum to Crystal Reports Design forum.
    Ludek

  • How to load hierarchies using process chains

    Hi ,
    Can any one please explain the steps for loading hierarchies using process chain.whenever i drag the hierarchy infopcakage Save variant is also coming by default,so do we need to have different SAve variant for different hierarchy infopackages or can we have one save variant for all the hierarchy variables.
    Thanks,
    Vaka

    Hello Veka,
    How r u ?
    Yes ! SAVE Variant & Attribute Change Run will add up while loading the Hierarchy InfoPackage.
    Provide the InfoObject Name for which u r loading the Hierarchy in the SAVE variant and SAVE it. The same will be transferred to the Attribute Change Run also.
    If u r creating the Chain with more InfoPackages then have the Save Variant & Attribute Change Run at the last.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Creating Hierarchical Dimensions - OEID 3.0

    Does anyone have an example of a graph that can be used to create hierarchical dimensions? For example, if I want to create an organizational structure like this:
    Organizational Unit 1..N
    Organizational Division 1..N
    Organizational Department 1..N
    Organizational Section 1..N
    Employee A
    Employee B
    Where each layer is it's own attribute field in the data set:
    Tier1,Tier2,Tier3,Tier4,Tier5
    Organizational Unit 1,Organizational Division 1,Organizational Department 1,Organizational Section 1,Employee A
    Is this possible?
    Thanks

    Hi Patrick,
    Thanks for your response. I did try and follow the Load Managed Values graph as shown in the Integrator User's Guide, however it seemed to create a multi-valued Component attribute instead of a tiered structure as shown above. That's why I wanted to know if there were any other examples around that creates the tiered structure as I've seen it mentioned theoretically in the guides but never implemented.
    Thanks!
    Rachel

  • How do we create Hierarchical tree??

    Can I get help on creating hirerchical tree with detailed description ?? I tried basing hierarchical item on query but it didn't work.Do i need to specifically give code for populating it ??
    Also I need help on basing it on Record Group ??
    Is there any rule for having specific no of columns for a tree ??

    You can create Hierarchical Tree in two ways.
    One using "connect by prior" and another
    by Adding columns and row to record group at run time.
    If your table has Self reference Key then
    you can create using connect by prior.
    Otherwise you have to go for second one.
    Go and check the navwiz.fmb in oracle demo files.
    Following example is from navwiz.fmb
    (open navwiz.pll and then check refresh_tree)
    In this example they used both.For Emp they used connect by prior.
    PROCEDURE refresh_trees(p_view VARCHAR2) IS
    cursor cursor_dept is
    select dname, deptno
    from dept
    order by dname;
    cursor cursor_emp(p_dno number) is
    select ename, empno
    from emp
    where deptno = p_dno
    order by ename;
    v_i number;
    v_ignore number;
    rg_emps recordgroup;
    rg_depts recordgroup;
    v_init_state groupcolumn;
    v_level groupcolumn;
    v_label groupcolumn;
    v_icon groupcolumn;
    v_value groupcolumn;
    begin
    if p_view = 'EMP' then
    --the emps hierarchy
    rg_emps := find_group('EMPS');
    if not id_null(rg_emps) then
    delete_group(rg_emps);
    end if;
    rg_emps := create_group_from_query('EMPS',
    'select 1, level, ename, NULL, to_char(empno) ' &#0124; &#0124;
    'from emp ' &#0124; &#0124;
    'connect by prior empno = mgr ' &#0124; &#0124;
    'start with mgr IS NULL');
    v_ignore := populate_group(rg_emps);
    ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_emps);
    else
    --the organization
    rg_depts := find_group('DEPTS');
    if not id_null(rg_depts) then
    delete_group(rg_depts);
    end if;
    rg_depts := create_group('DEPTS');
    v_init_state := add_group_column(rg_depts, 'init_state', number_column);
    v_level := add_group_column(rg_depts, 'level', number_column);
    v_label := add_group_column(rg_depts, 'label', char_column, 40);
    v_icon := add_group_column(rg_depts, 'icon', char_column, 20);
    v_value := add_group_column(rg_depts, 'value', char_column, 5);
    v_i := 1;
    for deptrec in cursor_dept loop
    add_group_row(rg_depts, v_i);
    set_group_number_cell(v_init_state, v_i, 1);
    set_group_number_cell(v_level , v_i, 1);
    set_group_char_cell (v_label , v_i, deptrec.dname);
    set_group_char_cell (v_icon , v_i, NULL);
    set_group_char_cell (v_value , v_i, to_char(deptrec.deptno));
    v_i := v_i + 1;
    for emprec in cursor_emp(deptrec.deptno) loop
    add_group_row(rg_depts, v_i);
    set_group_number_cell(v_init_state, v_i, 1);
    set_group_number_cell(v_level , v_i, 2);
    set_group_char_cell (v_label , v_i, emprec.ename);
    set_group_char_cell (v_icon , v_i, NULL);
    set_group_char_cell (v_value , v_i, to_char(emprec.empno));
    v_i := v_i + 1;
    end loop;
    end loop;
    ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_depts);
    end if;
    My query******
    procedure refresh1 is
    v_i number;
    v_ignore number;
    Rg_Menus recordgroup;
    rg_depts recordgroup;
    Begin
    Rg_Menus := find_group('MENUS');
    If not id_null(Rg_Menus) then
    delete_group(Rg_Menus);
    End If;
    Rg_Menus := create_group_from_query('MENUS',
    'select 1, level, item_name, NULL, item_id ' &#0124; &#0124;
    'from Item_all '
    &#0124; &#0124;' where Item_id in (select Item_id from Item_access_all where role_id in
    (select role_id from org_access_all where user_id =
    (select gsp_user_id from users_all where upper(user_name) = upper(USER))
    and code = :global.code) )
    and item_id not in (select item_id from item_Exception where Code = :Global.Code)' &#0124; &#0124;
    'connect by prior item_name = main_name ' &#0124; &#0124;
    'start with item_name = ''MAIN''');
    v_ignore := populate_group(Rg_Menus);
    ftree.set_tree_property('tree_blk.tree_menu', ftree.record_group,Rg_Menus);
    Exception
    When Others then
    Bell;
    Message('You cannot Access any menu item...');
    Raise Form_trigger_Failure;
    End;
    viji.
    null

  • Create Hierarchies in BPC

    Hi
    can anyone let me know how to create Hierarchies in SAP BPC in detail.
    Regards
    ark

    Hi Ark,
    Unfortunately, I don't know if any "how to" guides exist for hierarchies. To get a general understanding via BPC 7.0, I recommend going into BPC Administration. Select the ApShell appset, and select Manage Dimensions. Select the P_ACCT dimension. Select "Maintain dimension members". Select "View member report".  This will provide you with an indented (hierarchical) view of the accounts.
    Basically, hierarchies are created using the PARENTH1 (PARENTH2, PARENTH3, etc.) column.  You may have the following IDs in an account dimension:
    _ID_
    Total_Revenue
    Europe_Rev
    German_Rev
    Americas_Rev
    By placing some IDs in the PARENTH1 column, you make those IDs parents and you've created a hierarchy.
    _ID_                _PARENTH1_
    Total_Revenue
    Europe_Rev          Total_Revenue
    German_Rev          Europe_Rev
    Americas_Rev        Total_Revenue
    So in an indented view, you now have the following:
    Total_Revenue
      Europe_Rev
        German_Rev
      Americas_Rev
    So German_Rev roles up to Europe_Rev. Both Europe_Rev and Americas_Rev role up to Total_Revenue.  In this example, all IDs are roll-up IDs except for German_Rev and Americas_Rev, so only German_Rev and Americas_Rev can be used to input data.
    Hopefully that helps.
    Thanks,
    Scott

  • Loading Hierarchies using flat file

    Hi experts,
    I have requirement to load hierarchies using flat file.
    I have to create hier on Person Responsible, sub nodes are Sales Office, Project Definition, Project Type and Project Definition Description. I have file, i need to load into BW.
    I dont know much about hier loading, can you tell me what are the Attributes to be inserted and how to prepare the hier loading file which contains HIENM, VERSION, HCLASS, DATEFROM and DATETO.
    I dont know these fields are enough to load my hier.
    I have created one hier, when i try to activate it's giving error like ' no data exists'.
    Can anyone tell me how to prepare file to load into hierarchy?
    Thanks in advance,
    Venky

    Hi Venkatesh,
    There are several formats to load a hierarchy via file. The following two are the commonly used formats.
    1) Default
    Node ID                     NODEID
    InfoObject Name     INFOOBJECT
    Node Name     NODENAME
    Link Name     LINK
    HghrLvlNode     PARENTID
    Language Key     LANGU
    Description - Short     TXTSH
    Description - Medium     TXTMD
    Description - Long     TXTLG
    2) Sorted
    Node ID                     NODEID
    InfoObject Name     INFOOBJECT
    Node Name     NODENAME
    Link Name     LINK
    HghrLvlNode     PARENTID
    First Subnode     CHILDID
    Next Node Along     NEXTID
    Language Key     LANGU
    Description - Short     TXTSH
    Description - Medium     TXTMD
    Description - Long     TXTLG
    If Default format is used, the sequence of node IDs appeared in the flat file determines the structure of the hierarchy. Whereas the sorted hierarchy format defines the structure via PARENTID, CHILDID, NEXTID relationship.
    You make the selection in DataSource/Tran.Structure tab of InfoSource Page by clicking on the "Hier. Structure button.
    Good luck!
    Bill

  • Hierarchies using Multiple Dimensions

    Just posting this out there if there is any way to create hierarchies/ drill paths leveraging multiple dimensions? e.g. Columns A from DIM1 (parent) drills down to Column B from DIM2 (child). The model is a simple star wherein the two dimensions are joined through a fact.

    Hi,
    Thanks for responding.
    As of last evening we tried creating multiple physical layer alias's of the dim tables in question such that we could create mutiple hierarchies for varied drill downs with "preffered drill paths". While doing the same we kind of figured out the same as to why head down that route wherein we could just have 4 aliases for 2 dimension tables and make use of a single LTS name within a logical table with multiple sources. This way using a single LTS name with multiple source joins, we could solve this.
    Thanks. I will mark as helpful since if I had read it earlier it would have directed us in the right direction much faster.

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from tab@dblink .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • How to save report in PersonalCategory  after creating it using java panel?

    Hi,
    Anybody knows How to save report in PersonalCategory  after creating it using java panel?
    I dont want to save it in public folder. I want to save report (webi) in user's personal category.
    can anybody send me source code?
    It will help me a lot.
    Thanks in advance
    Amol Mali

    Hi teda,
    i'm assuming that you have seen my post that i did successfuly save report in user's personal category.
    Actually the report is created in webi java panel using RE SDK and  is saved in Report Sample Folder then i'm saving it in user's personal category by following code
    string query = "Select SI_PERSONAL_CATEGORIES From CI_INFOOBJECTS Where "
                         + "SI_INSTANCE=0 And SI_ID=" + reportID;
                    InfoObjects infoObjects = infoStore.Query(query);
                    InfoObject infoObject = infoObjects[1];
                    Webi wreport = (Webi)infoObject;
                    ObjectRelativeIDs personalIDs = wreport.PersonalCategories;
                /personalIDs.Add(Convert.ToInt32(categoryID));
                   infoStore.Commit(infoObjects);
    But the report is presents in the Folder also and in user's personal category also.
    I dont want the report to be in the folder (Report Sample) if i saved it in user's personal category.
    How can i do that?
    any idea.
    Please help me.
    Thanks in advance
    Amol Mali
    Edited by: amol mali on Jan 9, 2009 7:55 PM

  • I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

  • Why Dynamic Parameter is not working, when i create report using stored procedure ?

    Post Author: Shashi Kant
    CA Forum: General
    Hi all
    Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
    Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
    is not shown to me when i referesh the report for viewing the results.
    I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
    ============================================================================================
    1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
    Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
    Dynamic Parameters in Action
    My question is that whether dynamic parameter is working with storedprocedure or not.
    When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
    One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
    Please reply soon , it's urgent
    Regards
    shashi kant

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for