02-09-2005 10:49 AM
Hello,
Is there any way that i can force a page break in an ALV list display depending on the value of the internal table for the function maodule REUSE_ALV_LIST_DISPLAY?
e.g for a change of MTART in MARA i need to display MATNR and MAKT in different pages.
Thanks
02-09-2005 11:31 AM
Look at the option GROUPLEVEL in Sort attribute of function module REUSE_ALV_LIST_DISPLAY.
Assign the value * to GROUPLEVEL, for the field on whose change, you want a new page.
for eg: it_sort-fieldname = 'MTART'.
it_sort-grouplevel = '*'.
append it_sort.
Regards,
Subramanian V.
02-09-2005 11:00 AM
02-09-2005 11:31 AM
Look at the option GROUPLEVEL in Sort attribute of function module REUSE_ALV_LIST_DISPLAY.
Assign the value * to GROUPLEVEL, for the field on whose change, you want a new page.
for eg: it_sort-fieldname = 'MTART'.
it_sort-grouplevel = '*'.
append it_sort.
Regards,
Subramanian V.