3 Replies Latest reply: Jun 2, 2011 12:23 PM by Manjot Kaur RSS

DMEE Tree

Azra Husain
Currently Being Moderated

Hi all,

 

I have created  a dmee tree in which I have to print data of REGUH and REGUP for that I have used FPAYH and FPAYP structures respectively.

 

For one entry of REGUH there is two entries in REGUP as per my test data But tree calls only once not twice as per the entries of REGUP.

 

Kindly tell me how can I print all the rows of REGUP. Is there any loop functionality in DMEE tree.

 

Regards,

Azra.

  • Re: DMEE Tree
    sandhya akula
    Currently Being Moderated

    You can assign an exit function module for every field of  REGUP.

    And in that exit function module in case and endcase.

    When ever that node is called you can write normal loop statement and pass the required value to the specified node.

     

    DATA :

          w_nodename TYPE dmee_tech_name, "Node Name in DMEE tree.

     

      CASE w_nodename.

     

    WHEN 'REGUP_Field'.

     

    LOOP at REGUH.

     

    endloop.

    ENDCASE.

  • Re: DMEE Tree
    Rini Gerreman
    Currently Being Moderated

    Azra,

     

    can you check the level settings for the REGUP field in the property section in the DMEE tree root. The level should indictae repetitions more than 1.

     

    Then mak sure the REGUP field has the right level assigned

     

    Hope this helps

    Rini

  • Re: DMEE Tree
    Manjot Kaur
    Currently Being Moderated

    Hi ,

     

    Loop at REGUH and REGUP in the DMEE tree can be controlled by setting the DMEE tree properties.

    GOto Sort/key fields tab in the DMEE tree properties and define 2 levels with the key fields as below:

    Key field check box : Checked.

    Sequence : 1

    Structure : FPAYH

    Sort field : ZBUKR

    Level:1

     

    Key field check box : Checked.

    Sequence : 2

    Structure : FPAYH

    Sort field : DOC1R

    Level:1

     

    Key field check box : Checked.

    Sequence : 3

    Structure : FPAYP

    Sort field : DOC2R

    Level:2

     

    Now goto each segment node and set the Level as 1 or 2. In case you want to the segment to appear as many number of times as REGUH then assign LEVEL as 1 tothe segment node or in case you want the segment to appear as many number of times as REGUP then assign LEVEL as 2.

     

    I hope this solves your query.

     

    Regards,

    Manjot

Actions