Skip to Content
author's profile photo Former Member
Former Member

Forcing a new page in ALV depending on a particular value of internal table

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 11:00 AM

    Hi,

    Not sure about ALV List, you can take a look at a similar post using ALV Grid at new-page-in-alv-for-value-change-on-a-field.

    See if this helps.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.