Determining the Output Length
To determine the output length of a field, you use the OUTPUT-LENGTH parameter with the DESCRIBE FIELD statement as follows:
Syntax
DESCRIBE FIELD <f> OUTPUT-LENGTH <o>.
The system reads the output length of the field <f> and writes the value to the field <o>.

DATA: FLOAT TYPE F, OUT TYPE I, LEN TYPE I.
DESCRIBE FIELD FLOAT LENGTH LEN OUTPUT-LENGTH OUT.
This example results in field LEN containing the value 8 and the field OUT containing the value 22.
For further information, see
The WRITE Statement.