GENERATE DYNPRO

GENERATE - Generate a screen


Incompatible changes or further developments may occur at any time without warning or notice.

GENERATE DYNPRO h f e m ID g.
...MESSAGE F1 ...LINE F2 ...WORD F3.

Parts marked with " ..." are interchangeable

Additions:

1. ... OFFSET f4
2. ... TRACE-FILE f5

Effect

Generates the screen specified in the field g.
Here, the source code is taken from the structure h and the internal tables f, e and m. The field h (screen 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.

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 reading the return code value, you can 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.

Effect

If a syntax error occurs, the position of the incorrect word is output in this field.

Effect

Stores performance data in this file. This addition automatically switches on the trace mode.

Related

IMPORT DYNPRO, EXPORT DYNPRO, DELETE DYNPRO, SYNTAX-CHECK FOR DYNPRO.