on 02-08-2006 8:48 PM
am trying to calculate the number of days between two dates. I called the function module 'DAYS_BWTEEEN_TWO_DATES' Then I find the result from the function module is not always correct. I searched for the customer message and find that it is a common problme because the function module is not released to the customer yet.
Is there any othere function modules I can use to do the calculation?
Thanks a lot,
Jennifer
Hi,
Why not just subtract the two dates in ABAP?
data: w_d1 like sy-datum,
w_d2 like sy-datum.
data: w_diff type i.
w_d1 = '20060131'.
w_d2 = '20051225'.
w_diff = w_1 - w_2.
write : / w_diff .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I heard of an option of doing this by using 'Virtual Key Figures'.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That is the only function module as far I knew. You can create your own fnction module based upon the logic available in the existing one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.