Can any one please provide me the sample program to display material BOM data in ALV Tree Strucure as mentioned below. Material MAT3 and MAT33 itself have assemblies.I want any icon on MAT3 and MAT33 lines because of Assembly and when user click on that icon it expand the corresponding data.
Level MATNR
1 MAT1
1 MAT2
1 MAT3
|_2 MAT31
|_2 MAT32
|_2 MAT33
__|_3 MAT331
__|_3 MAT332
1 MAT4
1 MAT5