cancel
Showing results for 
Search instead for 
Did you mean: 

Hierarchial display of BOM in ALV

Madhu2004
Active Contributor
0 Kudos

Hai Experts,

I have a small requirement to display the bom in an hierarchial tree in alv.

The tree shud be as follows:

>material

>material1

>material2

.material3

. material4

>material5

>material6

.matreil17

etc...

the tree structure in the alv shud be as shown above.

I have a structure with

MATNR

MAKTX

AMOUNT

UNIT

PAR_RECNO

SON_RECNO

IS_LEAF

LEVEL.

i have a method which returns above structure .Can anyone help me how to get the hierarchial structure?

Code will be helpful

Thanks&Regards,

Madhu

Accepted Solutions (0)

Answers (1)

Answers (1)

martin_mayer
Advisor
Advisor
0 Kudos

Hi Madhu,

have a look to this..

http://aiokeh.wdf.sap.corp:1080/SAPIKS2/contentShow.sap?_SCLASS=IWB_STRUCT&_SLOIO=7C3545415EA6F523E1...

For WD ALV you need for each level of your Tree a column.

=>The WD ALV Tree is more like a sorted table, where each tree column is part of the aggregation

regards, Martin

Madhu2004
Active Contributor
0 Kudos

Hai martin,

The url you sent is not working,can u plz help me with the correct url.

regards,

madhu