How can provide parent-child nodes relation ships?

how can provide parent-child nodes relation ships?

I was under the impression that scenegraph is like a JTree. But in JavaFX only leaf node rendering in scenegraph. This situation was confusing my mind. In JavaFX CustomNode must be extending and return a group for custom leaf. If we want to a create parent-child node hierarchy we are create CustomNode that return a group and this group contain an another group,etc. So there is maybe only a way. If you learning to JavaFX first time.This way don't look familiar.

Similar Messages

  • How can I remove child node from JTree???

    Hi,
    I would like to remove all the child node of my jtree. For instance I would like to remove the c, d, and e nodes. It's possible to remove all the child node or to remove by her name ("c", "d", and "e"). If yes what is the method that it permit to do.
    A-----
    |
    b-------c
    |
    |--------d
    |
    ---------e
    I use the model : DefaultMutableTreeNode
    Thanks

    There are a couple of ways it can be done. If your tree uses DefaultTreeModel as its TreeModel, you can use removeNodeFromParent(). This will remove the node from its parent and effectively remove its children, too. All nodes removed will be garbage-collected if there are no other references to them.
    If your tree model is not the default tree model, but still uses MutableTreeNode, you can use either remove() or removeFromParent() on the node itself, depending on whether you want to remove the node itself or one of its children.
    On the other hand, your tree may use a model that simply "mirrors" another data structure, in which case you would have to remove the node from the other data structure and have it reflected in the model.

  • How to access parent, child nodes and attributes in XML?

    EXAMPLE CODING:
    [Embed("assets/Try.xml", mimeType="application/octet-stream")]
    private static consTTest:Class;
    public static function getTestXML() : XML
    var baTest:ByteArrayAsset = ByteArrayAsset( new test() );
    var xmlTest:XML = new XML( baTest.readUTFBytes( baTest.length ) );
    return xmlTest;   
    public function SetTest():void
         var xml:XML = XMLResource.getTestXML();
         var XMLDoc:XMLDocument = parseXML(xml);
         var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
         var resultObj:Object = decoder.decodeXML(XMLDoc);
         trace(resultObj.Roots.Child[0].ChildTitle); //Output: ChildTesting  -> CAN GET IT, NO PROBLEM.
    QUESTIONS:
    (1) How to get the output for
    trace(resultObj.Roots.Child[0].Child1.Inside[0].InsideTitle); //GOT ERROR, THE OUTPUT I NEED IS InsideTesting1.
    (2) How to get the output for
    trace(resultObj.Roots.Child[0].Child1.Inside[0].Tasks.Task[0].TaskTitle); //GOT ERROR, THE OUTPUT I NEED IS TaskTesting1.
    Anyone can help me to solve this problem? Thanks.
    Regards,
    Jessie

    Hi.
    You have error in Try.xml in row 2:
    <Child ... "/>
    Delete '/', its end of this child.
    This is problem...

  • How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?

    How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program?  To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library.  Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids.  Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?

    Hello ggg39,
    Welcome to the Apple Support Communities!
    I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article. 
    Family Sharing - Apple Support
    Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
    For more information on restrictions and how to set them up, please reference the next attached article. 
    About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
    Have a great day,
    Joe

  • How to create Parent Child relationship of Assets

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

  • HELP! Last second extra credit (before midnight), how can i return the node

    While traversing a tree... How can i return the node I am currently at?

    Or perhapspublic Node getCurrentNode() {
      return currentNode;
    }Your question has a large number of possible interpretations.

  • How to retrieve a child node's immediate parent node from a tree table?

    Hello
    Hi,
    I have a category_subcategories table, and I would like to know how to construct a sql and sub-sql for retrieving a child node's immediate parent node.
    Here is my first part of the sql, it only returns the node "Flash"'s parent and its grand-parents:
    SELECT parent.category_name, node.lft, node.rgt
    FROM category_subcategories AS node,
    category_subcategories AS parent
    WHERE node.lft > parent.lft AND node.lft < parent.rgt
    AND node.category_name = 'FLASH'
    ORDER BY parent.lft;
    | name |
    | ELECTRONICS |
    | PORTABLE ELECTRONICS |
    | MP3 PLAYERS | |
    how can I modify this query so that it returns Flash' parent - 'MP3 Players'?
    Thanks a lot
    Sam

    Hi,
    This is an Oracle forum. If you're not iusing Oracle, make that clear. Always say what version of your softwate you're using, whether it's Oracle or anything else.
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data. Explain how you get those results from that data.
    It looks like you're using the Nested Sets technique for modeling a tree. To get the parents of given nodes, do something like this:
    SELECT        parent.category_name
    ,       node.lft
    ,       node.rgt
    FROM        category_subcategories      node     -- Can't use AS with table alias in Oracle
    ,       category_subcategories      parent
    WHERE        parent.lft      IN (
                        SELECT     MAX (lft)
                        FROM     category_subcategories
                        WHERE     lft     < node.lft
                        AND     rgt     > node.rgt
    AND        node.category_name          = 'FLASH'
    ORDER BY  parent.lft; This should work in Oracle 8.1 and up. (I can't actually test it unless you post CREATE TABLE and INSERT statements for some sample data). You may need to modify the syntax a little for your database.
    785102 wrote:
    Hello,
    I tried to implement the solution as follow:
    mysql> select parent.*
    -> from category_subcategories as parent
    -> having parent.lft =
    -> (select max(parent.lft) from
    -> (SELECT parent.category_name, parent.lft, parent.rgt
    -> FROM category_subcategories AS node,
    -> category_subcategories AS parent
    -> WHERE node.lft > parent.lft AND node.lft < parent.rgt
    -> AND node.category_name = 'Sofa'
    -> ORDER BY parent.lft
    -> )
    -> );
    ERROR 1248 (42000): Every derived table must have its own alias
    mysql>
    But I got an error.
    What is wrong with it?What does the error message say?
    Apparantly, in your system (unlike Oracle), every sub-query must have a name. Try something like this:
    select      parent.*
    from      category_subcategories as parent
    having      parent.lft = (
                   select      max(parent.lft)
                   from     (
                             SELECT        parent.category_name
                             ,       parent.lft
                             ,       parent.rgt
                             FROM        category_subcategories      AS node,
                                    category_subcategories      AS parent
                             WHERE        node.lft      > parent.lft
                             AND        node.lft      < parent.rgt
                             AND        node.category_name = 'Sofa'
                             ORDER BY  parent.lft     -- Is this a waste of effort?
                        )  AS got_name_lft_and_rgt
                  )     AS got_lft
    ;What is the purpose of having the inner sub-query, the one I called got_name_lft_and_rgt?
    Also, in Oracle, an ORDER BY clause in a sub-query doesn;t guarantee that any super-queries will keep that order. Why do you have an ORDER BY clause in the sub-query, and not in the main query?

  • How to delete parent child relation in Toplink

    Hi All,
    I have 3 tables A,B,C.
    In Table A ,I am saving record.
    Table B & C has parent child relation.
    B-->Parent
    C-->Child
    So I want to save records in Table A.
    And delete from child(C) 1st then from parent(B).
    I m writing my code as,
    em.getTransaction().begin();
    em.persist(Table A);//save in Table A
    em.remove(em.merge(Table B));//Remove from Parent
    But how to delete records from child table then from parent table.
    Thanks
    Sandip

    If you have a @OneToOne relationship between two entities, the join column information is used to order the SQL when you remove two entities. For example, if I have:
    @Entity
    public class Employee implements Serializable {
         @OneToOne
         @JoinColumn(name="ADDR_ID")
         private Address address;
    ...Then the following code runs regardless of the order of the remove calls.
              em.getTransaction().begin();
              Employee parent = new Employee();
              Address child = new Address();
              parent.setAddress(child);
              em.persist(parent);
              em.persist(child);
              em.getTransaction().commit();
              em.getTransaction().begin();
              parent = em.merge(parent);
              child = em.merge(child);
              // order of next two statements unimportant
              em.remove(parent);
              em.remove(child);
              em.getTransaction().commit();If I don't remove the parent and just the child I get the same error you do because of the FK from Employee to Address.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to find Last Child (Node) of a parent

    Hi All
    I have following data:
    PARENT CHILD
    1 2
    2 3
    3 4
    4 5
    100 101
    101 102
    200 201
    300 301
    301 302
    302 303
    303 304
    Now I need the output as below:
    Parent Final Child
    1 5
    100 102
    200 201
    300 304
    Which means, for the parent, it should start with immediate child and traverse through all subsequent parent-child relation ship and should find at ending with the last child for that group.
    When the parent child relation is as below: i need to output 1 (first parent in the group) & 5 (last child in the group)
    1 - 2 - 3 - 4 - 5
    Quick solution could be helpful.
    Thanks in advance,
    Ram.

    It seem that you asked for leafs from all roots.
    If so try this
    Processing ...
    with Test_Data as (
      select 1 as parent, 2 as child from dual union all
      select 2, 3 from dual union all
      select 3, 4 from dual union all
      select 4, 5 from dual union all
      select 4, 6 from dual union all
      select 100, 101 from dual union all
      select 101, 102 from dual union all
      select 200, 201 from dual union all
      select 300, 301 from dual union all
      select 301, 302 from dual union all
      select 302, 303 from dual union all
      select 303, 304 from dual
    Levels as (
      select child, level as lvl, connect_by_root parent as root
      from test_data td
      start with parent not in (select child from Test_Data)
      connect by parent = prior child
    ), paths as (
         select child,root,lvl,
              max(lvl) over (partition by root) max_lvl
         from Levels
    select root,child
    from paths
    where lvl= max_lvl
    Query finished, retrieving results...
                     ROOT                                   CHILD                
                                         1                                      5
                                         1                                      6
                                       100                                    102
                                       200                                    201
                                       300                                    304
    5 row(s) retrievedBye Alessandro
    Edited by: Alessandro Rossi on 1-set-2008 12.41
    I've never imagined that a simple copy and past would do that!
    I won't leave it so the new forum supporters ( if any exist ) could see what the cr4p we are using now

  • How to achieve parent - child record insert in forms

    Guys,
    I am new to forms. I do have a requirement where I need to create one tabular block for 10 rows (parent record) and then I need to create three tabular tabs of 5 rows for detailed records (child). That means each tab can have 5 records for 1 parent row.. Thats how this parent-child structure has ONE to MANY relationships
    To achieve this requirement I created one parent block of table type (using table XX_Parent) and then I created three detailed block for each tab (Tab_A,Tab_B,Tab_C) using child table (XX_Child). For each tab while inserting the data I took one context_value column in child table. i.e. when I insert the data using Tab_A , context_value column will be A. In the same way B and C for Tab_B for Tab_C respectively. And I wrote this logic at PRE-INSERT trigger for each tab. But when I insert the data for all the tabs, it allows me to enter successfully for Tab_A only, the moment I navigate from Tab_A to enter the data intoTab_B, it throws me error like "You are passing NULL value to set context_value". I hope I make the requirement clear to you.
    I am not sure if I am following the right approach to achieve my requirement. if its not right, please suggest me right one.. and if its right please guide me resolve the error..
    Looking forward to your reply.
    Thanks
    Sunil

    Andreas,
    I had already created relations between Matster Block -Tab_A block, Master Block -Tab_B block and Master Block - Tab_C block...
    The point is all the three tabs are created using one table XX_Child only.. I used context_value A,B and C respectively so that once I query the data for XX_Child from backend, I should be in a position to figure out what data is inserted using Tab A, B and C. why I need so .. because If take my entire form in query mode and search for a master record.. then Tab_A, tab_B and Tab_C display their respective data. I hope, I make you understand.. Can you please guide me.
    Thanks
    Sunil

  • How to handle parent-child dimension in OWB?????

    i have a dimension have many levels,and the amount of levels is varing,so i cannot use the wizard to define my dimension ,seems with OWB i can only define dimension with certain amount of levels.......
    my dimension data is stored with this format:
    child parent
    Los Angles US
    US WORLD
    it is called a parent-child relation ,how can i define dimension with parent-child relation witn OWB...
    Can OWB do it ?????

    i have a dimension have many levels,and the amount of levels is varing,so i cannot use the wizard to define my dimension ,seems with OWB i can only define dimension with certain amount of levels.......
    my dimension data is stored with this format:
    child parent
    Los Angles US
    US WORLD
    it is called a parent-child relation ,how can i define dimension with parent-child relation witn OWB...
    Can OWB do it ????? You must define a dimension, define the dimension levels and the hierarchy inside the dimension (a hierarchy can have as many levels as you want, parent-child relationship is a normal hierarchy concept - no rocket science here). Then you have to map the data source for the dimension levels appropriately. Please refer to the user manual, chapter 4 ("Defining dimensianal targets") for details.
    Regards:
    Igor

  • How to fetch the child Nodes using XNode

    Hi All,
    How to fetch child nodes of XNode object ?
    I am moving my code to .net 3.5 so i was replacing XMLNode to XNode , but i could find any ChildNodes() method.
    Thanks,
    Pallavi

    As such this  is not a  SharePoint related question, even though there are many way to parse the XNode object. 
    One way is,
    XNode an all other are derived from XElement, so you can use Linq to get all children by casting it with XElement, below is a snippet
    XDocument doc = XDocument.Load(""); //Path
    XElement ele = doc.Nodes().First() as XElement;//Just taking the first element as XNode
    foreach (var item in ele.Elements())
    var v = item;
    You can use Full Linq queries to find any node, just for example, below is a snipped to find a node based on a attribute value
    ele.Elements().Where(x => x.Attribute("text").Value == "text");
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to filter parent & child rows from tables while export usingData export

    Hi,
    I have a requirement of export schema. Assume there is a account details table and account transactions table under schema.They have parent child relation exist. if i filter accounts from account details the corresponding transactions in account transactions table should be filterd.How to achieve this?
    Regards,
    Venkat Vadlamudi
    Mobile:9850499800

    Not sure if this is a SQL and PL/SQL question or whether it's an Oracle Apps type question or a Database General.
    Whatever, you've posted in the wrong forum (http://forums.oracle.com/forums/ann.jspa?annID=599)
    You should post in a more appropriate forum e.g.
    PL/SQL
    General Database Discussions
    etc.
    locking this thread

  • How to achieve parent-child relationship using self join?

    my table structure is as follows
    parent child name
    -1     1     A1
    1     2     A2
    1     3     A3
    how to achieve the hierarchy model using self join. this can be easily achieved using "connect by prior". but how to achieve the same using self join?

    Hi,
    Yes, that's definitely possible. If you only need to display two levels from the hierarchy, a self-join is a good option. Make it an outer join if you need to show everyone on one level, regardless of whether they have a match on the other level or not; for example, if you want the output:
    child_name     child_id     parent_name     parent_id
    A1          1
    A2          2          A1          1
    A3          3          A1          1It's good that you posted some sample data. Now post the results you want from that data, and your query (what you think is the best attempt you've made so far). If you haven't tried anything so far, then look at some other simple self-join to get ideas.

  • How to know 'parent-child relationship' of equipments

    Hello experts,
    I am currently having a problem here. How can I know if a certain equipment has a child/subordinate equipemt under it? for example, I typed in the value 000000345534 for the 'ILOAN' field in EQUZ table to get it's EQUNR and HEQUI. Now, where can I know if it has a child equipment under it? for example:
    12610 (highest primary)
    12611
    12612 (subordinate and primary)
      12613
    Also, I have to display it in the report output like this:
    ASSET    PARENT   DESCRIPTION  LOCATION  NETBOOK VALUE

    Hi,
    I had developed  a code wherein I had a similar scenario.Please refer the same. Will give you an idea.
    FORM link.
      SKIP 2.
      ULINE.
      WRITE : / 'Link b/w Transform No and Conn. No' COLOR 6
      INTENSIFIED ON.
      ULINE.
      TABLES:
            iflo.
      INCLUDE <line>.
    **Data type declaration
      DATA: BEGIN OF h_iflo_sel OCCURS 0,
                tplnr LIKE iflo-tplnr.
      DATA: END OF h_iflo_sel.
      DATA :  i_iloa1 LIKE TABLE OF iloa WITH HEADER LINE,
              i_iloa2 LIKE TABLE OF iloa WITH HEADER LINE.
      DATA : BEGIN OF t_inet,
              kante LIKE inet-kante,
              eqnach LIKE inet-eqnach,
              END OF t_inet.
      DATA: BEGIN OF h_iflo_tab OCCURS 0.
              INCLUDE STRUCTURE iflo.
      DATA: END OF h_iflo_tab.
    *For Final Display.
      DATA : BEGIN OF i_final OCCURS 0,
                data(30) TYPE c,
                desc(40) TYPE c,
              END OF i_final.
      DATA : BEGIN OF i_finalitab OCCURS 0,
                eqvon LIKE inet-eqvon,
                eqnach LIKE inet-eqnach,
                eqtyp LIKE equi-eqtyp,
                eqktx LIKE eqkt-eqktx,
                tplnr LIKE iflo-tplnr,
                pltxt LIKE iflo-pltxt,
                kunum LIKE zconnection-kunum,
                END OF i_finalitab.
      DATA : BEGIN OF i_eqkt OCCURS 0.
              INCLUDE STRUCTURE eqkt.
      DATA : END OF i_eqkt.
      DATA : i_iflo LIKE TABLE OF iflo WITH HEADER LINE,
             i_zconn LIKE TABLE OF zconnection WITH HEADER LINE,
             i_kna1 LIKE TABLE OF kna1 WITH HEADER LINE,
             i_equi LIKE TABLE OF equi WITH HEADER LINE,
             i_inet LIKE TABLE OF inet WITH HEADER LINE.
      DATA : var TYPE i VALUE 2,
             count TYPE i VALUE 0,
             tempcount TYPE i VALUE 0,
             lv_index LIKE sy-tabix,
             flag(5) TYPE c VALUE 'ODD' .
      DATA :  kante LIKE inet-kante,
                eqvon LIKE inet-eqvon,
                eqnach LIKE inet-eqnach.
      DATA: equnr LIKE zconnection-equnr.
    *Fetching the transformer no and the Connection no
      SELECT a~kante a~eqvon a~eqnach
              INTO CORRESPONDING FIELDS OF TABLE i_inet
              FROM ( inet AS a
              INNER JOIN zconnection AS b ON a~eqnach = b~equnr )
              WHERE a~eqvon = dy_equnr.
      LOOP AT i_inet.
        MOVE i_inet-eqvon TO i_finalitab-eqvon.
        MOVE i_inet-eqnach TO i_finalitab-eqnach.
        APPEND i_finalitab.
      ENDLOOP.
      LOOP AT i_finalitab.
    *Fetching the Functional Location for Connection number
        CALL FUNCTION 'EQUIPMENT_READ'
             EXPORTING
                  equi_no = i_finalitab-eqnach
             IMPORTING
                  eqkt    = i_eqkt
                  iloa    = i_iloa1.
        MOVE i_iloa1-tplnr TO i_finalitab-tplnr.
        MOVE i_eqkt-eqktx TO i_finalitab-eqktx.
        MODIFY i_finalitab.
      ENDLOOP.
    * Fetching desc of func location of conn no
      SELECT * FROM iflo
                      INTO TABLE i_iflo
                      FOR ALL ENTRIES IN i_finalitab
                      WHERE tplnr = i_finalitab-tplnr.
      LOOP AT i_finalitab.
        READ TABLE i_iflo WITH KEY tplnr = i_finalitab-tplnr.
        IF sy-subrc = 0 .
          MOVE i_iflo-pltxt TO i_finalitab-pltxt.
          MODIFY i_finalitab.
        ENDIF.
      ENDLOOP.
    * Fetching the customer no's for each connection no in Z table
      SELECT   * FROM zconnection
                    INTO TABLE i_zconn
                    FOR ALL ENTRIES IN i_finalitab
                    WHERE equnr = i_finalitab-eqnach.
      LOOP AT i_finalitab.
        lv_index = lv_index + 1.
        READ TABLE i_zconn WITH KEY equnr = i_finalitab-eqnach.
        IF sy-subrc = 0.
          MOVE i_zconn-kunum TO i_finalitab-kunum.
          MODIFY i_finalitab.
        ENDIF.
      ENDLOOP.
    *Fetching the equipment category for each conn no
      SELECT * FROM equi
               INTO TABLE i_equi
               FOR ALL ENTRIES IN i_finalitab
               WHERE equnr = i_finalitab-eqnach.
      LOOP AT i_finalitab.
        READ TABLE i_equi WITH KEY equnr = i_finalitab-eqnach.
        IF sy-subrc = 0.
          MOVE i_equi-eqtyp TO i_finalitab-eqtyp.
          MODIFY i_finalitab.
        ENDIF.
      ENDLOOP.
    *Fetching the Functional Location for Transformer number
      CALL FUNCTION 'EQUIPMENT_READ'
           EXPORTING
                equi_no = dy_equnr
           IMPORTING
                eqkt    = i_eqkt
                iloa    = i_iloa2.
    *For Fetching the description of the func loc. of Transformer Number
      REFRESH i_iflo.
      SELECT SINGLE * FROM iflo
                      INTO i_iflo
                      WHERE tplnr = i_iloa2-tplnr.
    *Moving into the final internal table .
      MOVE dy_equnr TO i_final-data.
      MOVE i_eqkt-eqktx TO i_final-desc.
      APPEND i_final.
      MOVE i_iloa2-tplnr TO i_final-data.
      MOVE i_iflo-pltxt TO i_final-desc.
      APPEND i_final.
    *For finding the superior functional location.
      REFRESH h_iflo_sel.
      MOVE i_iloa2-tplnr TO h_iflo_sel-tplnr.
      APPEND h_iflo_sel.
    *Finding the Superior Func. Location until it reaches the top.
      h_iflo_tab-tplma = '1'.
      DO 100 TIMES.
        IF h_iflo_tab-tplma <> ' '.
          REFRESH h_iflo_tab.
          CALL FUNCTION 'FUNC_LOCATION_ARRAY'
               EXPORTING
                    selfield     = 'TPLNR'
                    spras        = sy-langu
                    tabstructure = 'IFLO'
               TABLES
                    iflo_sel     = h_iflo_sel
                    iflo_tab     = h_iflo_tab.
          IF h_iflo_tab-tplma <> ' '.
    *To find the above func .location
            REFRESH h_iflo_sel.
            MOVE h_iflo_tab-tplma TO h_iflo_sel-tplnr.
            APPEND h_iflo_sel.
    *For Fetching the description of the func loc. of Transformer Number
            REFRESH i_iflo.
            SELECT SINGLE * FROM iflo
                            INTO i_iflo
                            WHERE tplnr =  h_iflo_tab-tplma.
    *Moving the values into the final internal table
            MOVE h_iflo_tab-tplma TO i_final-data.
            MOVE i_iflo-pltxt TO i_final-desc.
            APPEND i_final.
          ENDIF.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    *Displaying in a tree structure
      IF NOT i_final[] IS INITIAL.
        DESCRIBE TABLE i_final LINES count.
        tempcount = count.
        DO tempcount TIMES.
          READ TABLE i_final INDEX count.
          count = count - 1.
          WRITE: i_final-data COLOR 4 INTENSIFIED ON.
          WRITE: i_final-desc.
          IF count <> 0.
            WRITE:/var sy-vline NO-GAP.
            ULINE :/var(8).
            var = var + 9.
          ENDIF.
        ENDDO.
      ENDIF.
      SKIP.
    * Displaying the Customer no's.
      WRITE : /'Transformer no'COLOR 7 INTENSIFIED ON,18(18)
            'Connection no'COLOR 7 INTENSIFIED ON,37(3)'Cat'COLOR 7
            INTENSIFIED ON,41(40)'Connection desc'COLOR 7 INTENSIFIED ON,
            81(42) 'Connection Object'COLOR 7 INTENSIFIED ON,123(40)
           'Conn Obj Desc'COLOR 7 INTENSIFIED ON,
            163(10)'Customer'COLOR 7 INTENSIFIED ON.
      IF NOT i_finalitab[]  IS INITIAL.
        DESCRIBE TABLE i_finalitab LINES count.
        tempcount = count.
        DO tempcount TIMES.
          READ TABLE i_finalitab INDEX count.
          count = count - 1.
          SKIP.
      WRITE: / i_finalitab-eqvon COLOR 4 INTENSIFIED ON, i_finalitab-eqnach
               COLOR 5 INTENSIFIED ON,i_finalitab-eqtyp COLOR 4 INTENSIFIED
                         ON, i_finalitab-eqktx, i_finalitab-tplnr
        ,i_finalitab-pltxt
        ,i_finalitab-kunum.
        ENDDO.
      ENDIF.
    ENDFORM.
    Regards,
    Gayathri

Maybe you are looking for

  • I DOC not getting created

    Hi All, There is a scenario for us where we are creating a journal entry and same need to be created automatically  in another system by generation of IDOC. But the IDOC itself is not getting generated. The reason given is to check if the GL account

  • Trying to return a defective Lenovo Mini Wireless Keyboard 57Y6336

    I am hoping someone can help me since at this point I am completely frustrated. I received a Mini Wireless Keyboard Friday I ordered direct from Lenovo. It turns out it is defective and phone support has been completely useless as far as I can tell.

  • Material is subject to inventory management in care unit storage facility

    Dear All, when using Transaction NMM5 for material requisition the system displays the message "Material is subject to inventory management in care unit storage facility" what steps are required to overcome this error. I have already assigned storage

  • XML Signature signing the keyinfo

    Hi, I have a requirement to generate enveloping XML Signature for a XML document. Using JSR 105 i was able to achieve enveloping signature, however one more requirement is to sign the KeyInfo element. Can someone please help in figuring out how to si

  • UI chokes up with CC

    Hi there, Guys. Any advice would be welcome. Recently upgraded to Adobe CC and the UI seems to be lagging and chugging when I scrub media. To the point where I can totally not work with it. * Note: I'm an veteran editor and my system is professionall