SAP Message SIW097 - Table Type &1 contains wrong or missing REFTYPE &2

Diagnosis
Value &v2& is not allowed for the REFTYPE field of table type objectV1.

System Response
The system aborts the generation of the table type &v1&.

Procedure
Correct the value of the REFTYPE field. With this field you specify therow type as a reference. This field is optional.
The following values are possible:,,
,,No Information - means no reference type
A,,,,ANY
O,,,,Object
D,,,,DATA
B,,,,Built-In Dictionary Type
E,,,,Data Element
S,,,,Structured Type
L,,,,Table Type
C,,,,Class
I,,,,Interface