DATA:T_DAYS type I, T_MONTHS type I, T_YEARS type I.
CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
EXPORTING
I_DATE_FROM = '20120201'
I_DATE_TO = '20120620'
IMPORTING
E_DAYS = T_DAYS
E_MONTHS = T_MONTHS
E_YEARS = T_YEARS.
write:T_DAYS,T_MONTHS,T_YEARS.
CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
EXPORTING
I_DATE_FROM = '20120201'
I_DATE_TO = '20120620'
IMPORTING
E_DAYS = T_DAYS
E_MONTHS = T_MONTHS
E_YEARS = T_YEARS.
write:T_DAYS,T_MONTHS,T_YEARS.