Code: Alles auswählen.
MOVE lv_tage TO ls_tage-tage.
APPEND ls_tage TO lt_tage.
Code: Alles auswählen.
describe table lt_tage lines l_lines.
do l_lines times.
CLEAR lv_zaehler5.
lv_zaehler4 = lv_zaehler4 + 1.
LOOP AT lt_tage INTO ls_tage WHERE tage = lv_zaehler4.
lv_zaehler5 = lv_zaehler5 + 1.
ENDLOOP.
IF lv_zaehler5 > 0.
WRITE: / ls_tage-tage, lv_zaehler5.
ENDIF.
enddo.