Start of Content Area

Determining the Length and Distance  Locate the document in its SAP Library structure

You may no longer use the DESCRIBE DISTANCE statement to define the lengths and distances of fields.It must be replaced with one of the new statements DESCRIBE DISTANCE ...IN BYTE MODE or DESCRIBE DISTANCE ... IN CHARACTER MODE.

The DESCRIBE FIELD ...LENGTH statement is also obsolete and must be replaced with one of the new statements DESCRIBE FIELD ...LENGTH ...IN BYTE MODE or DESCRIBE FIELD ...LENGTH ...IN CHARACTER MODE.

Until now, the DESCRIBE FIELD ...TYPE field statement returned type C for flat structures. In a UP, type u is now returned for flat structures. This can be queried in the ABAP source code.

There are no changes for the DESCRIBE FIELD ...TYPE ...COMPONENTS ... statement under US. Similarly, the DESCRIBE ...OUTPUT LENGTH ... statement still returns the output length in characters.

End of Content Area