SAP Knowledge Base Article - Public

3582496 - Error When Adding Attachments to Account Object Using Web Service

Symptom

An error occurs when trying to upload a new attachment for an existing Account via web service.

The error message is:
 "Only list complete transmission (LCTI) allowed for CUSTOMER-ATTACHMENT_FOLDER-DOCUMENT - LIST_CTI001".

Environment

SAP Business ByDesign.

Reproducing the Issue

  1. Go to the Application and User Management work center and then Communication Arrangements view.
  2. Search for affected Communication Arrangement.
  3. Select it and go to the Technical Data tab.
  4. Select and choose the service Manage Accounts.
  5. Click Download WSDL.
  6. Execute the payload for the web service of managecustomerin1.

Payload:
<Customer actionCode="06">
  <InternalID>123</InternalID>
  <AttachmentFolder DocumentListCompleteTransmissionIndicator="false" actionCode="06">
    <UUID>1234</UUID>
    <Document actionCode="01">
      <VisibleIndicator>true</VisibleIndicator>
      <CategoryCode>2</CategoryCode>
      <TypeCode>ABC</TypeCode>
      <MIMECode>text/xml</MIMECode>
      <Name>AccountUpdateAttachment.xml</Name>
      <AlternativeName>Account Update</AlternativeName>
      <Description languageCode="EN">Copy of XML Uploaded</Description>
      <FileContent actionCode="01" mimeCode="text/xml">
        <BinaryObject>XYZ</BinaryObject>
      </FileContent>
    </Document>
  </AttachmentFolder>
</Customer>

Now in case you change the DocumentListCompleteTransmissionIndicator to True, no error appears but all the attachments are replaced by the new one.

Cause

The error occurs because the DocumentListCompleteTransmissionIndicator is set to false. However, if this is changed to true, it replaces all existing files attached to the account.
DocumentListCompleteTransmissionIndicator=true means always for all the documents, it replaces all existing files attached to the account.

Resolution

Currently, it's not possible to perform partial uploads related to the Attachments in SAP Business ByDesign. It's only possible to replace all the attachments.
This is the expected system behavior. 

See Also

Keywords

Error, upload, new attachment, web service, DocumentListCompleteTransmissionIndicator, replace, existing files, account, managecustomerin1, Only list complete transmission, LCTI, allowed for, CUSTOMER-ATTACHMENT_FOLDER-DOCUMENT - LIST_CTI001. , KBA , SRD-CRM-ACC , Account Management , AP-RC-DOC , Document Centric Application Service , How To

Product

SAP Business ByDesign all versions