SAP Knowledge Base Article - Public

3118598 - Error - 'Property PROJECTLASTCHANGEDDATETIME not found in type A_EnterpriseProjectElementType'

Symptom

Error - 'Property PROJECTLASTCHANGEDDATETIME not found in type A_EnterpriseProjectElementType' while using Enterprise Project API

Environment

S/4Hana Cloud 

Reproducing the Issue

Execute the URL /sap/opu/odata/sap/API_ENTERPRISE_PROJECT_SRV;v=0002/A_EnterpriseProjectElement?$filter=PROJECTLASTCHANGEDDATETIME

Cause

The field ProjectLastChangedDateTime exists in A_EnterpriseProjectElement type of the API Version 1 (which was deprecated already). For version 2,this field was not introduced; it only exists in A_EnterpriseProject type.

Resolution

Any changes in any wbs of the project, will update this field ProjectLastChangedDateTime. e.g. if your project is called A, then update wbs A.1.1.1, besides update the LastChangeDateTime of the wbs, it will also update ProjectLastChangedDateTime of project header. that's why this field was not introduced to version 2 from the beginning.
If we want to check the last change date time of the project header, LastChangeDateTime of project header should be used.

Keywords

ProjectLastChangedDateTime, A_EnterpriseProjectElement, A_EnterpriseProject. , KBA , PPM-PRO , Project Management , Problem

Product

SAP S/4HANA Cloud 2111