Hi,
Use following function module (ADD_TIME_TO_DATE) for your requirement.
DATA: F_DATE LIKE SY-DATUM,
T_DATE LIKE SY-DATUM,
V_IPRKZ LIKE MARA-IPRKZ.
V_IPRKZ = 'D'.
F_DATE = '20120509'.
* Convert to Internal Representation
CALL FUNCTION'CONVERSION_EXIT_PERKZ_INPUT'
EXPORTING
INPUT = V_IPRKZ
IMPORTING
OUTPUT = V_IPRKZ.
CALL FUNCTION'ADD_TIME_TO_DATE'
EXPORTING
I_IDATE = F_DATE" Your Original Date Here
I_TIME = 5" No.of Days or Months or Years you want to add to Given date
I_IPRKZ = V_IPRKZ" Indicator D = Days M = Months Y = Years
* I_RDMHD =
IMPORTING
O_IDATE = T_DATE " Processed Date
.
in above example,
I_TIME =5
I_IPRKZ ='D'
So, it will add 5daysto given date.
-Thanks,
Chintan