SAP Knowledge Base Article - Public

3598511 - Error in Importing Bank Statement through API -BankStatmentPost_In, bank number length issue

Symptom

  • While importing bank statement through API -BankStatmentPost_In, an error is encountered.
  • The error message states: value violates facet information 'maxlength=18'".
  • This issue arises because bank accounts  are 24 digits long, not adhering to the IBAN standard.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Attempt to import a bank statement through API -BankStatmentPost_In.

Resolution

Maximum Character Length: The PartnerBankAccount parameter can comprise values with a maximum character length of 18.

If the partner bank account number is longer than 18 characters, you should use the PartnerBankIBAN parameter instead of PartnerBankAccount.

Detailed information is found here: https://help.sap.com/docs/SAP_S4HANA_CLOUD/4f22209d1f5d4bd79c4a55017608b51b/8d5436b4635e49d38a7c1bc83dd4bd26.html?locale=en-US

Keywords

API -BankStatmentPost_In, Morocco, bank statement, import, maxlength=18, error, Bankkontonummer, überschritt, länger als , KBA , FI-BL-PT-BA-2CL , bank statement (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions