‎2007 Mar 08 5:39 AM
How to do calculation using dates?
I want to add BSID-ZFBDT and BSID-ZBD1T fields. i know this needs a subroutine pool to be created using perform-endperform in script. i have passed these two fields in the input structure itcsy in Z-program.
the date in the field BSID-ZFBDT is stored in the format DD.MM.YYYY
please help.
Thanks in advance
‎2007 Mar 08 5:47 AM
Hi
You can do the date calculation in to the driver program using FM
<b>BCA_US_DATES_CALC_UNIT</b>and here ypu can pass 2 dates and also pass a perameters for which value you required like
1 Calendar Days
2 Weeks
3 Months
4 Quarter
5 Year
Hope this help you,
Regards,
Hiren Patel