SAP Knowledge Base Article - Public

1888056 - Error When Processing MT940 Bank Statement File - File Contains Invalid Content

Symptom

You try to upload a MT940 Bank Statement.
An error message appears after starting the upload: 'Error in processing, file contains invalid content'.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Liquidity Management work center.
  2. Go to the File Management view and select the Inbound Files sub-view.
  3. Press New and select Inbound File.
  4. Under Attachments click Add and select File.
  5. Add the file and pressStart File Upload.

You receive the error message: 'Error in processing, file contains invalid content'.

Cause

Information in the TAGS is not consistent.

Resolution

The MT940 file is a text file that containing multiple text lines. These text lines describe the records for the resulting bank statement.

The following rules apply

  1. Each record must be preceded by a TAG (: XX:).
  2. A file can include one or more messages.
  3. A message comprises a Bill.
  4. A message can have multiple: 61: and: 86: records include.
  5. The SAP MT940 format consists of a sequence of fields defined as follows.

    Tag Type                          Meaning

 

 

:20:

  Transaction Reference

:25:

  Account Specification

:28:, :28C:

  Transcript Information /Statement Number/Sequence Number

:60F: :60M:

  Initial Balance

:61:

  Statement Line(One per transaction)

:86:

  Definition /Information to Account Holder

:62F:, :62M:

  Closing balance

Sample Format

  1. :20:20130305
  2. :25:200771/61999318
  3. :28C:22063/01
  4. :60F:D020305GBP3701098,07
  5. :61:0203050305DX72,25NCHK701099//
  6. :86:999/CHEQUE 701099
  7. :61:0203050305DX273000,00FTFRNONREF//
  8. :86:999/00TFRNEW TREASURY DEPOSIT 72264933
  9. :61:0203050305RCX1,50FREVNONREF//
  10. :86:999/00REVREVERSAL
  11. :62F:D020305GBP3823849,93

Keywords

Error MT940 Bank Statement, File Contains Invaild content , KBA , AP-PAY-BS , Bank Statement , How To

Product

SAP Business ByDesign all versions