Show TOC

Function documentationMulti-Line Info Instructions Locate this document in the navigation structure

 

With one exception, all instructions that you enter in package scripts can only be written as one-line instructions. The exception is an INFO instruction that can be spread across multiple lines to enhance the readability of the scripts.

Note Note

Multi-line INFO instructions cannot be nested and cannot contain other instructions. They can contain predefined constants. See Dynamic Constants.

End of the note.

Syntax Syntax

  1. BEGININFO(variablename)
    ...
    ...(value)
    ...
    ENDINFO
End of the code.

Example

Syntax Syntax

  1. BEGININFO(%SQL_STATEMENT%)
       SELECT *
       FROM TBLFACT%APP%
       WHERE %SELECTION%
       ENDINFO
    TASK(SELECTION,SQLSTATEMENT,%SQL_STATEMENT%)
End of the code.

Any software coding and/or code lines / strings ("Code") included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended to better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or by its gross negligence.