Code: Alles auswählen.
DATA: mein_string type string.
mein_string = '8,12,7,2,4,8,11'.
Code: Alles auswählen.
types: begin of struc,
zahl type c length 10,
end of struc.
DATA: string type c length 15,
itab type table of struc,
wa type struc.
data nummer type i.
string = '8,2,6,12,88,0'.
SPLIT string AT ',' INTO TABLE itab.
loop at itab into wa.
nummer = wa-zahl.
write nummer.
endloop.