Generate a navigator Tree without Blockname as node

Hi
I am generating navigator/hierarchical tree with simple master-detail data.
I would like only the records to appear in the tree, and not the blockname, as it is really a simple hierarchy with only few records.
How can I do that?
Now:
+DEP
+ Accounting
+ EMP
Miller
+ Research
+ EMP
Smith
Allen
My goal:
+DEP (not even necessarily)
+ Accounting
Miller
+ Research
Smith
Allen
By the way, is there anyway I can make Accounting and Reasearch bold an not Miller and Allen?
Thanks
Karine
PS: I am working with Designer 6i, 6.5.96.5.6
Edited by: Karine on Feb 24, 2009 1:24 PM

I got the refreshing of the tree part by myself. One needs to call the refresh method on the GroupingCollection2 and HierarchicalCollectionView objects when the arraycollection has just arrived from the database.
But I still havent been able to figure out how to highlight or open a tree node programatically. I am repeating that using (calling / setting) tree.expandItem() and tree.openItems is not helping me. Plz somebody help.

Similar Messages

  • 30EA1 /2.*: Double-clicking objects in the navigator tree

    Hi,
    There is an inconsistency in double-clicking objects in the navigator tree:
    When Preferences - Database - ObjectViewer - Open Objects on Single Click is checked, double-clicking e.g. a table in the navigator will still open it the same way as single-clicking it.
    However, when Preferences - Database - ObjectViewer - Open Objects on Single Click is not checked, double-clicking the table in the navigator will open it, and expand the columns. The latter is quite irritating, especially on large tables.
    Can this be bugged, so double-clicking the table in the navigator will just open it?
    Thanks,
    K.

    The node is expanded on double click irrespective of what the preferenceIs this a typo or does it really expand always for you? For me it only expands with "single click objects" disabled.
    windows explorer also does the sameYes, and I'd even say that's the desired behaviour, especially since it's the only action taken.
    Common sense and standards are against taking 2 different actions at the same time. One should override the other.
    Ideally, double click with "single click objects" disabled would just open the object, and double click with "single click objects" enabled could expand the node as in the Windows Explorer (but doesn't have to).
    So that's almost completely the other way around as we get it now.
    Thanks,
    K.

  • Opening new window in xMII Portal navigation tree

    I'm doing a 5-level deep drilldown where each drilldown needs a new window (browser page). I do it with JavaScript and window.open(strURL); and xMII 11.5.
    This works well with "standalone" pages, but I would like to use xMII Portal navigation tree all through.
    So, is there a way to open a page (with JavaScript) in xMII Portal Navigation tree so that user gets "jumped" to this location while staying in portal without a new window or popup window. Just like I would do with mouse (navigate tree, open page) but with code?.
    I have found nothing relating to this in SDN or help files.
    Message was edited by:
            Matti Nummi

    Hi, Matti.
    If you specify a target attribute of "MainContentWindow", it should open up in the portal content area.
    Best regards,
    Rick

  • File Item order in a Navigation Tree

    Hi,
    A consultant previously adapted the Navigation Menu Portlet from OPS to display the navigation tree for 'Basefile' items. He created an item type that builds a tree and when a link representing a file is clicked the file will appear in a frame next to the tree.
    The portlet uses wwv_user_corners and wwwsbr_all_items to build the tree.
    The portlet displays the links for the files within a folder ordered alphabettically by the display link for the file. What we want to do is to order them by the direct address url of the file, ie the file name. This would allow the page builder to display the file links in the order he wants by prefixing the file names with numbers to control the order.
    We are having difficulty identifying the right view/table in portal that has the direct address. wwdoc_window$ appears to have the information we want but we are having difficulty determining the right fields to use for the join with wwsbr_all_items.
    Any help would be appreciated.
    Thanks,
    Peter

    Hi Krishna
    In standard SAP, "Return order(RE)" can be created either with reference to "Billing document" OR "Sales order" and there is no Madatory reference for Return order (RE).
    Therefore, Return order can be created without  any reference also ,in standard system.
    In Copy control (VTAA), you can find  OR  to  RE  as source and target document pair.
    Similarly, in copy control (VTAF), you can find  F2  to  RE  as source and target document pair.
    If it is required in your organisation, then you can mark "reference mandatory" for Return order (RE).
    When you create a Return order(RE) with reference to Sales order(OR),in Copy control (VTAA), no Item category has been proposed for the Target document RE, therefore it is determined from the assignment in the customisation ,as below.
    Sales doc type + Item category group + Item usage(if any) + Item category of higher level item(if exists)  = Item category.
    e.g, RE  +  NORM  +  (blank)  +  (blank)   =  REN
    If ,you create the Return order(RE) with reference to the Billing document (F2), then in copy control(VTAF) at item level, Item category(REN) has been proposed for the target document, so system copies that to target document RE.
    So, as beacuse you are creating the Return order(RE) with reference to the Sales order(OR), you have to check the assignment in customisation as above.
    Beside this, "Credit for Return(RE)" is always created with reference to the "Return order(RE)" and  NOT with reference to the "Return Delivery(LR)", in standard SAP.
    That is why ,if you check the Item category REN, you will find the "Billing relevance" as "B"(Order related Billing docuemnt).
    Regards

  • Could not load or refresh node tree creation failed on node

    Hi Experts
    I created one user with MSS role and ERP COMM role.
    It is working fine. We restarted the server for other purpose. Then surprisingly the MSS role was locked. I am unable to see the MSS tab in the top level navigation.
    When i expand the workset in line manager -> Manager Self Service -> Worksets
    I am getting the following error::
    Could not load or refresh node tree creation failed on node:
    pcd:portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.worksets
    I can be able to expand and priveiw the Pages and iviews, except the worksets
    Please guide me, i am badly stucked here.
    Regards,
    Srinivas

    Hi KRISHNA,
    Check the below thread and notes mentioned in that
    Re: Tree creation failed on node: pcd:portal_content
    Koti Reddy

  • Weblogic Platform SP4 Install - Console Navigation Tree not functional

    hi
    Just did a full install of WLP SP4 on Win XP Pro SP2
    Starting WLS and using the console in both an ex-SP3 domain and a newly
    created (and empty) SP4 domain, the console navigation tree isn't working.
    The console HTML pages are fine.
    i.e. clicking on the + of a tree node or right clicking within the tree area
    produces nothing.
    There are no applet type error indications on browser status line.
    It was working fine for the just uninstalled SP3 version.
    Is this caused by an out-of date browser plugin or some MS IE security
    weirdness? My settings show I'm using the MS JVM
    Any advice would be appreciated
    Regards
    Jim Nicolson

    hi again
    I installed the latest JRE (1.4.2.07), and activated the Java support in IE
    and the problem dissappeared.
    Probably worth mentioning such a change in the release notes.
    Regards
    Jim Nicolson
    "Jim Nicolson" <[email protected]> wrote in message
    news:[email protected]..
    hi
    Just did a full install of WLP SP4 on Win XP Pro SP2
    Starting WLS and using the console in both an ex-SP3 domain and a newly
    created (and empty) SP4 domain, the console navigation tree isn't working.
    The console HTML pages are fine.
    i.e. clicking on the + of a tree node or right clicking within the tree
    area
    produces nothing.
    There are no applet type error indications on browser status line.
    It was working fine for the just uninstalled SP3 version.
    Is this caused by an out-of date browser plugin or some MS IE security
    weirdness? My settings show I'm using the MS JVM
    Any advice would be appreciated
    Regards
    Jim Nicolson

  • Selection generated with Navigational Attribute and store forecast profile

    Hi,
    Our business has a requirement that will require for the solution a Forecast Profile to be stored against a selection which was generated with a navigational attribute in the selection. I have found two SAP Notes 329707 and 394076 shown below which point to BAdi /SAPAPO/SDP_FCST5 method SEL_CHANGE to do the job. Can anyone help me in understanding what coding we need to do within the BAdi to get this to work. Does anyone have an example?
    SAP Note 329707
    Method:
        SEL_CHANGE  (as of SCM 4.1)
        This method can be used to change the selection to be stored in
        in the generated selection table. Navigation attributes can be
        removed, such as the function of assigning a forecast
        profile to the selection can also be allowed for selections with
        navigation attribute without a basic characteristic.
        Parameter
         IV_PAREAID      Importing  Type /SAPAPO/TS_PAREAID
         CT_SELECTION    Changing   Type /SAPAPO/TS_IOBJ_SELECTION_TAB
    Sample code:
        DATA: lv_tabix     TYPE sytabix.
        DATA: lt_chars     TYPE /sapapo/dm_int_chars_tab.
        DATA: ls_chars     TYPE /sapapo/dm_int_chars.
        DATA: ls_selection Type /SAPAPO/TS_IOBJ_SELECTION.
        IF iv_pareaid = 'PAREA1'.
          CALL FUNCTION '/SAPAPO/TS_PAREA_SINGLE_GET'
            EXPORTING
              iv_pareaid   = iv_pareaid
            IMPORTING
              et_chars     = lt_chars
            EXCEPTIONS
              not_found    = 1
              OTHERS       = 2.
          CHECK sy-subrc EQ 0.
          LOOP AT ct_selection INTO ls_selection
                              WHERE iobjnm NE '9AVERSION'.
            lv_tabix = sy-tabix.
            READ TABLE lt_chars INTO ls_chars
                                WITH KEY iobjnm = ls_selection-iobjnm.
            IF sy-subrc EQ 0 AND NOT ls_chars-atrnavfl IS INITIAL.
               DELETE ct_selection INDEX lv_tabix.
            ENDIF.
          ENDLOOP.
        ENDIF.
    SAP Note 394076
    As of Release SCM 4.1, you can use the method SEL_CHANGE of the BadI /SAPAPO/SDP_FCST5 to process the selection before saving it to the generated selection tables. This allows you to save selections with navigation attributes, for example, where the selections do not have a specified basis characteristic. You simply need to delete the navigation attributes from the selection.

    Is all the Navigational attribute checked for display during cube creatiion?
    Prathish

  • Report and navigation tree on same page, report based on navigational path.

    Dear fellow htmldb developers,
    in my application I have one page where my client need to see a report based on the selection they made in the navigational tree on the same page. The tree has this this structure:
    Products
    ---Monitor
    ----- 19"
    ------21"
    When the client clicks Monitor, 19" a report should be generated which shows all the 19" Monitors, so the sql statement for the report should be something like:
    select * from table where pgroup = link1 (monitor) and sgroup = link(2)
    How do I achieve this? Probably by using bindvariables. Can't figure out how to set it up though. Please help.
    Sincerely,
    Peter

    Create another (chart) region.

  • JTree refresh without collapsing my nodes

    Hello,
    I have a JTree using a custom TreeModel. I've also extended the TreeNode.
    What is the most elegant method to refresh the tree or only a node without
    collapsing the currently expanded nodes?
    Please note that there are multiple types of TreeNodes each representing
    a different object to display in the tree and contains an object that represents its
    value. Also the node has a method createChildren() to determine and create
    the child TreeNodes. Children are loaded from a business delegate. I need the
    tree to re-query the model (maybe for only one node) about the data and redisplay
    the changes without affecting the collapsed/expanded state of the nodes that
    are not changed (not supposed to refresh).
    My model actually asks the node for data like getChildsCount(), isLeaf() etc, etc.
    I'd like to say:
    myCustomNodeInstance.refresh();
    or
    myCustomTreeModelInstance.refresh(myCustomNodeInstance);
    and all nodes that are not children of myCustomNodeInstance to preserve
    their state.
    Thanx

    Did you try to call repaint() method on JTree ?

  • Roles and Navigation Tree

    Hi everybody,
    I have a portal role that contain the few worksets and the few pages in a "tree" structure.
    How could I show  this "tree" structure in an portal application ?
    Thanks for any feedback
    Regards.
    Altafin

    Hello Detlev,
    Firstly, thanks for your fast feedback. I'll try to be more specific.
    Similar with the Navigation Tree from PDK docs, I want to show a role with it's all "nodes" and "subnodes"(worksests and pages).
    In the Navigation Tree, from the user environment I obtain the root and  started from it, I build the all it's subnodes. In Navigation Tree example the root is "absolute root" and subnodes are portal standard roles(System Administration, Content Management, Java Development etc).
    Similar with the above example, I want that the root to be a role's folder. From this folder's root, I wish to get the it's worksets and pages, in a tree structure. 
    Best Regards.
    Altafin

  • EM - No menu navigation (target navigation tree) possible - screen reader?

    Hello, today I started EM first time on my new WLS/OSB11g.
    EM asked my on using a "screen reader"
    Unfortunatelly I just selected yes and pressed enter.
    Now, after login, only a "View Menu for Target Navigation Tree" appears. Within a FARM with three nodes (Weblogic Domain) appears. But I can't click it with my mouse.
    I tried with firefox and internet explorer. Cleard all caches, but I still can't click within this menu. So I think this has something to do with my enabled screen reader option.
    Is there a possibility to turn the screen reader mode off?
    Thanks

    I think you can best execute the opposite steps you find here:Enabling Enterprise Manager Accessibility Mode
    http://download.oracle.com/docs/html/B12013_03/structure.htm#i1024938
    Eric

  • Navigation Tree event on a link

    Hello everybody,
    I have a Navigation tree and I want to put an event on a link. How could I do that ?
    I have the following code:
    private void CreateLink(
                   IPortalComponentRequest request,
                   TreeNode treeNode,
                   INavigationNode node)
                   String url = node.getName();
                   String title = node.getTitle(request.getLocale());
                   Link link = new Link("LINK_" + FirstNodeCount++, title);
                   String navigationAction = "EPCM.doNavigate('" + url + "',2)";
                   //l.setOnClientClick(navigationAction);
                   link.setOnClick("onLink");
                   treeNode.setComponent(link);
    and
    public void onLink(Event event)
                   TreeNodeSelectEvent myEvent =  (com.sapportals.htmlb.event.TreeNodeSelectEvent) event;
                   TreeNode myNode = navigationBean.getTree();
                   System.out.println(myNode.getID());
                   TreeNode tempNode = myNode.getNodeByID(myEvent.getNodeKey());
                   myNode.setOpen(true);
                   navigationBean.setTree(myNode);
    Thanks for any feedback
    Regards.
    Altafin

    try link.setOnClientClick("javascript:raiseEvent('" + url + "')");
    instead of link.setOnClick("onLink");
    Include the javascript to fire the event.
    <SCRIPT language=javascript>
    function raiseEvent(value){
    EPCM.raiseEvent("urn:com.sap:PassEvent", "SetParam", value, null);
    </SCRIPT>
    Then add the subscribe event to the iview you want to receive the event.
    <SCRIPT language=javascript>
    EPCM.subscribeEvent("urn:com.sap:PassEvent", "SetParam", getEvent);
    function getEvent(eventObject){
    EPCM.doNavigate('" + eventObject.dataObject + "',2)";
    </SCRIPT>

  • Empty Navigation Tree error in SRM 7

    Hello Experts,
    I'm setting up an SRM 7 system. I've configured most of it, but when I test login into the web UI, I get an "Empty Navigation Tree" error with the following text: "The user menu tree for user <username> is empty. Please contact your system administrator".
    Here's some additional information:
    System version: SAP SRM 7.0
    Component: SRM_SERVER 701 SPL 0004
    Portal-Independent Navigation Frame is Active (we don't have a SAP Portal installed)
    Roles have been regenerated, and my user has been assigned to the org structure correctly.
    Org structure has been setup with required attributes.
    How I'm doing this test:
    1. Login to SICF
    2. Go to SAP -> BC -> NWBC -> SRM -> Test Service.
    3. This takes me correctly to a "SAP Netweaver" web page, where I click on the "Login" button.
    4. A pop-up window appears where I type in my username & password.
    5. I get the error message mentioned above.
    I'm not really sure what I'm missing.
    Your help is appreciated.
    Regards,
    Gilberto Gallardo.

    Hello Gilberto Gallardo,
    I've had the same issue and the fix for it is to configure in tcode SU01 some roles for the user you are using to access the portal. Some common roles are:
    /SAPSRM/ADMINISTRATOR
    /SAPSRM/EMPLOYEE
    /SAPSRM/OP_PURCHASER
    /SAPSRM/RECIPIENT
    /SAPSRM/SECRETARY
    /SAPSRM/ST_PURCHASER
    Perhaps it won't help you, since the post is not recent, but it will help if someone encounters the same issue.
    Regards,
    Mihai

  • A function for generate a actual tree select

    hi,
    i tried to write a function that generate a actual tree select and i think this is very helpful
    Create Or Replace Function Generate_Tree_Fun(p_Path Varchar2,
    p_Delimiter Varchar2,
    p_Level Integer,
    p_Tbl_Name Varchar2,
    p_Parent_Field Varchar2,
    p_Child_Filed Varchar2)
    Return Varchar2 Is
    v_Txt Varchar2(5000) := '';
    v_Row_Num Number;
    v_Max_Count Number;
    v_Child Varchar2(100);
    v_Parent Varchar2(100);
    v_Level Number := p_Level;
    Begin
    If (v_Level = 1) Then
    Return '';
    End If;
    If (v_Level > 1) Then
    v_Txt := '|' || Lpad('_', 6, '_');
    End If;
    If (v_Level > 2) Then
    For i In 1 .. p_Level - 2 Loop
    v_Level := v_Level - 1;
    v_Child := Ltrim(Regexp_Replace(p_Path,
    Ltrim(Replace(p_Path,
    p_Delimiter,
    ')(' || p_Delimiter) || ')',
    '\' || v_Level),
    p_Delimiter);
    Execute Immediate 'Select t.' || p_Parent_Field || '
    From ' || p_Tbl_Name || ' t
    Where t.' || p_Child_Filed || ' = :1'
    Into v_Parent
    Using v_Child;
    Execute Immediate 'Select a, b From (Select Row_Number() Over(Order By t.' ||
    p_Child_Filed ||
    ') a,Count(1) Over(Partition By t.' ||
    p_Parent_Field || ') b,t.' || p_Child_Filed ||
    ',t.' || p_Parent_Field || ' From ' || p_Tbl_Name ||
    ' t Where t.' || p_Parent_Field ||
    ' = :1 Order By t.' || p_Child_Filed || ') Where ' ||
    p_Child_Filed || ' = :2 '
    Into v_Row_Num, v_Max_Count
    Using v_Parent, v_Child;
    If (v_Row_Num <> v_Max_Count) Then
    v_Txt := Rpad('|', 20, ' ') || v_Txt;
    Else
    v_Txt := Rpad(' ', 20, ' ') || v_Txt;
    End If;
    End Loop;
    End If;
    Return v_Txt;
    End;
    select Generate_Tree_Fun(sys_connect_by_path(e.empno,','),',',level,'emp','mgr','empno') || e.ename
    from emp e
    start with mgr is null
    connect by e.mgr=prior e.empno
    enjoy it

    Arash wrote:
    hi,
    i tried to write a function that generate a actual tree select and i think this is very helpful
    We are so proud of you!

  • Generating a test result without a module

    I have a basic question about generating a test result without calling a module in TestStand.
    For example, I do a pair of read operations from a product and return the results to a pair of numeric local variables. Now I want to do a sequence pass/fail or numeric limit test based on these two values. The results are already available and I can do a function step to test a result, say from a basic math operation. But I can't create a pass/fail result from a function step. I've gotten around the issue by creating a dummy module that has no function other than to allow me use the expression builder to assign a result to one of the step result items, but this sure seems stupid.
    What am I missing?
    Thanks,
    Dave
    Solved!
    Go to Solution.

    Do it in the Pre-expression.
    Use the <none> adapter as suggested and place down a Numeric Limit Test step.  Then in the Pre-Expression put something like this:
    Step.Result.Numeric = Locals.A - Locals.B
    If you look at the Data Source tab you will see the variable which gets evaluated and compared against the limits.
    In fact if you wanted to you could avoid the Pre-Expression and just put your calculation in the Data Source Expression:
    Locals.A - Locals.B
    You can set up the Limits on the Limits tab for that step.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for

  • Laserjet 8000 Drivers for Win 8.1

    Upgrading our computers with HP laptops which have Windows 8.1 64 bit. The laserjet 8000 printer is on a network. The work stations can see the printer but can find drivers. Can any one help! This question was solved. View Solution.

  • Apple id is not working with imessage

    I have an iphone, and an ipad and i have a .mac ID i have updated all devices to the latest OS but when i try to use imessage on the ipad it says that it is unable to verify email becuase it is already in use.  How do i work around this i want to be

  • HT6147 Trying to install iOS 7.0.6... Keeps giving me an error saying that I am not connected to the internet, but I am...

    The iPad keeps giving me an error that it is unable to verify the update due to not being connected to the internet, but I am.  I have tried power cycling the iPad, disconnecting and reconnecting to the internet... None of which has any effect.  Any

  • OEM and Standby Database

    I have not tried but I believe OEM does not automate creation of standby database be it physical or logical. Does it ?

  • Safari not displaying website comments

    Since the latest update to Safari in Mavericks 10.9.4, I no longer can see comments to articles at huffington post. When I open the same page in another browser, the comments are there. Anyone know a way to fix this?