Google Search - Blog...........

ABAP - Fetch Sunday Prior To Any Date - Function Module - HR_GBSSP_GET_WEEK_DATES

data : vdate like sy-datum,
vsunday like sy-datum.

vdate = sy-datum.

CALL FUNCTION 'HR_GBSSP_GET_WEEK_DATES'
EXPORTING
p_pdate = vdate
IMPORTING
P_SUNDAY = vsunday
* P_SATURDAY =
* P_DAY_IN_WEEK =
* P_WEEK_NO =
.

write : / vsunday.

No comments:

Post a Comment