SAP Knowledge Base Article - Public

2695876 - Invalid property name(s): TimeType/externalName_defaultValue Error in Time Records Tab in Workbench

Symptom

Error message below is received when viewing Time Records tab of the Time Administration Workbench:

Retrieving absence data was not successful. One of the following reasons might apply: Please review the permission settings (Manage Permission Roles, Metadata Framework) and make sure that Metadata Framework Read/Write Permission is set. Refreshing the odata cache could also help via Refresh Metadata Cache. Open Configure Object Definition and check Visibility of following property on Object Definition. It should be set at least to Read Only: [COE0021]Invalid property name(s): TimeType/externalName_defaultValue, Action: Please check at Admin Center-->Search OData API Data Dictionary.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors Employee Central Time Off
  • People Profile (PP3)
  • Time Administration Workbench

Reproducing the Issue

1. Go to People Profile page of an employee then navigate to Time Off section.

2. Click Administer Time link to access Time Administration Workbench. Error message is shown on the Time Records page.

TimeRecords_Error.png

Cause

Error is caused by a configuration issue and can occur if the visibility defaultValue field in Translations object definition is set to Read-Only or Not Visible

defaultValue_GOLocalizedData.png

Resolution

1. Go to Admin Center > Configure Object Definitions then search for Object Definition on the first search dropdown and Translations on the second search dropdown.

ObjectDefinition_Translation.png

2. Click Take Action > Make Correction then click on Details link of the defaultValue field. 

Details_defaultValue_Translations.png

3. In the Details popup screen, change visibility from Not Visible to Editable then click Done. Scroll down to the bottom page and click Save to apply the changes.

FieldVisibility_DefaultValue.png

4. After changing the field visibility, go to Admin Center > OData API Metadata Refresh and Export to do a cache refresh for the OData API Metadata. Click Refresh and wait for the refresh to complete.

ODataCacheRefresh_AdminCenter.png

Once refresh is completed, absences should now be displayed properly on Time records tab in Workbench. If no time records exists yet, 'No data' is shown. If the OData API Metadata refresh does not help, a API Metadata Refresh for restricted entities might be needed. To refresh metadata for restricted category of MDF entities, please refer to See Also section below.

See Also

KBA 2355830 - How to refresh metadata of restricted Odata MDF entities?

KBA 2248199 - How to execute an Odata API Query on the web browser?

Keywords

Invalid property name(s): TimeType/externalName_defaultValue, time records, workbench error, Translations, TIM-6965 , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions