SAP Knowledge Base Article - Public

3532143 - Purchase Leave Error: [COE0027] Required Properties Missing in Payload

Symptom

We encounter the following error message while processing purchase leave requests: [COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata. 

Environment

SAP SuccessFactors Employee Central – Time Management

Reproducing the Issue

  • Go to Time Management Section>Purchase Leave
  • Click on Create Purchase Leave
  • Fill the required details
  • Click on Submit
  • Error [COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata. 

Cause

  • Configure Issue

Resolution

To resolve this issue, follow these steps:

  1. Navigate to Configure Object Definition.
  2. Select TimeAccountPurchase.
  3. Click on Unit and then Details.
  4. Set the visibility to Read-Only

Keywords

[COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata, [COE0027]Please add required properties in payload, Required property unit is missing, You can check which properties are required for an entity in Admin Center, OData API Data Dictionary or the entity metadata, COE0027, Purchase Leave Error, Purchase Leave, Leave Error, Purchase Time error, Purchase Balance Error, Purchase Balance, Time Off, Leave, Time Management, Purchase Error, Purchase, OData API Data Dictionary, TimeAccountPurchase, Time Account Purchase Leave, Time Account, Account Purchase, Account Purchase Leave. , KBA , LOD-SF-EC-TIM-PYT , Payouts - Self Service, Admin, Termination , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem

Product

SAP SuccessFactors Employee Central 2405