Date Function Module
Date and appointment Book Programming Language here code
DATA lv_newdate TYPE sy-datum.
DATA lv_nom(5).
CONCATENATE '-' uv_nom INTO lv_nom.
CALL FUNCTION 'BKK_ADD_MONTH_TO_DATE'
EXPORTING
months = lv_nom
olddate = p_keydt
IMPORTING
newdate = lv_newdate.
CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
EXPORTING
iv_date = lv_newdate
IMPORTING
ev_month_end_date = cv_month_end_date.
DATA lv_newdate TYPE sy-datum.
DATA lv_nom(5).
CONCATENATE '-' uv_nom INTO lv_nom.
CALL FUNCTION 'BKK_ADD_MONTH_TO_DATE'
EXPORTING
months = lv_nom
olddate = p_keydt
IMPORTING
newdate = lv_newdate.
CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
EXPORTING
iv_date = lv_newdate
IMPORTING
ev_month_end_date = cv_month_end_date.
Comments
Post a Comment