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

Page break in Spool output

Hi Guys,

I have a requirement to have page breaks in spool output. below is my alv output. The same was executed in background and same was shown in spool output. But the user need to have a page break in spool based on work centre considering level equal to '0'. In below table first six records should be displayed in first page and other three records should be displayed in next page and so on.

I already searched but I couldn't find any.

please suggest me with sample code.

Level Work Centre 0 C12 1 C12 1 C12 0 C12 1 C12 1 C12 0 C13 1 C13 1 C13 0 C14 1 C14 1 C14

Neetha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 11, 2015 at 08:11 AM

    Hi,

    if you are using OO with CL_GUI_ALV_GRID, then please have a look at

    http://scn.sap.com/thread/208688

    Regards,

    Klaus

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2015 at 08:02 AM

    Hi,

    In ALV you will not be able to see page break, until you will not convert it to the LIST OUPUT.

    And to achieve the Page Breaks in ALV, you need to fill sort catalog structure I.e SLIS_SORTINFO_ALV.

    Provide the field name on which you want page break to be trigger.

    SLIS_SORTINFO_ALV->>FIELDNAME = ''

    SLIS_SORTINFO_ALV->>GROUP >> will provide options for underline/ page breaks

    page break will be visible to you in spool.

    thanks!!

    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.