on 07-16-2014 3:54 PM
Hi,
Recently I've found that initial date values are represented in BRFplus by '01.01.0001' (instead of '00.00.0000' in ABAP).
Class CL_FDT_DATE_TIME macro cast_fdt_to_isdt states that:
* // - Date will be set to constant /isdt/if_udtm_c=>gc_date_lower, i.e. 00010101 (like ABAP)
I wonder what is the reason behind it.
Any explanation?
Shai,
About a year ago we had this topic on our agenda as I found out that some tools can deal with an initial data and some cannot. An initial date as 00.00.0000 is not a valid date! Therefore BRFplus would not understand a date like this as an initial data. Same is true for the date 01.01.0001 which is a valid date and the smallest possible not negative date. In the formula you have formula functions to check if a date is initial and/or if it is valid if you really need to know about the nuances.
Carsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.