cancel
Showing results for 
Search instead for 
Did you mean: 

BRFplus Initial Dates

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

carsten_ziegler
Active Contributor
0 Kudos

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

Answers (0)