Cannot Use INFOTYPES

This statement is not allowed in ABAP Objects because it creates a special table with a header line.

In ABAP Objects, the following statement causes an error message:

INFOTYPES nnn.

Cause:
The table you want to define must be declared using permitted statements, since tables with a header are not allowed in ABAP Objects.