Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

displaying alv output in different pages

hi experts,

I am creating a report which displays customer data based on company code.

The requirement is such that for each company code , all the customers data should come in one page in the ALV display.For another company code, yet another page should be displayed.

I am having an internal table having data for all customers of all the company code.

But don't know how to display it separately.

Any points in this regard would be helpful.

Tags:
Former Member
Former Member replied

using SORT option you can do that.

sort-fieldname = 'BUKRS'.
sort-up = 'X'.
sort-group = '*'. " * is used for New page.
append sort to it_sort.

pass this it_sort to the it_sort parameter of the ALV function.

The result can be viewed using the REUSE_ALV_LIST_DISPLAY function, rest of the cases you can see the effect only during print mode/preview.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question