When trying to use field ProjectVisibility field of view I_EngagementProject to create a custom CDS view you get error Property 'ProjectVisibility' has invalid value 'N'.
SAP S/4HANA Cloud.
When any field with data element having patter *FLAG, OData expects the field to return Boolean values.
Since field ProjectVisibility with data element /CPD/PWS_WS_CONFIDENTIAL_FLAG returns values as Y and N the error is raised.
Add a new calculated column "Confidential" in the Custom CDS View with OData Service and implement the below formula based on the field ProjectVisibility:
else ' '
end as Confidential
CDS view, data element, ProjectVisibility, Project, Plan customer projects, cloud, I_EngagementProject, create custom cds views, Property, invalid value , KBA , CA-CPD-SS , S/4HANA Professional Services Cloud - CPM , Problem