‎2009 May 22 2:54 PM
is there any function module for calculating days.
For 7 quarters or 8 quarters or 21 months or 24 months.
thanks and regards
jithendra
Moderator message - Please search before asking - post locked
Edited by: Rob Burbank on May 22, 2009 10:54 AM
‎2009 May 22 3:45 PM
Hi,
i don't know if there is any function module which does that. If one exists, then it needs the information which months are meant, because of leap years, you know.
But you can simply calculate the days:
DATA: lv_days TYPE i,
lv_future_date TYPE sy-datum VALUE '20091001',
lv_start_date TYPE sy-datum VALUE '20090522'.
START-OF-SELECTION.
lv_days = lv_future_date - lv_start_date.
WRITE lv_days.Regards
Mark-André