Ich will eine Instance Attribute als List in einer Class deklarieren. Wenn ich den Type Standard Table schreiben sagt sap
muss any table sein. Bei Any Table sagt er "You cannot use generic types for fields. The table types ANY and INDEX
are generic".
Wie deklarieriert man eine String List in einer Classe?
Ist im Gegensatz dazu eine generische Typ-Deklaration, da die Art des Tabellentyps und die Schlüsseldefinition fehlt.
Implizit nimmt ABAP zwar STANDARD TABLE und DEFAULT KEY an, aber das entspricht nicht der strengeren Syntax von ABAP-OO.
lg ADT
Theory is when you know something, but it doesn't work.
Practice is when something works, but you don't know why.
Programmers combine theory and practice: Nothing works and they don't know why.