SAP Knowledge Base Article - Public

3384160 - 'Invalid bank statement number, check tag 28 or 28C' Error While Uploading MT940 Bank Statement File


Error upon uploading bank statement file in MT940 format:

'Invalid bank statement number, check tag 28 or 28C'.


SAP Business ByDesign 

Reproducing the Issue

  1. Go to the Liquidity Management work center.
  2. Go to the Inbound Files view.
  3. Click New -> Inbound File.
  4. Enter required data, including Import Format as one of the supported MT940 formats (for example, MT940 UK).
  5. Upload the respective ".txt" file in MT940 UK format.
  6. Click Start File Upload.
  7. Error is displayed:

'Invalid bank statement number, check tag 28 or 28C'


According to MT940 specification, the tag 28C is mandatory with 5n[/5n] - meaning: up to 5 digits are mandatory, plus the optional slash followed by up to 5 additional digits.

In the MT940 UK file you've attempted to upload, there are additional characters that exceed the 5 additional digits (for example, space characters), before the CRLF (Carriage Return Line Feed) line termination, in at least one of the occurrences of the 28C tag.


Open the bank statement file in a source code editor (for example, Notepad++) and remove the additional characters that exceed the MT940 specification of 5n[/5n] for all the occurrences of tag 28C.

After that, upload the file again and the bank statement should be created successfully in case there are no other errors in the file content.


MT940, CRLF, 28C, 28, bank statement , KBA , SRD-FIN-CLM , Cash and Liquity Managment , How To


SAP Business ByDesign all versions