WEEK_GET_FIRST_DAY — ABAP Function Module
Find the Monday starting an ISO week in YYYYWW form.
WEEK_GET_FIRST_DAY
Find the Monday starting an ISO week in YYYYWW form.
| Name | Direction | Type | Description |
|---|---|---|---|
| WEEK (required) | EXPORTING | NUMC 6 | ISO year and week, YYYYWW |
| DATE | IMPORTING | D | Monday of the requested week |
DATA monday TYPE d.
CALL FUNCTION 'WEEK_GET_FIRST_DAY'
EXPORTING week = '202642'
IMPORTING date = monday.
WRITE: / monday.Example output:
20261012Accepts ISO week keys only; non-ISO factory calendars are not simulated.
Exceptions: WEEK_INVALID