[ABAP] Wocheninfos (Kalenderwoche, Begin, Ende) zu Datum ermitteln

DATA: lv_ed_week TYPE kweek.
DATA: lv_ed_week_begin TYPE sydatum.
DATA: lv_ed_week_end TYPE sydatum.

cl_reca_date=>get_week_info_by_date( EXPORTING
                                       id_date       = sy-datum
                                     IMPORTING
                                       ed_week       = lv_ed_week
                                       ed_week_begin = lv_ed_week_begin
                                       ed_week_end   = lv_ed_week_end ).

WRITE: / lv_ed_week.
WRITE: / lv_ed_week_begin.
WRITE: / lv_ed_week_end.

Kommentare sind geschlossen.