Code: Alles auswählen.
DATA:
ld_date TYPE D,
ld_date_high TYPE D,
ld_date_low TYPE D.
ld_date_high = '20220301'.
ld_date_low = '20211101'.
ld_date = ld_date_high.
WHILE ld_date GT ld_date_low.
ld_date = ld_date - 1.
ENDWHILE.
a-dead-trousers hat geschrieben: ↑13.10.2022 12:54Code: Alles auswählen.
DATA: ld_date TYPE D, ld_date_high TYPE D, ld_date_low TYPE D. ld_date_high = '20220301'. ld_date_low = '20211101'. ld_date = ld_date_high. WHILE ld_date GT ld_date_low. ld_date = ld_date - 1. ENDWHILE.
Code: Alles auswählen.
DATA:
ld_date TYPE D,
ld_date_high TYPE D,
ld_date_low TYPE D.
ld_date_high = '20220301'.
ld_date_low = '20211101'.
ld_date = ld_date_high.
WHILE ld_date GT ld_date_low.
ld_date+6(2) = '01'.
ld_date = ld_date - 1.
ENDWHILE.
a-dead-trousers hat geschrieben: ↑13.10.2022 14:13You can write in german with me but anyway lets keeps the charade up 😉EDIT:Code: Alles auswählen.
DATA: ld_date TYPE D, ld_date_high TYPE D, ld_date_low TYPE D. ld_date_high = '20220301'. ld_date_low = '20211101'. ld_date = ld_date_high. WHILE ld_date GT ld_date_low. ld_date+6(2) = '01'. ld_date = ld_date - 1. ENDWHILE.
Wohooo my post #4000 🥳