以下演示了月份增减函数的使用
DATA g_date TYPE sy-datum.
START-OF-SELECTION.
g_date = sy-datum.
CALL FUNCTION 'ISP_ADDING_MONTHS_TO_DATE'
EXPORTING
months = 2
start_date = g_date
IMPORTING
end_date = g_date.
WRITE:/ g_date.
CALL FUNCTION 'CCM_GO_BACK_MONTHS'
EXPORTING
currdate = g_date
backmonths = 5
IMPORTING
newdate = g_date.
WRITE:/ g_date.