SAP Knowledge Base Article - Public

3453127 - ‘Error(s) occurred when merging the document. The return code is 107’ in purchase order output

Symptom

Purchase order output error ‘Error(s) occurred when merging the document. The return code is 107’, when signed documents (via Adobe) are uploaded into the system.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Access app Manage Purchase Order
  2. Open the PO which has status ‘Output Error’
  3. Go to Item details of the PO
  4. Open Output management tab and preview the output form

Cause

Attachments originally brings security permissions.

Resolution

It is currently not possible for customers to change the settings for PDF protection in SAP S/4HANA Public Cloud system. In addition, protected PDFs cannot be merged, it’s the intention of the protection that the PDF cannot be modified. In order to proceed with the merging, choose PDFs with no additional security settings. Originally these attachment blocks data copying at permission level.

See Also

Setting Up Output Management (1LQ) -> 6.1.3  Merging of Documents

SAP Help - Controlling the Output Relevance and Merging of Attachments

SAP Help - Adding Attachments

Keywords

merge, error, output error, MM-FIO-PUR-PO-OM, S4HC, S4_1C, S4PC, X4BC, Manage Purchase order, 1LQ, Error(s) occurred when merging the document. The return code is 107, attachment , KBA , MM-FIO-PUR-PO-OM , Purchase Order Output Management , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions