SYNTAX-CHECK FOR DYNPRO
This statement is for internal use only. It must not be used in application programs.
SYNTAX-CHECK FOR DYNPRO h f e m ...MESSAGE f1 ...LINE f2
Parts marked with " ..." are interchangeable.
Syntax check for dynpro
The dynpro description is taken from the structure
h and the internal tables
m. The structure
(dynpro header) should correspond to the structure D020S, the internal table
(field list) to the structure D021S, the internal table
e (flow logic) to
the structure D022S, and the internal table
m (matchcode information) to
the structure D023S. Standard tables without secondary keys can be specified for
DATA: DHEAD TYPE D020S, "dynpro header DFIELDS TYPE TABLE OF D021S, "field list DFLOWL TYPE TABLE OF D022S, "flow logic MCINFO TYPE TABLE OF D023S. "matchcode information
If a syntax error is detected during the check, the fields
f3 are filled as follows:
|0||The dynpro does not have any syntax errors.|
|4||The dynpro has syntax errors.|
... OFFSET f4
When a syntax error occurs, the position of the word with the error in the line with the error is stored in this field.
... TRACE-TABLE itab1
Any trace output is stored in this table. Trace output is switched on automatically when this addition is specified. A standard table without secondary keys can be specified for
... MESSAGE-ID f5
If a syntax error occurs, the key of the corresponding error message is returned in field
f5. This key has the same layout as the key of table TRMSG.