Ansicht
Dokumentation

PRETTY_PRINTER - Pretty Printer for ABAP Source Code (No Syntax Check)

PRETTY_PRINTER - Pretty Printer for ABAP Source Code (No Syntax Check)

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Improves the readability of the program source code passed in table OTEXT. The source code is structured according to its control statements and logical blocks and returned in the NTEXT table.

It inserts comments before subroutine and module statements (in cases where there is not already one there).

If the first non-comment line in the source code is indented by n characters, all lines are indented by at least n characters.

The syntax and semantics of the program are not changed.

If the parameter INCTOO = 'X' is set, includes declared in the program are also processed and written back to the database.

If there are syntax errors in the source text in OTEXT, the indentations may be wrong. Sometimes, the Pretty Printer can recognize this and returns the number of lines affected in the parameter INDENTATION_MAYBE_WRONG.

The actual parameters for OTEXT and NTEXT must have the line structure ABAPSOURCE.

Example

Notes

Further information





Parameters

INCTOO
INDENTATION_MAYBE_WRONG
NTEXT
OTEXT
SETTINGS

Exceptions

ENQUEUE_TABLE_FULL
INCLUDE_ENQUEUED
INCLUDE_READERROR
INCLUDE_WRITEERROR

Function Group

SPPR

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1434 Date: 20240523 Time: 140726     sap01-206 ( 32 ms )