Symptom
When opening a project-related app or an app with custom fields created based on project-related CDS View, the system shows a loading screen that never finishes.
Browser F12 console shows "initial loading of metadata failed" and "HTTP request failed". Gateway error log contains "Do not use conversion exit *** for property ****** in entity ******."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open a project-related app such as "Project Control - Enterprise Projects" or "Project Planning" app, or an app which has custom fields created based on project-related CDS View.
- Observe that the loading screen is displayed and remains indefinitely.
Cause
A custom field based on CDS view introduces an entity property that uses the disallowed conversion exit. This causes the OData service metadata build to fail, leading to the app loading indefinitely.
Resolution
- Create a Custom CDS View based on the standard CDS View mentioned in the error message, selecting only fields that are actually needed and excluding any field that carries a conversion exit.
- In Custom Fields and Logic, change the value help of the custom field to point to this new Custom CDS View instead of the standard CDS View.
- Re-publish the changes.
- Reload the "Project Control - Enterprise Projects" app or "Project Planning" app and it should now open normally.
Note: If the affected CDS View is a WBS-related CDS View such as I_WBSELEMENTDATA or I_EnterpriseProjectElement, you can change the value help of the custom field to point to alternative standard CDS View I_WBSElementBasicDataStdVH or I_EntProjWrkBrkdwnStrucElmntVH, instead of creating a new custom CDS View.
See Also
Keywords
project planning, project control, loading, forever, stuck on loading screen, conversion exit, ATINN, value help, custom field, enterprise project, property, entity, /IWFND/CM_MGW004, UI_ENTPROJECTHIERARCHY, UI_ENTPROJECTCONTROL, TPLNR, WBS, initial loading of metadata failed, HTTP request failed , KBA , PPM-SCL-STR-FIO , Fiori UI for Project Structure (Public Cloud) , Problem
SAP Knowledge Base Article - Public