Documentation View

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

ABAPSYNTAX-CHECK_FOR_DYNPRO - SYNTAX-CHECK FOR DYNPRO

ABAPSYNTAX-CHECK_FOR_DYNPRO - SYNTAX-CHECK FOR DYNPRO

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

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
                                ...WORD f3.


Additions

1. ... OFFSET f4

2. ... TRACE-TABLE itab1

3. ... MESSAGE-ID f5

Effect

The dynpro description is taken from the structure h and the internal tables f, e, and m. The structure h (dynpro header) should correspond to the structure D020S, the internal table f (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 f, e, and m.

Example

If a syntax error is detected during the check, the fields f1, f2, and f3 are filled as follows:

  • f1 contains the error message text.
  • f2 contains the dynpro line where the error occurred
  • f3 contains the incorrect word in the dynpro

System Fields

sy-subrc Meaning
0 The dynpro has no syntax errors.
4 The dynpro has syntax errors.

Addition 1

... OFFSET f4

Effect

When a syntax error occurs, the position of the incorrect word in the incorrect line is stored in this field.

Addition 2

... TRACE-TABLE itab1

Effect

Any trace output is stored in this table. Trace output is automatically activated when this addition is specified. A standard table without secondary keys can be specified for itab1.

Addition 3

... MESSAGE-ID f5

Effect

If a syntax error occurs, the key of the corresponding error message is returned in field f5. This key has the same structure as the key of table TRMSG.






Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3780 Date: 20230206 Time: 104650     sap01-206 ( 66 ms )