function date_get_week.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(DATE) LIKE SCAL-DATE
*" EXPORTING
*" VALUE(WEEK) LIKE SCAL-WEEK
*" EXCEPTIONS
*" DATE_INVALID
*"----------------------------------------------------------------------
函数模块作用:
获得某个日期所在的周。
=============================================
function week_get_first_day.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(WEEK) LIKE SCAL-WEEK
*" EXPORTING
*" VALUE(DATE) LIKE SCAL-DATE
*" EXCEPTIONS
*" WEEK_INVALID
*"----------------------------------------------------------------------
函数模块作用:
获得某周的第一天。
============================================
上述两个函数的功能已经包含在 HR_GBSSP_GET_WEEK_DATES 中了。
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(DATE) LIKE SCAL-DATE
*" EXPORTING
*" VALUE(WEEK) LIKE SCAL-WEEK
*" EXCEPTIONS
*" DATE_INVALID
*"----------------------------------------------------------------------
函数模块作用:
获得某个日期所在的周。
=============================================
function week_get_first_day.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(WEEK) LIKE SCAL-WEEK
*" EXPORTING
*" VALUE(DATE) LIKE SCAL-DATE
*" EXCEPTIONS
*" WEEK_INVALID
*"----------------------------------------------------------------------
函数模块作用:
获得某周的第一天。
============================================
上述两个函数的功能已经包含在 HR_GBSSP_GET_WEEK_DATES 中了。