how to display fields before alv o/p like header data

i wanted to archieve same o/p as fbl3n tcode …i have separated alv output using sorting and receiving few lists but for each list i want separate header data as u can see in image …i am not sure if i can use top-of-list event ..if anyone have piece of code for this functionality please share me .i checked few sap sample pograms but it was beyond my understanding

 

Scroll to Top