REPORT ztest_cha5.
DATA : week like scal-week.
call function 'DATE_GET_WEEK'
exporting
date = sy-datum
importing
week = week
exceptions
date_invalid = 1
others = 2.
WRITE : / 'week No' , week+4(2).
DATA : week like scal-week.
call function 'DATE_GET_WEEK'
exporting
date = sy-datum
importing
week = week
exceptions
date_invalid = 1
others = 2.
WRITE : / 'week No' , week+4(2).
No comments:
Post a Comment