Show TOC

Syntax of Control CommandsLocate this document in the navigation structure

Use

SAPscript control commands are entered and edited in the text editor in the same way as a normal line of text. They do, however, differ from normal lines of text:

  • Enter the paragraph format /: in the format column to identify a control command.

  • Enter the command itself in the text line. You will notice that all key words and other parts of the specification not given as literal values enclosed in inverted commas are automatically converted to capital letters.

  • Make sure that a control command, together with any parameters it requires, does not occupy more than a single line.

  • Enter only one control command in each line.

  • Note that the editor formatting has no effect on lines containing control commands.

If a control command is unknown or it contains syntax errors, the line containing it is treated as a comment line. It is neither interpreted nor printed.