SAP Knowledge Base Article - Public

2243841 - How to upsert data via OData API call for MDF entity TimeAccountDetail


For each employee, there is a separate time account i.e unique external code.

For a specific employee's tome account there would be time account type defined i.e. timeAccountDetail.


Successfactors System


You can insert balances by inserting time account details for a time account. The initial balance is saved as a manual adjustment.

Make sure value has been provided for below fields for each of the time accounts where you want to insert an initial balances.:

  • posting type (MANUAL_ADJUSTMENT),
  • booking date
  • booking amount
  • booking unit
  • unique external code

While using API calls, Successfactors system would not generate unique external Code for TimeAccountDetail API. You will have to explicitly provide external code which should be unique.

However, behavior differs when you create a record from UI and it does generate Unique external code.

We generally do not suggest to use Upsert operation for TimeAccountDetail OData API due to external code limitation.


KBA , LOD-SF-INT-MDF , Metadata Framework API (MDF) , LOD-SF-INT , Integrations , Problem


SAP SuccessFactors HXM Core all versions