‎2020 Nov 24 5:15 AM
Hai,
In CDS Views there is a Date function called DATS_ADD_DAYS and DATS_ADD_MONTHS, this function having an argument like 'no_error'. How can we use the no_error argument which contains a restricted String like,
1.'NULL'
2.'FAIL'
3.'UNCHANGED'
4.'INIITIAL'.
‎2020 Nov 24 6:18 AM
Just like the documentation says, you will get an exception if the pass 'FAIL' to no_error parameter(3rd param) or it will become initial or null or the values remain unchanged if you pass respective values.
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abencds_f1_date_functions.htm
Regards,
Mahesh