Symptom
- Maintain a 11 character swift code for bank master data; entering more than 11 characters shows "Property '&' at offset '&' has invalid value '&'", and entering fewer than 8 characters does not raise an error.
- Setting the SWIFT/BIC code to exactly 11 characters is by default doable by SAP Public Cloud or not?
- Error message SWIFT code DRESQ1RTS must be of length 8 or 11
Environment
Product: SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Manage Banks – Master Data app (F6437).
- Create a new bank and enter a SWIFT/BIC with more than 11 characters; attempt to save and observe the error message.
- Enter a SWIFT/BIC with fewer than 8 characters; attempt to save and observe that no error is raised.
Cause
The SWIFT/BIC field is excluded from the FCLM_BAM_BANK_CUST_VALIDATION BAdI and there is no BAdI implementation available to validate SWIFT/BIC length; therefore, enforcing an exact length (for example, exactly 11 characters) is not supported.
Resolution
- By default the system accepts 8 or 11 characters and rejects values longer than 11.
- SWIFT code "Max Length=11".
- Use the Manage Banks – Master Data (F6437) app to maintain SWIFT/BIC.
- There is no available BAdI to implement custom length validation for the SWIFT/BIC field in SAP S/4HANA Cloud, Public Edition.
- If your business requires enforcing exactly 11 characters, submit an improvement request via SAP Customer Influence for SAP S/4HANA Cloud, Public Edition.
See Also
Keywords
swift, bic, 11 characters, exact length, length validation, manage banks, f6437, bank data, validation badi, FCLM_BAM_BANK_CUST_VALIDATION, error Property at offset has invalid value, s/4hana cloud public edition, bank identifier code, field validation limits , KBA , CA-BK-BNK-2CL , Bank Master Data , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public