Show TOC

Suppressing Text FormattingLocate this document in the navigation structure

Use

You can suppress formatting of particular lines of text or text strings in the line editor or in the output. The following sections show what formatting you can suppress.

Procedure

Suppressing Automatic Blanks when Lines are Filled

This function allows you to put together text from multiple lines in a single word or character string. It is intended for special formatting situations, for example, if you want to print the first part of a string only if a certain condition is met, but the second part of the string in any case.

Example

You can enter

Go up to the fifth floor with the ele = vator. Then ring the bell.

The output then looks like this:

Go up to the fifth floor with the elevator. Then ring the bell.

Procedure

Enter = in the format tag column. The text is added to the previous line without an intervening blank.

SAPscript inserts a blank space by default when two text rows are combined together during text alignment.

Suppressing Row Filling in the Editor

This function ensures that long rows are read better in the text entry field. When you load or include text that covers the entire 72 columns of the standard text entry area, the text is easier to read if you preserve the original line structure. Lines with the formatting specifications = and /= can use the entire 132 columns of the text entry lines without being filled.

Procedure

Enter = or /= in the format tag column. Choose Format. SAPscript then leaves these lines unfilled. That is, no line breaks are inserted in such a line in the editor.

At output, the lines are filled as follows:

  • Format: =. The text is added to the previous line without an intervening blank. (See also the previous section).

  • Format: /=. The text starts on a new line in the printout or screen display.

Suppressing Formatting

You use this function to print or display formatting specifications for certain purposes. These formatting specifications can also be used for long lines, just as = and /= , described above.

Example

You can enter

<(><ZK>Italic Text Display</><)>

The text is displayed or printed like this:

<(><ZK>Italic Text Display</><)>

You can also help SAPscript to interpret tabs and commas correctly. If you want your text to have a comma followed by a tab, this requires a sequence of three commas in your text:, ,,

The first two commas are interpreted as a tab, followed by a comma. To ensure the correct interpretation, enter <(>,<)>,,

Procedure

To prevent formatting of a particular line or character string within a line, enter parentheses (). Tabs and character formats are then not resolved. Instead, they are printed out as normal text.

You can use these formatting tags in the following ways:

  • Enter (in the format tag column to prevent the entire adjoining line of text from being formatted. At output, the line is concatenated without an intervening blank space with the end of the previous line.

  • Enter /( in the format tag column to prevent the entire adjoining line of text from being formatted. At output, the text starts on a new line in the printout or screen display.

  • Enter <(> and <)> around a character string to prevent a character format from being processed.