How to get this output format in ALV report
Can any one pls let me know how to get the following output format in ALV report.
companycode location position approver
300 800 01 watson
one empty line after this again
300 800 01 ryant
Thanks in advance.
using the sort function you can get that .
in your casse you have to populate the sort on these fields
companycode ,location, position, approver
sort-fieldname = 'SOMEFIELD'.
sort-up = 'X'.
sort-group = 'UL'. "It add a line between the set of data
append sort to it_sort.
pass this it_sort to alv function.