SAP Knowledge Base Article - Preview

2699516 - Unable to use $session.system_date with calculated field and function DATS_DAYS_BETWEEN

Symptom

User is working with Custom CDS view and attempting to use function DATS_DAYS_BETWEEN in a calculated field with session date  $session.system_date.  The variable is causing error:

Function DATS_DAYS_BETWEEN: At position 1, only Expressions, Literals, Columns, Paths, Parameters allowed


Read more...

Environment

S/4 Hana Cloud 1808

Product

SAP S/4HANA Cloud 1808

Keywords

DATS_DAYS_BETWEEN $session.system_date system_date , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.