SAP Knowledge Base Article - Public

3327442 - Binary not Returning Properly When Querying a BO via Web Service

Symptom

After executing a Query in a BO (e.g Lead) via a custom web service and taking the Attachment UUID, the system does not return the binary data in Base64 when executing the service ManageAttachmentFolderIn.

Environment

SAP Business ByDesign 2302 and higher.

Reproducing the Issue

  1. Query Lead using ID with the custom web service and obtain Attachment UUID.
  2. Query Attachment UUID using ManageAttachmentFolderIn.
  3. Response should provide binary data in Base64 which can be decoded.

Cause

The issue might be related to the access restrictions of the User.

Resolution

To get an user with the correct access rights, you have to follow the guidance provided in the blog available in the See Also section, where it mentions the Creation of a Communication Scenario for the correct host BO (e.g Lead) Creation of Communication Arrangements for the scenario

See Also

Read and Write ByDesign Attachments using Web Services

Keywords

Custom, Webservice, web service, binary, Base64, Not working properly, Not returning, Response, ManageAttachmentFolderIn, Attachment UUID, Query. , KBA , AP-RC-DOC , Document Centric Application Service , How To

Product

SAP Business ByDesign all versions