Tree with multiple root nodes does not display

I am trying to create a tree to display some hierarchical data which contains several root nodes.
I have specifed that the TREE_ROOT value is always Null as the root nodes have a null value for the PARENT_ID. The page displays yet none of the data is displayed.
I have manage to get it to work by creating a dummy single root that I reference from the existing root values?

Phattam,
The TREE_ROOT identifies the root node's ID, not its PARENT_ID.
For example, if we build a tree on the oehr_employees table, the ID is EMPLOYEE_ID and the PARENT_ID is MANAGER_ID. therefore, to identify the start of the tree, we could populate the TREE_ROOT with a select statement e.g.
SELECT employee_id FROM oehr_employees WHERE employee_id = 100This identifies a single value and the tree starts from employee_id 100.
If we used a select statement that retrieves more than one row, e.g.
SELECT employee_id FROM oehr_employees WHERE manager_id = 100then the tree starts at one of the children of employee_id 100 - ApEx will not show a tree that has more than one starting node. If you want to show these alternative starting points, you'll need to do exactly what you have done - create a 'dummy' root node.
Hope this helps,
Bryan.

Similar Messages

  • Take picture with iPhone but it does not display it

    I take pictures with iPhone but it does not display it

    Take a picture. Tap on the thumbnail at the bottom left (portrait) or bottom right (landscape) of the screen to display it and access the rest of the camera roll.  Why is everybody complicating this?

  • When I close Safari now with multiple tabs, it does not warn me I have multiple tabs open.  How do I turn it on?

    Safari always warned me when I had multiple tabs open before it would close.  Now it closes whenever I hit the red X (close out).  When I was at the Apple store ithey indicated that that is how the latest Safari works, but it is supposed to open all the tabs that were open when it is relaunched.  Mine appeared to do that when I was at the Apple store, but now it does not.  When it opens now, it just opens my home screen with no tabs.
    Can anyone shed light on this?

    One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''

  • Flash chart with dynamic sql query does not display

    Hi,
    In my schema SIVOA I have a lot of tables declared like this :
      CREATE TABLE "SIVOA"."EVV_xxxx"
       (     "CLEF_VAR" NUMBER(4,0),
         "DATE1" DATE,
         "VALEUR" NUMBER(16,8) Only the last part of the name changes "xxxx". For example E009, E019, etc....
    I am making a chart page with report and want the user to select a name of a table and I will display using dynamic sql query, the table report and chart.
    P184_ENAME is a select list returning the last part of the name of the table, fro example 'E009', 'E019', etc.
    P8_CLEF_VAR is an item containing a value. This value is a key retrieved like this :SELECT CLEF_VAR
    FROM SIVOA.SITE_ECHELLE
    WHERE SITE = :P184_ENAMEI built a classic report using a sql dynamic function :DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = :p8_clef_var' ;
    RETURN (x);
    END;:p8_clef_var is an itme containing the value '4544'.
    This works perfectly fine !
    When I use this sql fucytion into a flash chart it does not work. I get this message "No data found".
    I do not understand why a the report get a result and not the chart !
    But if i hard-code the number of the CLEF_VAR instead of fetching it from :p8_clef_var I get a nice chart ! Go figure !DECLARE
    x VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
    || UPPER(:p184_ename)
    || ' WHERE CLEF_VAR = 4544 ' ;
    RETURN (x);
    I cannot stay with the key (CLEF_VAR) hard-coded unformtunately !
    My question is how to get the chart displaying properly ??
    Thank you for your kind answers.
    Christian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Alex,
    Using your request, with the classic report I get results (data), but I get the same message with the Flash chart : "No data found" ! I don't know how to investigate this. i tried many things but nothing works.
    Christian
    PS I tried this :
    DECLARE
       X   VARCHAR2 (4000);
    BEGIN
    x := 'SELECT NULL, DATE1, ROUND(VALEUR,2) FROM SIVOA.EVV_'
          || UPPER (:p184_ename) ||
          ' WHERE CLEF_VAR = '
          || :p8_clef_var ||
          ' AND DATE1 BETWEEN TO_DATE ('''
    ||:P8_DATE_DEBUT||''', ''DD/MM/YYYY HH24:MI'') AND TO_DATE ('''
    ||:P8_DATE_FIN||''', ''DD/MM/YYYY HH24:MI'')'
    RETURN (X);
    END; But it does not work either. I could find that the SLQ syntax generated is good becaus I put it into an item which display the return done by the pls/sql.
    What is sttange also with the classic report is that if I do click on next or previous to see another rows, I get the message "No data found". If I try to export the report I get an excel file with "No data fouid".
    Does anybody already tried my "need" here ? i find strange thant I should not be the firs one trying to get a report an tables which name would be "dynamic".
    Tahnk you.
    Edited by: Christian from France on Feb 13, 2009 3:05 AM

  • Setting DAQ channel by property node does not display the value

    I am writing a configuration VI to set channel selection and calibration parameters for an SCXI chassis. I store a default setup in a configuration (ini) file and read that file automatically when the VI is called. The value from the file are set by property nodes using the "Value" property. The values from the file do not display in the DAQ channel selection rings, but the numerical calibration values do display correctly. When I click the down arrow in the channel rings, the correct value displays.
    This behavior exists both in LabView and app-builder EXEs. Also, if I change the property nodes for the DAQ channels to local variables, it works. The Value (signaling) property doesn't cause them to display
    properly either. Why can't I use the property node?

    I don't understand exactly what you are trying to do.
    Please upload a simple VI to demonstrate the behavior you are describing. Remember also to attach the .ini file.
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • Hierarchy Leaf node does not display in F4 functionality

    Hello,
    Scenario:
    - profit center based hierarchy
    - user has access to only leaf nodes in that hierarchy.
    - authorisation works perfectly and displays only the correct values
    Problem:
    When we run the query in the portal and use the F4 functionality to select the profit center value nothing is displayed.
    This is ok for the particular case where one profit center needs to be accessed by the user since it is automatically filled out, but if that user has access to more than one profit centers this is a problem.
    System:
    BI7 BCS
    Support Package Stack 10 ABAP+Java
    SAP_BW is on SP11
    Please note that the profit center field is also not greyed out.  We raised an oss about this and SAP responded with "this is working as intended".  Thus the use is able to type the values into the profit center hierarchy box.

    Check whether you are filtering any level of the hierarchy when running this query? or you are using a hierarchy variable and defaulting it to certain level which doesnot show what you are looking at.
    Hope this helps you.

  • ReportViewer control used with a remote report does not display any data.

    Hi there,
    I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
    and it needs to impersonate the caller's identity because the database uses Windows Authentication.
    Here is the code I use:
    var reportViewer = new ReportViewer();
    // Set Processing Mode
    reportViewer.ProcessingMode = ProcessingMode.Remote;
    // Set report server and report path
    reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
    reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
    // set the credentials
    reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
    // create report parameters and set them in the report
    var param1 = new ReportParameter("First_Param", "Some string");
    var param2 = new ReportParameter("Second_Param", "Some other string");
    reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
    using (var reportForm = new ReportForm(reportViewer))
    reportForm.ShowDialog();
    The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
    public ReportForm(ReportViewer reportViewer)
    InitializeComponent();
    try
    this.reportViewer = reportViewer;
    reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer.Dock = DockStyle.Fill;
    reportViewer.ZoomMode = ZoomMode.Percent;
    reportViewer.ZoomPercent = 100;
    reportViewer.RefreshReport();
    catch (Exception exception)
    MessageBox.Show(exception.Message);
    Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
    Any suggestions?
    TIA,
    Ed

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • I made command Link of tree with ADF, every node must not have link

    Hi
    How can I do not link on the leaf of the tree, I have link every leaf, but I dont want to get on some leaf of tree.
    How can I do to get hierarchy link that it have not link on under hierarchy(node) on tree.

    could be deleted

  • I cannot post on Craigslist with Firefox, but can with explorer. Firefox does not display the random letter pattern to be typed in with each posting. What is the problem

    I used to be able to post with Craigslist

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • With multiple subscriptions, Skype does not charge...

    I have two subscriptions and Skype credit that cover calls to the same country, but Skype is not smart enough to charge to the cheapest rate. I have both "land line - 400 mins ", and "land line and mobile phone - 60 mins" subscriptions.  When I call a land line, it charges the higher rate subscription "land line and mobile phone."  It should charge the cheaper rate "land line" subscription instead.   

    I am about to relocate and will be calling both landlines and mobiles in Australia, so this issue also seems to affect me.
    I want to buy the "unlimited landlines Australia" or "Unlimited World" subscriptions, plus the 400 minutes "mobiles & landlines Australia" subscription so I hope that in the year since your enquiry, Skype got smarter.

  • IE does not display my flash movie

    Hello fellows, I am having a huge problem with MIE. It does
    not displays the flash object embed! Firefox works fine, but IE
    doesn't!
    Here are the codes:
    quote:
    Code made by me:
    <object width="757" height="153">
    <param name="movie" value="/script/top.swf"> <param
    name="quality" value=high>
    <param name="play" value=true> <param name="bgcolor"
    value=#0000000>
    <param name="wmode" value="transparent">
    <embed src="/script/top.swf" width="757" height="153"
    wmode="transparent">
    </embed>
    </object>
    The funny thing is that I use almost the same code to display
    another flash movie and it WORKS for the second!!! Why is that? The
    Firefox displays both of them fine.
    I tried a second code:
    quote:
    Code generated by Flash itself:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" odebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    width="757" height="153" id="top" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="script/top.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <embed src="script/top.swf" quality="high"
    bgcolor="#000000" width="757" height="153" name="top"
    align="middle" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    When I use the code above it returns to me an error on line
    215, but my file has only 196 lines! And if I count the included
    javascript, the possible lines are commentaries. The Firefox works
    fine.
    What is wrong with IE?
    See ya!
    Augusto

    > <object width="757" height="153">
    All the essential stuff is missing form the <object>
    tag .. so it will fail
    on IE (firefox doesn't use the object tag)
    > odebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v
    "odebase"? should be "codebase"
    Use the tags generated by Flash when you publish to HTML and
    things should
    be fine. Don't try to do it yourself unless you are an expert
    (and even
    experts don't just typ in tags themselves .. they copy and
    paste from
    previous html they have that works)
    Jeckyl

  • Nokia 5800 does not display contact names

    With some of my contacts an incoming call with a Caller ID does not display the caller's name, although they are in my Contact List and the number is in a valid format.Same is the case for sms's from the same contact.I only have one entry of that contact in my phonebook...Any 1 facing the same issue?

    This is inevitably caused by duplicate entry, (many posts already exist) check settings in options in contacts and make sure memory in use is phone memory. Then you need to go through contacts and make sure you don't have more than one name attached to each number  .
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • RegionRenderer encodeAll The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance.

    Hi,
    I am using JDEV 11.1.2.1.0
    I am getting the following error :-
    <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    Piece of code is for region is:-
       <f:facet name="second">
                                                <af:panelStretchLayout id="pa1"
                                                                       binding="#{backingBeanScope.Assign.pa1}">
                                                    <f:facet name="center">
                                                        <af:region value="#{bindings.tfdAssignGraph1.regionModel}" id="r1"
                                                                   binding="#{backingBeanScope.Assign.r1}"/>
                                                    </f:facet>
                                                </af:panelStretchLayout>
                                            </f:facet>
    How do I resolve it ?
    Thanks,

    Hi,
    I see at least 3 errors
    1. <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components.
    the page fragment should only have a single component under the jsp:root tag. If you see more than one, wrap them in e.g. an af:panelGroupLayout or af:group component
    2. SAPFunction.jspx/.xml" has an invalid character ".".
    check the document (you can open it in JDeveloper if the customization was a seeded one. Seems that editing this file smething has gone bad
    3. The expression "#{bindings..regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "pePanel") evaluated to null.
    "pageeditorpanel" does seem to be missing in the PageDef file of the page holding the region
    Frank

  • Query on SQL Developer Connections Tree Does Not Display Objects

    Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection.  Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • How to create multiple root node in a tree

    Hi Experts,
    As per my requirement I have two requirements for  tree creation:
    1) Create a Tree which can display multiple root node.
    2) Cretae a Tree which can display data directy without any folder.
    I am new in Tree development.
    Can any body help me out to get it done.
    If it is not possible then also i need a confirmation from experts.
    Regards,
    Madhu

    use method add_node of the class Cl_gui_alv_tree to add a node to the tree.
    In case of root node the parameter lv_relat_key is passed as blank.In order to create further child nodes pass the node key of the parent as the relat key of the child and use the method again.
    Regards,
    Abhi

Maybe you are looking for

  • I was able to sync my iPad with outlook. The sync no longer works

    Did IOS 5 change the way iPads sync with outlook? I don't get The "sync" message bar on the iPad either. Any ideas?

  • BPM ParforEach Loop

    I am having a BLOCk in my BPM. The Mode of the BLOCK is  ParforEach. There is another parameter "CurrentLIne". I dont know what it means and how do I define that. Because its a mandatory fields and when I hit the dropdown box, I am seeing Blank. In t

  • Web Dispatcher Settings

    Hello, We have portal nw'04 SP15 with KMC. The following is the landscape. DB on db node CI on ci node app1 and app2 on seperate nodes We are accessing the portal using "SAP Web Dispatcher" When i access the portal through dispatcher and access the s

  • Material-shortage list

    hi our client business process is Variant configuration with MTO, it is an power management company they having one soft wire called maarsman in that they are not able to get Material-shortage list , please follws their problem and give me suggestion

  • Images shift after closing iphoto?

    Each time that I close the book feature on iphoto- a few pictures will shift. I edited these images to the 4x3 book ratio, cropped them, save the changes and then will recenter the image- but they will still shift. It's pretty random. I fixed these e