Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPSYNTAX-CHECK_INTERNAL - SYNTAX-CHECK INTERNAL

ABAPSYNTAX-CHECK_INTERNAL - SYNTAX-CHECK INTERNAL

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

SYNTAX-CHECK, Internal Additions

These additions are for internal use only.
Do not use them in application programs.


Additions

1. ... SHORTDUMP-ID sid

2. ... TRACE-TABLE trt

3. ... REPLACING incl

4. ... FRAME ENTRY dir

5. ... ID id TABLE idt

6. ... FILTER flt

Addition 1

... SHORTDUMP-ID sid

Effect

If a runtime error occurs, the field sid returns the maximum 30-character key of the corresponding short dump.

Addition 2

... TRACE-TABLE trt

Effect

Any trace output is stored in the internal table trt. The trace output is controlled by the statements SYNTAX-TRACE ON and SYNTAX-TRACE OFF. A standard table without secondary keys can be specified for trt.

Addition 3

... REPLACING incl

Effect

This addition can only be used together with the PROGRAM addition and under the following prerequisites:

The program text contained in the internal table itab does not include the compilation unit, it contains an include program instead, and the program named under PROGRAM is to be checked. However, if the include program specified in incl is included in this program, the content of the internal table itab should be used instead.

Addition 4

... FRAME ENTRY dir

Effect

The attributes required for checking the program (e.g. logical database, program type) are taken from the field dir. Here, dir expects a structure of type TRDIR.

Addition 5

... ID id TABLE idt

Effect

This addition writes information to the internal table idt. The identifier id controls the type of information that is written to the associated table itab.

For correction proposals (ID 'CORR'), the type pool SLIN must be included. For other information, the type pool SYNT must be included. These type pools contain the required type specifications.

After ID, the following values can be entered for id that create the specified information:

Information About Use in Internal SAP Development Tools

Value Information
MSG Warning messages
CORR Correction proposals
ERR Error messages

If ERR (collection of error messages) is specified and the entire source code cannot be processed, sy-subrc is set to the value 6 instead of the value 4.

Information About Use Only in Compiler-Related Tools

Value Information
SYMB Technical dump of the symbol table
DATA Data objects of the program
DPAR Help properties of data objects
TYPE Type objects of program
FOTY Type objects used by subroutines
FUTY Type objects used by function modules
TYCH Components of type objects
CROS Referenced data objects
STR Name
FORM Subroutines
FPAR Subroutine parameters (FORM)
PERF Subroutine calls
APAR Subroutine parameters (PERFORM)
FUNC Function modules
FFPA Function module parameter
CALL Function module calls
FAPA Function module parameters (CALL FUNCTION)
HYPH Data objects with hyphens in names
INCL Includes in program

This information should never be evaluated in general tools, since its structure can change at any time.

Note

Other values after ID are undocumented, partially obsolete, and not released for use.

Example

Collecting syntax warnings in a table.

Addition 6

... FILTER flt

Effect

Only the ABAP statements specified in flt are respected in the check. flt must have the type SYNT_FILTER from the type pool SYNT.

Possible values are:

"SYNT_FILTER_INTERFACE"

Statements included in the interface of a program

"SYNT_FILTER_MCALL"

Statements that are required for method calls.






ROGBILLS - Synchronize billing plans   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 9694 Date: 20230207 Time: 231908     sap01-206 ( 86 ms )