cancel
Showing results for 
Search instead for 
Did you mean: 

Tree, I need some help

Former Member
0 Kudos

Hi guys,

I'm developing a tree application by wd abap, it will be like MMBE.

I need to display all fields of structure in a node or item.

Example:

Structure :

BUKRS

WERKS

LGORT

MATNR

Layout:

BUKRS A

|_ WERKS LGORT MATNR

|_ WERKS LGORT MATNR

BUKRS B

|_WERKS LGORT MATNR

I created nodes "NODE1" and "ITEM1" type strucure and add all field, assigned to tree container, created methods to fill both, but when I test, only appear a tree without any description. How could I fill nodes to appear entire row?

Accepted Solutions (0)

Answers (3)

Answers (3)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can use the ALV Component for Table output and just set the Hierachy Column option:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm

This can even be set at Runtime by the end user and they can change which column(s) are the hierarchy ones.

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

This you can achieve using standard table and using Master Columns

go through this link

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5...

Abhi

former_member402443
Contributor
0 Kudos

Hi,

You can go thru the component - WDR_TEST_EVENTS in your sap system.

Within this you will find the examples of tree control.

Hopes this will help you.

Regard

Manoj Kumar