cancel
Showing results for 
Search instead for 
Did you mean: 

generate LAST page of sapscript

Former Member
0 Kudos

Dear gurus,

I am modifying an existing sapscript form, and I need to always print the LAST page which contains Check information, regardless of the total number of pages.

Currently I have the windows FIRST, NEXT, and LAST. But the standard tcode does not output the LAST page.

I want to force output the contents of the LAST page.I have tried using the 😕 NEW-PAGE LAST command in the Main window and it generates the LAST page together with my desired Check information. However the bottom part of the Main window (which contains line item totals) appears. And I need to display only the Check information on the last page.

What do I do? I don't want the Main window to appear on the last page. But the :/NEW-PAGE LAST only works when I put it in the Main Window. How do I generate the Last page. Do you have any valuable suggestions?

Thank you very much!!

-Mozart

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved it myself. Answer was to modify print program and use FM "CONTROL_FORM" and command "NEW-PAGE LAST"