SAP Knowledge Base Article - Public

2644809 - How to Properly Setup a Communication Scenario and Communication Arrangement for Web Service ManageAttachmentFolderIn

Symptom

You want to set up the web service ManageAttachmentFolderIn, however, in some cases, the attachments do not retrieve the proper BinaryObject from the attachments.

Environment

  • SAP Business ByDesign
  • SAP Hybris Cloud for Customer

Reproducing the Issue

You have created a communication scenario for web service ManageAttachmentFolderIn and setup its Host Object as CUSTOMER, now you are trying to retrieve the attachments for another object, such as Materials, and the binary objects are not returned properly.

Cause

When a Communication Scenario is created for the web service ManageAttachmentFolderIn, a host object needs to be defined, then, within this communication scenario, only this object will return proper data.

Resolution

Create the Communication Scenarios and Arrangements for each host object that you intend to return data from attachments using web services.

See Also

 Blog: Read and Write ByDesign Attachments using Web Services

Keywords

Attachments, Web Services , KBA , AP-RC-DOC , Document Centric Application Service , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions