Suppressing Text Formatting

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.

Suppressing Automatic Blanks When Lines are Filled

Use

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.

Suppressing Text Filling in the Text-Entry Screen

Use

This function makes long lines in the text-entry screen easier to read. 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 and 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

Use

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.

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.