Ansicht
Dokumentation

DESCRIBE command in ABAP programs <br />Tip-No.: 509 ( INFO509 )

DESCRIBE command in ABAP programs
Tip-No.: 509 ( INFO509 )

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

DESCRIBE command in ABAP programs
Tip-No.: 509

Symptom

DESCRIBE FIELD "field name" ... returns the following results:
The characteristics of the literal or field that the name contains are
output instead of the characteristics of the described fields.

Cause

Command DESCRIBE only works for directly specified fields, not with
the field names.

Solution

The field name nust be specified directly:
DESCRIBE FIELD Ffield name, not DESCRIBE FIELD "field name"... .
If fields are to be addressed symbolically, you must work with field
symbols and dynamic ASSIGNs:
ASSIGN ("fld.name") TO . DESCRIBE FIELD ... .






ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 793 Date: 20240328 Time: 182128     sap01-206 ( 11 ms )