Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding SAP SCRIPTS - NEXT PAGE FUNCTIONALITY

Former Member
0 Likes
771

Hi all,

Can anybody tell me how to get NEXT PAGE FUNCTIONALITY in SAP SCRIPTS. Means if Data in 1st page does not fit it should go to next page and print.

I had declared 2 PAGES already in my LAYOUT SET.

How can i achieve above functionality.

Thanks in advance.

Thanks & Regards,

Rayeez.

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
674

In the PAGE attributes of the first page, Make the "Next Page" attribute the second page.

Regards,

Richh Heilman

Read only

0 Likes
674

If you have just one page, and there is too much on the page, set the page attribute "NEXT page" to the first page. Then it will print the first page, the over flow to the first page again, untill all is printed.

Regards,

Rich Heilman

Read only

0 Likes
674

Hi Rich heilman,

I had declared first page as PAGE1 & its Next Page attribute as PAGE2 which is also declared already.

But still it is not showing second page when there is over flow of data.

does we need to write following code any where in layout.

IF &PAGE& EQ = 1

NEXT-PAGE

ENDIF

please solve my issue.

Thanks & Regards,

Rayeez.

Read only

0 Likes
674

Hi Rich/All,

Can anybody address my issue.

I am still not able get into second page.

Thanks & Regards,

Rayeez.

Read only

0 Likes
674

Have you included the MAIN window in PAGE2?

Regards,

Rich Heilman

Read only

0 Likes
674

Hi all,

I got the solution now.

I had included following text in the MAIN WINDOW of my program. So i am able to get continuous information with multiple pages.

IF &PAGE& EQ = 1

NEW-PAGE

ENDIF

Thanks & Regards,

Rayeez.