Skip to Content
avatar image
Former Member

SAPSCRIPT - Data jumping to next page even if first page is having space to display

Dear Experts,

I am working on a sapscript in which I need to display a balance table below the main item table in the main window.

I want the balance table to display data on the first page as much as possible. For example, if the balance table is having 4 line items, but

there is only 1 line space left in the main window, 1 line of the balance table should be displayed in the first page & the remaining 3 lines on the next page. But, currently, it is displaying data on the first page only if there is 4 lines of space in the first page, else it jumps to the second page and dispays the whole balance on the second page.

Kindly help me in achieving this functionality.

Best regards,

Lucy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 08, 2015 at 08:43 AM

    Hi Lucy,

    Just check for condition before printing the heading details of a main table. So that it could be printed only on first page.You can something as &Page& EQ 1. So that it won't print again on second page.

    Regards,

    Chakradhar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 04:47 AM

    Hi Lucy,

    Please check if you have put your code to display these lines in Protect endprotect .

    Add comment
    10|10000 characters needed characters exceeded