Skip to Content
Dec 16, 2021 at 10:52 AM

No. of Days between two dates in ABAP CDS View


Hello All,

Is there any work around to find out no.of days between two dates(and also no of months between current date (month) and Date we have in the system (month) in ABAP CDS? I can't find appropriate solution for this,

SAP netweaver version 7.4 sp19 on hana so some of the Dat functions not supporting in this version.

I can't use AMDP for this small requirement and I don't want to use it.

I believe this is a simple requirement but can't get it through this CDS in the version we've.

any information would be appreciated.

Thanks in advance,