No field symbols without type assignment

In ABAP Objects the addition TYPE in the statement FIELD-SYMBOLS is mandatory.

Error message in ABAP Objects if the following syntax is used:

FIELD-SYMBOLS <fs>.

Correct syntax:

FIELD-SYMBOLS <fs> TYPE ANY.

Reason:

Like method interface parameters, field symbols must alwas have explicit type assignments.

Overview:

Replacement for Obsolete Statements ABAP Objects