Entering content frameCreating Blank Lines Locate the document in its SAP Library structure

To create blank lines, use the SKIP statement as follows:

Syntax

SKIP [<n>].

The system writes <n> blank lines into the current list, starting at the current line. If you omit the <n> option, the system creates one blank line.

The following restrictions apply for this operation:

In the default setting, the system does not output any blank lines created using the WRITE statement with the AT / option. A blank line is a line that contains character strings only and whose individual fields consist of nothing but blank characters. However, if you intend to output blank lines created by WRITE statements when outputting character strings, use this statement:

Syntax

SET BLANK LINES ON|OFF.

If you use the ON option, the system does not suppress the output of blank lines created using WRITE statements. To reset the default setting, use the OFF option.

Note

You use this statement, for example, to represent empty table entries in the list. Note that the system displays a line containing nothing but, for example, empty input fields or empty checkboxes only if you specify SET BLANK LINES ON beforehand.

Example

The following program creates five blank lines. The output '*****' appears in the sixth line.

REPORT sapmztst.

SKIP 5.

WRITE '*****'.

The following program does not create any blank lines. The output '*****' appears in the first line. The SET BLANK LINES OFF statement is used only to emphasize the default setting.

REPORT sapmztst.

SET BLANK LINES OFF.

DO 5 TIMES
  WRITE / ' '.
ENDDO:

WRITE '*****'.

The program below creates five blank lines, since the SET BLANK LINES ON statement is used. The output '*****' appears in the sixth line.

REPORT sapmztst.

SET BLANK LINES ON.
DO 5 TIMES
  WRITE / ' '.
ENDDO.
SET BLANK LINES OFF.

WRITE  / '*****'.

 

 

Leaving content frame