Ansicht
Dokumentation

ABAPGENERATE_DYNPRO - GENERATE DYNPRO

ABAPGENERATE_DYNPRO - GENERATE DYNPRO

Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

GENERATE DYNPRO

This statement is for internal use only.
It must not be used in application programs.


GENERATE DYNPRO h f e m ID g.
... MESSAGE f1 ... LINE f2 ... WORD f3.

Additions

1. ... OFFSET f4

2. ... TRACE-FILE f5

Effect

Generates the dynpro specified in the field g.
The source code is taken from the structure h and the internal tables f, e, and m. The field h(=dynpro header) should correspond to the structure D020S, the internal table f (=field list) should correspond to the structure D021S, the internal table e (=flow logic) should correspond to the structure D022S, and the internal table m (=matchcode information) should correspond to the structure D023S. Standard tables without secondary keys can be specified for f, e, and m.

If a syntax error occurs, the error message is stored in the field f1.

If a syntax error occurs, the number of the incorrect line is stored in the field f2.
By querying the return code, it is possible to determine whether this line refers to the flow logic or the field list.

If a syntax error occurs, the incorrect word is stored in the field f3.

System Fields

sy-subrc Meaning
0 The dynpro was generated.
4 The dynpro could not be generated. The specified error position is in the flow logic.
8 The dynpro could not be generated. The specified error position is in the field list.

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-FILE f5

Effect

Trace output is stored in this file. This addition automatically activates trace mode.






General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.

Length: 3371 Date: 20240426 Time: 084852     sap01-206 ( 44 ms )