Internal Additions

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


Extras:

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 outputs are stored in the internal table trt. The trace output is controlled by the statements SYNTAX-TRACE ON and SYNTAX-TRACE OFF.

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 main program, but instead contains an Include program, and the program named under PROGRAM is to be checked. However, if the Include program specified in incl is integrated 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, whereby a structure of type TRDIR is expected for dir.

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 corresponding table itab.

For correction proposals (ID 'CORR'), the type group SLIN must be incorporated, and for other information, the type group SYNT. These type groups contain the required type specifications.

After ID, the following values can be entered for id, which generate the specified information:

ID 'MSG ' ...
Warning messages
ID 'CORR' ...
Correction proposals
ID 'ERR'  ...
Error messages
ID 'SYMB' ...
Technical dump of the symbol table
ID 'DATA' ...
Data objects of the program
ID 'DPAR' ...
Help properties of data objects
ID 'TYPE' ...
Type objects of the program
ID 'FOTY' ...
Type objects used by subprograms
ID 'FUTY' ...
Type objects used by function modules
ID 'TYCH' ...
Components of type objects
ID 'CROS' ...
Referenced data objects
ID 'STR ' ...
Identifiers
ID 'FORM' ...
Subprograms
ID 'FPAR' ...
Subprogram parameters (FORM)
ID 'PERF' ...
Subprogram calls
ID 'APAR' ...
Subprogram parameters (PERFORM)
ID 'FUNC' ...
Function modules
ID 'FFPA' ...
Function module parameters
ID 'CALL' ...
Function module calls
ID 'FAPA' ...
Function module parameters (CALL FUNCTION)
ID 'HYPH' ...
Data objects with a hyphen in their name
ID 'INCL' ...
Includes in the program

Addition 6

... FILTER flt

Effect

: Only the ABAP statements specified in flt are taken into account in the check. flt must have the type SYNT_FILTER from the type group SYNT.

Possible values are:

"SYNT_FILTER_INTERFACE"
Statements that address the interface of a program
"SYNT_FILTER_MCALL"
Statements that are required for method calls.