Ansicht
Dokumentation
ABAPSYNTAX-CHECK_ERROR_HANDLING - SYNTAX-CHECK ERROR HANDLING
CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
SYNTAX-CHECK, error_handling
... $[INCLUDE incl$]
$[OFFSET off$]
$[MESSAGE-ID mid$] ...
Additions
1. ... INCLUDE incl
2. ... OFFSET off
3. ... MESSAGE-ID mid
Effect
These additions can be used for analyzing the syntax errors detected using the statement SYNTAX-CHECK.
Addition 1
... INCLUDE incl
Effect
If one or more include
programs are included in the source code contained in itab, and one of these programs contains
the first syntax error of the checked program, the name of this include program is assigned to the variable incl. incl must be a character-like data object.
Addition 2
... OFFSET off
Effect
If the source code in itab contains one or more syntax errors, the offset of the first token
with errors in relation to the line in the source code is assigned to the variable off. off expects the data type i.
Addition 3
... MESSAGE-ID mid
Effect
If the source code in itab contains one or more syntax errors, the key under which the first error message in the database table TRMSG is stored is assigned to the variable mid.
The key of the database table TRMSG consists of the components SPRAS of length 1, KEYWORD of length 20, and MSGNUMBER of length 4. The component MSGNUMBER is used to include a three-character ID. The fourth position can contain a blank character or a letter. For error messages with multiple parts that occupy more than one line in TRMSG, all parts have the same three-character ID, while the fourth character indicates a part of the message.
The data object mid must have the data type TRMSG_KEY from the ABAP Dictionary, which consists of the components SPRAS with length 1, KEYWORD with length 20, and MSGNUMBER with length 3.
PERFORM Short Reference BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 3181 Date: 20240419 Time: 021036 sap01-206 ( 51 ms )