SAP Knowledge Base Article - Public

3051223 - Binary Content for Word Document is Missing in Attachment Collection of any Object


You are doing Odata query to get document (attachment) details of certain objects but in the response, the binary content is missing for word documents where for Images, the binary content is available in the response


SAP Sales Cloud

SAP Service Cloud

Reproducing the Issue

Below is a sample query,

To query a Service Ticket:$filter=ID eq 'ABC'

To query the attachment of the service ticket:'Object ID')/ServiceRequestAttachmentFolder






“DocumentLink” property has the link to download attachment. Using the link, download the attachment and if the attachment is empty then binary will not have content.

Document link you can find in the response of quering the attachment (send link as above)

Sample document link:

<d:DocumentLink>'Object ID 1')/ServiceRequestAttachmentFolder('Object ID 2')/Binary/$value</d:DocumentLink>


This is expected system behavior


 attachment, binary, document link , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem


SAP Cloud for Customer core applications all versions