Code: Alles auswählen.
form check_luhn using uv_cc.
data: lv_summe(10) type numc,
lv_stellen type i,
lv_parity type numc.
lv_stellen = strlen( lv_summe ).
DO lv_stellen TIMES.
WRITE sy-index.
ENDDO.
endform.