Adding a Page break/new page in SAP Script


To add a new page, you can use Control command NEW-PAGE in Transaction SE71.


Syntax

NEW-PAGE [page_options] [ spool_options]

Effect

This statement creates a new page in the current list and writes the subsequent list output into a spool list.

In T-Code: SE38 Print Program, you can use Function Module CONTROL_FORM to call NEW-PAGE command as below −

CALL FUNCTION 'CONTROL_FORM'

EXPORTING

COMMAND = 'NEW-PAGE'

EXCEPTIONS

UNOPENED = 1

UNSTARTED = 2

OTHERS = 3.

Updated on: 17-Feb-2020

901 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements