Wednesday, November 6, 2019

Hierarchical Alv Tree Based Report (upto 6 levels)

                Hierarchical Alv Tree Based Report (upto 6 levels and still expandable ):
For Hierarchical ALV, we do not have much examples available on sap sdn or google or any other sites.I was  given a task to develop a report in which entire sales hierarchy target vs achievement report  month wise should come.
So that the  management could track which part of thier sale's team is not working well and where they could force and boost the performance , We did not HR module implemented while developing this report , so it was difficult for me to design the entire  system.

Concept Behind : Developer who knows the concept of Linked List, can easily solve this problem,if you look at problem , at start even i was confused how to start i tried each and every site of SAP SDN, SAP TECHNICAL , Google  found there was no  exact solution  to this kind of Required.
I was getting the  few example but the restriction was of 3 levels or upto 9 Column, I had to show 30 Columns Results.
Input Screen :

 1st Level Tree :
 3rd Level Extended:
It can further be extended if required as it just node mapping and node leveling and linking of Node to one another and setting them in a particular level.
if you want code kindly mail @ programmer2117@gmail.com