SAP Knowledge Base Article - Public

3520750 - Error Message: "Length of IBAN not valid" When Updating Supplier Bank Details in SAP Business ByDesign

Symptom

When updating the bank details for a supplier in the Supplier Master Data, the following error is encountered: "Length of IBAN not valid."
This issue occurs even though the IBAN is valid when verified externally.

Environment

SAP Business ByDesign 

Reproducing the Issue

  1. Navigate to Supplier Master Data in SAP Business ByDesign.
  2. Select a supplier and go to the Financial Data tab.
  3. Under the Bank Data subtab, input the following details:
    1. Bank Country/Region: A country (e.g., GB - United Kingdom).
    2. IBAN: An IBAN from a different country (e.g., CH - Switzerland).
  4. Attempt to save the changes.
  5. The system displays the error: "Length of IBAN not valid."

Cause

IBANs (International Bank Account Numbers) follow country-specific rules, with each country having a unique IBAN structure and length. For example:

  • GB (United Kingdom) IBANs have a length of 22 characters.
  • CH (Switzerland) IBANs have a length of 21 characters.

The system validates the IBAN against the country associated with the bank. If the IBAN belongs to a different country than the one specified for the bank, or if the IBAN length does not match the expected format for that country, the error will be triggered.

Resolution

To resolve this issue, ensure the IBAN corresponds to the country of the bank:

  1. Use the correct IBAN for the bank's country:
    • If the bank is located in a specific country (e.g., GB), the IBAN must comply with the IBAN structure for that country (e.g., GB IBAN with 22 characters).
  2. Verify and update the bank’s country:
    • If the IBAN is from another country, ensure that the bank's country is correctly set to match the IBAN (e.g., use a CH IBAN for a Swiss bank).

By aligning the IBAN with the country of the bank, the system will accept the IBAN without triggering the error.

Keywords

IBAN, Length of IBAN, Supplier Bank Data, Bank Account, SAP Business ByDesign, Error Message, Country Code Mismatch, Bank Country, IBAN Structure. , KBA , AP-PAY-GLO , Cross-Country Extensions , How To

Product

SAP Business ByDesign 2408