Symptom
- A dump occurs during runtime when a custom CDS view inherits the DCL (Data Control Language) from I_ProjectBillingElement, but does not expose the _EnterpriseProjectElement association.
- The dump is triggered during authorization checks.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
-
Create a custom CDS view that inherits the DCL from I_ProjectBillingElement.
-
Do not expose _EnterpriseProjectElement in the custom view.
-
Execute the view with any user.
-
Observe that a dump occurs due to missing context for access control evaluation.
Cause
The DCL implementation for I_ProjectBillingElement was changed: the access control has been shifted from _WBSElement to _EnterpriseProjectElement. This change requires that any custom CDS view inheriting from this DCL also exposes the _EnterpriseProjectElement association. Otherwise, runtime errors may occur.
Resolution
To prevent dumps, any custom CDS views that inherit this DCL must explicitly expose the _EnterpriseProjectElement association. Otherwise, the access control context is incomplete and causes runtime failures.
Keywords
DCL, Custom CDS, _EnterpriseProjectElement, access control, I_ProjectBillingElement, _WBSElement, inherits, CDS, dump. , KBA , PPM-SCL-BIL , Project Billing (Public Cloud) , Problem
SAP Knowledge Base Article - Public