SAP Knowledge Base Article - Public

3836870 - Bank Statement transfer fails due to "Value is longer than the maximum permitted length 55" error - SAP S/4HANA Cloud Public Edition

Symptom

  • When transferring bank statements in CAMT.053 format to SAP S/4HANA Cloud Public Edition using the Bank Statement - Post API(BankStatementPost_In), the transfer fails with the following error message in the Message Monitoring (SOAP Error Log) app:
    • Value is longer than the maximum permitted length 55.
  • As a result, the affected bank statement is not successfully transferred to SAP S/4HANA Cloud Public Edition.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Send a CAMT.053 bank statement to SAP S/4HANA Cloud Public Edition via the Bank Statement - Post API.
  2. Open Message Monitoring (SOAP Error Log) and observe errors such as "Value is longer than the maximum permitted length 55" 

Cause

  • The value provided for BusinessPartner_GFN exceeds the maximum permitted length of 55 characters defined in the API structure.
  • In the CAMT.053 bank statement data, the affected value originates from the <Nm> element under the following XML hierarchy:
    <RltdPties> → <Dbtr> → <Pty> → <Nm>
  • The corresponding API field is defined with a maximum length of 55 characters.

Resolution

  1. Review the CAMT.053 bank statement data and identify the business partner name in the <Nm> element under <RltdPties> → <Dbtr> → <Pty>.
  2. Check the value mapped to BusinessPartner_GFN in the API request.
  3. Ensure that the value does not exceed 55 characters.
  4. If the value exceeds the limit, correct or shorten it in the source data while preserving the necessary business information and complying with applicable business requirements.
  5. Resend the corrected bank statement using the Bank Statement - Post API.
  6. Open the Message Monitoring (SOAP Error Log) app and verify that the length-validation error no longer occurs.

If the issue persists, review the actual API request payload and the corresponding error details to identify any remaining field-length violations.

See Also

Overview | Bank Statement - Post | SAP Business Accelerator Hub

Keywords

CAMT.053, Bank Statement - Post, Message Monitoring, SOAP Error Log, value longer than 55, PaymentTransactionCode missing, BusinessPartner_GFN, RltdPties Dbtr Pty Nm, external transaction code, PMNTMCRDPOSP, PMNTRRCTESCT, SSCUI 101024, Make Global Electronic Bank Statements, Manage Incoming Payment Files, bank statement import failure , KBA , FI-BL-PT-BA-2CL , bank statement (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions