2008 Jul 18 12:21 PM
hi all,
please send my any sample report which contains the calcuation
between two dates.
regards
suprith
2008 Jul 18 12:35 PM
hi,
what type of calculation do you want exactly?
Regards
Mohammed
hi all,
please send my any sample report which contains the calcuation
between two dates.
regards
suprith
2008 Jul 18 12:24 PM
2008 Jul 18 12:25 PM
2008 Jul 18 12:27 PM
Hi,
Check out this sample code.
REPORT z_sdn.
PARAMETERS:
p_dat TYPE sy-datum.
INITIALIZATION.
p_dat = sy-datum + 7.
START-OF-SELECTION.
p_dat = p_dat + 3.
WRITE:
p_dat.
Regards
Abhijeet
2008 Jul 18 12:32 PM
Hi,
Refer the following program,it will help you.
DATA : DATE1 LIKE SY-DATUM,
DATE2 LIKE SY-DATUM,
DAYS1 TYPE I.
DATE1 = '01012005'.
DATE2 = SY-DATUM.
CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES'
EXPORTING
BEGDA = DATE1
endda = DATE2
IMPORTING
DAYS = DAYS1
WEEKS = WEEKS1
MONTHS = MONTHS1
YEARS = YEARS1.
write : days1.
Hope it is helps.
Regards,
T.Durai murugan.
2008 Jul 18 12:35 PM
hi,
what type of calculation do you want exactly?
Regards
Mohammed
2008 Jul 18 12:46 PM
hi
i'm having two tables ekko-bedat and eban-bedat
i've to calcultate the difference between two dates.
please help me out
2008 Jul 18 12:47 PM
did you try anything on your own? what was the result?
difference_in_days = ekko-bedat - eban-bedat.
2008 Jul 18 12:43 PM
2008 Jul 18 12:44 PM
Hi,
Please use the following FMs
In Days
DAYS_BETWEEN_TWO_DATES
In Months
MONTHS_BETWEEN_TWO_DATES
Thanks,
Sriram Ponna.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |