cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro, Tree

Former Member
0 Kudos

Hi all,

I implemented a recursive tree using the UI Element Tree. My customer wants to see this tree expanded up to the second level on the start of the view.

Is there a possibility to manage it (expand 2 levels of the tree) in my ABAP program or somehow else?

Kind regards,

Oleksandr

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Oleksandr,

You need to define an attribute is_expanded of type wdy_boolean in the context and if you maintain value 'X' that would suggest that you would like to expand that partciular level in the tree and you need to bind it to "expanded" property of tree ui element and fill the value of attribute accordingly.

Regards

Anurag Chopra

Former Member
0 Kudos

Hi all,

Thanks a lot for your replies, it works!

Kind regards,

Oleksandr

Answers (1)

Answers (1)

arjun_thakur
Active Contributor
0 Kudos

Hi,

Refer this online help: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/21/ad884118aa1709e10000000a155106/content.htm

Also refer this standard component: WDR_TEST_EVENTS. Look for the tree views.

I hope it helps.

Regards

Arjun