2006 Oct 16 2:13 PM
Hi all,
I have a few issues on ALV's. Please give me an Idea
1. Can we have page breaks in ALV depending on the plant.
ie. If the plant changes the out put should break and new page should start.
Is this possible in ALV with function modules
2. Is it possible to print header in the following format
Main Header
H1 H2 H3 H4
1 2 3 4
1 2 3 4
1 2 3 4
Ie the header should be in cells above and below as shown.
Main header is on cell
and sub headers are partitions on main header
Please help me to resolve the following issues
Thanks in Advance
Vijay
2006 Oct 16 2:29 PM
2006 Oct 16 2:29 PM
2006 Oct 16 6:30 PM
Hi Kalluri,
In order to make the break and new page, you have to append in the sort declaration:
ls_sort-fieldname = 'MATNR'.
ls_sort-group = '*'.
APPEND ls_sort TO p_it_sort.
Regards,
Eric
2006 Oct 17 10:11 AM
hi
the first solution is as answered above,
by giving sort_group = '*' or u can also give 'UL'.
2) second solution is using hierachial alv. with normal alv its not possible.