SAP Message 00099 - Field after FROM, TO or CURSOR has incorrect data type

Diagnosis
Fields that can be specified for the LOOP AT internal table (FROM, TO,CURSOR), have an incorrect data type.

Procedure
Fields must be defined in the same way as SY-INDEX
Example: DATA: START like sy-index.