07-21-2016 11:33 AM
Hi All,
I have few fields (say 10) to display in hierarchy. There will be 3 fields in 1st level, 3 fields in 2nd level and 4 fields in last level.
Combination of 1-3 fields should be displayed at level 1
Combination of 2-6 fields should be displayed at level 2
In call examples I could see single field @ a node level.
Thanks,
Nitin
07-21-2016 12:11 PM
You use the same number of columns on all lines .
Check BCALV_TREE_DEMO program
Regards,
Ketan
07-21-2016 12:16 PM
07-21-2016 12:56 PM
I have a requirement say we have 2 fields as material and plant in the final internal table. So each unique combination of material and plant should form main nodes.
If there are 5 unique Material/Plant combinations then 5 main nodes shall be formed. Now under that node there shall be further sub nodes relevant to Material plant combination.
07-21-2016 1:08 PM
You Can do like below.
like
Node1.
line1 belongs to node1
line2 belongs to node2
Node2
line1 belongs to node2
line2 belongs to node2
Node3
line1 belongs to node3
line2 belongs to node3
You can imagine Node2 is sub node to Node1, and Node3 is sub node to node2
and At last Node2 and 3 are sub node to Node1.
07-21-2016 1:12 PM
May i know.
Mat1 plant1
Here what data will comes
Mat2 plant2
Here what data will comes
Mat3 plant3
Here what data will comes
07-21-2016 1:23 PM
Mat1 plant1
Here elements relvant to Mat1 and Plant1
Mat2 plant2
Here elements relvant to Mat2 and Plant2
Mat3 plant3
Here elements relvant to Mat3 and Plant3
07-21-2016 1:30 PM
I hope i posted one image. you can do like that , Am i correct. By using.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'