Date caculation using FM GET DATE MONTH YEAR
DATA: days TYPE t5a4a-dlydy,
months TYPE t5a4a-dlymo,
years TYPE t5a4a-dlyyr.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = p_date
days = p_days
months = p_month
signum = sign
years = p_year
IMPORTING
calc_date = calc_date.
months TYPE t5a4a-dlymo,
years TYPE t5a4a-dlyyr.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = p_date
days = p_days
months = p_month
signum = sign
years = p_year
IMPORTING
calc_date = calc_date.
Comments
Post a Comment