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

ABAP - Function Module 'DATE_GET_WEEK' - Used to Fetch Week Number.

report ztests .

data: week type SCAL-WEEK .
parameters:p_date type SCAL-date .

CALL FUNCTION 'DATE_GET_WEEK'
EXPORTING
date = p_date
IMPORTING
WEEK = week.

write:/ 'the week no is', week+4(2) .

No comments:

Post a Comment