We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
These additions are for internal use only.
Do not use them in application programs.
1. ... SHORTDUMP-ID sid
2. ... TRACE-TABLE trt
3. ... REPLACING incl
4. ... FRAME ENTRY dir
5. ... ID id TABLE idt
6. ... FILTER flt
... SHORTDUMP-ID sid
If a runtime error occurs, the field sid returns the maximum 30-character key of the corresponding short dump.
... TRACE-TABLE trt
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.
... REPLACING incl
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
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.
... FRAME ENTRY dir
The attributes required for checking the program (e.g.
program type) are taken from the field dir. Here, dir expects a structure of type TRDIR.
... ID id TABLE idt
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
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
|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|
|FPAR||Subroutine parameters (FORM)|
|APAR||Subroutine parameters (PERFORM)|
|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.
Other values after ID are undocumented, partially obsolete, and not released for use.
Collecting syntax warnings in a table.
... FILTER flt
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:
Statements included in the interface of a program
Statements that are required for method calls.