Issue in Tree View Enhancement

Hello Experts,
I have a Tree View and its related Context Node Class. Due to some requirement I need to enhance the same.
I have done the following steps:
1. Enhance the View which eventually enhanced the CTXT class  to Z_CTXT as well.
2. I am trying to enhance the Tree View context node( say IBASE in my example).
When I do the same, it is giving me an error saying that
Method CTXT - CREATE_IBASE does not exist.
Just to recheck I went to the parent class of Z_CTXT which is CTXT and found the method was very much there.
Refer standard component ICCMP_IBASE  View: IBTreeResultList  Context Node: IBASE. My question is related to this context node.
Thanks in advance.
Best Regards,
Vinamra.

Hi Vinamra,
When you enhance the view by default CTXT class also will be enhanced, when you enhance the context node then only system will create corresponding method create_"context node name" in your Z_CTXT class.
Did you check Z_CTXT class for the create_ibase method, This class should have added this method with code like this
model   = owner->create_model(
     class_name     = 'ZCLICCMP_IB_IBTREERESULTL_CN00' "cl_crm_ic_ibase_constants=>gc_ibtree_firstlevel_class "#EC NOTEXT
      model_id       = cl_crm_ic_ibase_constants=>gc_ibtree_node_name ). "#EC NOTEXT
  ibasetree ?= model.
Best Regards,
Dharmakasi.

Similar Messages

  • Issue with Tree view

    Hello experts,
    I am facing a very strange issue with tree view.
    I have created a custom component with a tree view. All data are coming in the tree view. But the strange thing is that the data is not getting displayed on the screen.
    I am sure about the data because, when I am selecting a line from the tree, the data from that line is coming to the main screen.
    Please help!!
    Regards
    Debolina

    Hi experts...
    Any pointers to this issue???
    Please help!
    Regards,
    Debolina

  • Selection issue in tree view

    Hi.
    I have one strange issue in Z tree view. After selection of one row in tree view, I can next select only the rows the are below the selected row (doesn't matter if they are on lower or upper level). However I can't select the row that is displayed higher of the selected row.
    Anyone has an idea where could be the problem?
    Best regards.

    Tnx for answering. I checked if the entity is read correctly and in on_select event I get data OK. So I pass data to collection at the end.
    here is the code...
    METHOD eh_onselect.
    *CALL METHOD SUPER->EH_ONSELECT
    **  EXPORTING
    **    htmlb_event    =
    **    htmlb_event_ex =
       DATA: lv_event    TYPE REF TO cl_thtmlb_tree,
             tnode       TYPE REF TO if_bsp_wd_tree_node,
             bo          TYPE REF TO if_bol_bo_property_access,
             col         TYPE REF TO if_bol_bo_col.
       TRY.
           lv_event ?= htmlb_event_ex.
           typed_context->itgroupselected->collection_wrapper->clear( )  .
           IF lv_event->row_key IS INITIAL.
             tnode = typed_context->itgroup->get_node_by_index( lv_event->row_index ).
             lv_event->row_key = tnode->node_key.
           ELSE.
             tnode = typed_context->itgroup->get_node_by_key( lv_event->row_key ).
           ENDIF.
           tnode->selected = abap_true.
           bo = typed_context->itgroup->get_bo( lv_event->row_key )    .
           CREATE OBJECT col TYPE cl_crm_bol_bo_col.
           col->add( bo ).
           typed_context->itgroupselected->set_collection( col ).
         CATCH cx_sy_move_cast_error.
       ENDTRY.
    ENDMETHOD.
    maybe any suggestion?

  • Issue in tree view scrolling

    Hi All,
    I am facing a weird issue on a popup. My popup is a custom one and it has a search as below.
    The problem I am facing is, when there are many entries and the table navigation is selected as scrolling, as below.
    in the total results, some entries in the bottom are not visible. Again a screenshot I can give.
    There are more entries below. But my scroll bar is over by now. ..
    There are two options in front of me.
    1) Fix this pop up issue.
    2) Remove the scrolling option at all. In paging it's working fine.
    Appreciate your quick responses.
    Thanks,
    Faisal

    Hi Sandeep,
    I can do that. But I need a way even if user doesn't mention that. I have found that if we set the attribute SCROLLABLE as false, the scolling option itself will go. I was thinking is there any way to fix this.
    Thanks,
    Faisal

  • ENHANCEMENT:  Mark posts as Read in Tree View

    As suggested by Host Kady, we are now extracting Bugs and Enhancements from our consolidation threads, and re-posting them individually.
    Reported by Da Gopha:
    When using Tree View, it is not possible to mark all posts in a thread as having been read.
    Whilst Thread View and Flat View automatically display all messages and assume that you have read everything when you leave, Tree View does not have this ability.
    It would be useful to have a button to say "mark all messages as Read" in the Tree View display.
    Kind regards,
    Gopha

    JDee,
    Good suggestion. We have put it on the tracker.
    Thank you,
    Mark W.
    Apple Discussions

  • Showing more than 10 Issues in Test Manager tree view

    I know the table shows them all, but is there a way to show more than 10 Issues in OTM Tree View? Seems cumbersome to keep having to click >>Next and <<Previous for each set of 10.

    Hi
    In OTM you can go to tools -> Options ->select Tree Preferences and edit Maximum Number of Displayed Nodes:
    Hope this helps.
    Alex

  • Workflow tree view issue.

    Hi,
    In workflow management screen i can see tree view of my entity dimension when i loged in with an admin account, but other users can only see flat list of entities. Is there a way to make it possible to see entities in tree view for other users as well? It doesn't matter for most of the users because they have access for only some of the entities but it's really frustrating for those who have access to most of the entities (we have 1200 entities).
    Thanks in advance.

    Hi,
    I believe it is just administrators that can view it in tree mode, unless somebody knows any different.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Tree View Issue

    I am parsing an XML file to construct my data model for the tree view.
    Tree view is being constructed , but when I expand my root node, its children including their subchildren are shown.
    Behaviour should be that on clicking a parent node , its immediate children should be shown i.e 1level hierarchy .
    But in my case subchildrens of a  child are also shown on expanding my root node.(beyond 1 level hierarchy).
    Is there any way to prevent showing of subchildrens on expanding parent node.
    e.g
    A->
        B->
            C
            D
    In above example when expanding A , only B should be shown.But in my case C &D are also shown.
    Also button used for expanding subnodes of B is shown as unexpanded .(i.e its not upside down even though its children are expanded)

    Hi,
    I believe it is just administrators that can view it in tree mode, unless somebody knows any different.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Please Help(How to get RadioButtons in tree View)

    Hi.
    Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
    I have a requirement like this i want to display RadioButton in tree view.
    I implemented tree same as which is given in sampleApplications.
    In this sampleApplications they implemted tree by using xml file.
    I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
    Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
    Please any one help me to come out with this solution.

    The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
    Do you actually have a class/object called Student?
    That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
    public class Student{
      String name;
      List classes;
      List subjects;
      List teachers;
      // appropriate getter/setter methods
    }Then you load each student, and populate its individual lists.
    That lets you pass the list of students, each student having its own lists for display.
    Hope this helps,
    evnafets

  • Links - How to reorder links within a folder. Also, how to make folders open in a tree view?

    I'm working on a portal in Sharepoint 2007. It appears that I can only have one set of "Links" on a page, so I am grouping my related links into folders. I'm having two issues with this...
    #1. I need to change the order of the links within a folder. When I try to Change Order under the Actions menu, I only get the main list of links, not those within the folder. How can I reorder links within a folder?
    #2. When I click a Links folder, all links go away, except for the links within that folder. Is there any way to make the Links list work in a Tree view?
    Sorry for the newbie questions, but I've not worked much in Sharepoint and I had this project dropped on me.  :(

    Hi,
    For Question #1,
    refer this link.
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • OER - Asset  Editor Tree View unfiled items

    I am using OER 11.1.1.5.0 and in the Asset Editor Tree View I can see general categories of 'Unsubmitted', Submitted' and 'Registered' with various sub-categoreis under each main category. I am puzzled why an Asset which appears in the Tree View initially as as Submitted / Pending Review / DAC Interface / CB Interface should, once all the submission, acceptance and registration stages have been completed, appear under Registered / Unfiled / CB Interface whilst another Asset should appear initially as Submitted / Pending Review / DAC Product / DAC Product - Portal appears, having undergone the same registration processes, as Registered / DAC Product / DAC Product - Portal.
    I cannot find any information in the documentation regarding 'Unfiled' assets nor can I see any difference between the Asset Types for these two assets which might cause this to happen.
    Can anybody shed any light on this issue ?
    Thanks
    Chris

    It works for me after I did a small tweak by as mine is a demo install.
    Idea - is to make an security exception for the OER url in Java control console
    Steps to do that :
    1.Go to the control panel and uninstall the 64 bit version of Java
    Open Programs and Features and select the 64 bit version of Java and select Uninstall.
    2.Open up the Java Control Panel
    Found as an option in the standard windows control panel
    3.Check the version by clicking on the About Tab
    If this is not what you expected you can go to java.com and download the latest version.
    4.Click on the Security Tab in the Java Control Panel
    5.Click on the Edit Site List button in the lower RH corner of the control panel
    6.Add your URL to be allowed
    Enter the full path that you use to access this such as https://myequallogics.com or the IP address if that is how you access it (as in http://192.168.0.100 - Https is recommended by Oracle.) Once complete hit OK. You should now see the exception on the security page.
    7.Close out of the control panel.
    8.You can now acess your site through the browser window.
    Thanks to Java error: Missing required Permissions manifest attribute in main jar - Spiceworks for letting me know this.
    regards,
    Sridhar

  • Tree view in collapsed mode by default

    Hello Experts,
    Could you please explain how to get a tree view collapsed by default?
    My scenario:
    When looking for a Marketing Segment, the system displays the result with a tree view in expanded mode, containing all the Profile Sets with their profiles and Target Groups.
    I would like to have the tree view in collapsed mode by default with only the Profile Sets displayed. Then, if need I would expand a given Profile Set to display its Profiles and Target Groups.
    Component: SEGAS_SEG
    View: RTSEG
    Thank you very much for your answer.
    Best Regards.
    Edited by: KenshiroHokuto on Apr 26, 2010 5:15 PM
    Edited by: KenshiroHokuto on Apr 26, 2010 5:16 PM

    Hi,
         Have a look at the context node SEG in the view RTSEG. You will see a method REFRESH. The following lines are responsible for the automatic expansion.
            IF search_roundtrip = abap_true AND lv_index < 20.
              lr_root->expand_node( ).
            ENDIF.
      Going by what you say, you will want to comment out these lines. If your component/view is not enhanced, enhance it and redefine this method. Copy the standard code and alter it. You need to alter this code to suit your requirement. For enhancing the component/view, you can find wikis in the CRM WebClient UI section.
    Regards,
    Arun Prakash

  • Tree View Creation error

    Hi,
    I have to create  tree view. I followed the stpes mentioned at the following link.
    Tree View
    I have created a Z-structure and created a table view in the component BT111H_OPPT component.
    While trying to modify the .htm page for the tree view, with the code mentioned at above link, I am getting following error.
    "node_tab is unknown. Not declared by a data statement."
    (see the line number 4 -  nodeTable = "<%= mytreenode->node_tab %>")
    I am using the following code.
    <chtmlb:tableExtension tableId = "Table"
                           layout  = "FIXED" >
      <chtmlb:configTree id                        = "configTree"
                         nodeTable                 = "<%= mytreenode->node_tab %>"
                         nodeTextColumn            = "NODE_TYPE"
                         onCollapseNode            = "nodeCollapse"
                         onExpandNode              = "nodeExpand"
                         onRowSelection            = "select"
                         onNodeClick               = "nodeClick"
                         ajaxDeltaHandling         = "FALSE"
                         headerText                = "Demo Tree"
                         allRowsEditable           = "TRUE"
                         selectionMode             = "SINGLESELECT"
                         table                     = "//mytreenode/Table"
                         tableLayout               = "AUTO"
                         visibleRowCount           = "12"
                         usage                     = "EDITLIST"
                         fillUpEmptyRows           = "FALSE"
                         personalizable            = "TRUE"
                         scrollable                = "TRUE"
                         noFrame                   = "X"
                         downloadToExcel           = "FALSE"
                         onClose                   = "closeTree"
                         onIncreaseSize            = "increaseTree"
                         nodeTextColumnDescription = "NODE" />
    </chtmlb:tableExtension>
    Please let me know where and how should I decalre it.
    Regards,
    Ansal

    Thanks Arun.. for the quick response...
    After view creation, I was directly following your second section of the thread....
    My issue is resolved....
    Hope to get further help for this object development.
    My requirement is add a new assignment block in opportunity screen which will show all the quotation,with their details, created for this opportunity and on click of each quotation id, all the items mapped to that particular quotation should be visible in same view.
    Thanks & regards,
    Ansal

  • Tree view clears after application switch

    Hi All,
    I am facing a problem with tree view. I have a dialog with tree view and I select an item. With dialog open I switch to some other application. When I switch back to InDesign, I see that tree view is empty. What could be the reason?
    Thanks,
    Pete

    Hi Ghubsch,
    When you run the Edit Page, 4000:4150, in Tree View, are any errors reported on your page, possibly in Firebug or an equivalent extension in your chosen browser? Are you experiencing this issue for every page in your application, or just one in particular?
    If possible, would you mind providing login credentials so that we can take a look at your workspace.
    Regards,
    Hilary

Maybe you are looking for

  • Itunes 9.1 not compatible with microsoft office 2010

    after installing ms office 2010 i notice itunes 9.1 will not sync the outlook info to any of my idevices it returns this error message: either there is no default mail client or the current mail client cannot fulfill the messaging request. please run

  • Power Mac Dual 1.8 Ghz: How do I connect to wireless network?

    HELP!!! I have this Power Mac Dual 1.8 Ghz with 10.4.11 OS. I used to use wire cable to connect the internet, but now the place I rent recently only provides wireless network. I was able to connect wireless network with my Windows Laptop. Question: H

  • More problem with JFormattedTextField

    Here is the code where I want size and input validation for JFormattedTextField MaskFormatter f10=new MaskFormatter("***************"); f10.setValidCharacters("0123456789"); t4= new JFormattedTextField(f10); It's behaving in funny way. It allows me o

  • 10.1 Update Did Not Fix Sending Email Issue!

    after waiting for like forever for AT&T to release 10.1.0.2019, i heard rumors that it would fix the issue i was having with emails not sending while connected to WIFI but will send when not on WIFI.  well i am still having the same problem with 10.1

  • Flash poor performance with vector art (.svg)

    When using multiple pieces of vector art I've noticed that performance gets rather sloppy, so I created a simple test program that displays 100 copies of the same graphic and allows zooming. I used what I believe to be a fairly simple vector image (c