SAP Knowledge Base Article - Public

3393004 - The 'ownerId' and 'ownerIdType' fields within the Attachment Odata entity should be either provided together or not provided at all.

Symptom

The 'ownerId' and 'ownerIdType' fields within the Attachment Odata entity should be either provided together or not provided at all.

"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 HXM Suite

  • Attachment Odata API entity

Resolution

The backend code logs the print statement: Attachment ownerId and ownerIdType should be provided at same time, or each of them should not be provided.

Please note that if you want to associate this Attachment with the EP/MDF entity and include the fields 'ownerId' and 'ownerIdType', it is important to use the same user for consistency.

Keywords

MDF, EP, Background, Odata Entity, cannot change the attachment in UI, ownerId, ownerIdType , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , Problem

Product

SAP SuccessFactors HXM Core 2305