SAP Knowledge Base Article - Public

3117307 - Error When Trying to Upload Inbound File With File Type MT940

Symptom

You are trying to upload the Inbound File XYZ (XYZ refers to the Inbound File ID) with file type MT940, but when you click on Start File Upload button, the error "An exception was raised" appears.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Liquidity Management work center.
  2. Go to the Inbound Files view.
  3. Search for the Inbound File XYZ.
  4. Click on Start File Upload button.

Error message "An exception was raised" appears.

Issue can also be reproduced with the steps below:

  1. Go to the Liquidity Management work center.
  2. Go to the Inbound Files view.
  3. Click on New button, then select Inbound File.
  4. Select the relevant Bank ID and Company ID
  5. Select the File Type as Bank Statement.
  6. In the Import Format field, MT940.
  7. Click on Add button, then select File.
  8. Browse the file in your device.
  9. Click the on Add button.
  10. Click on Start File Upload button.

Same error message appears.

Cause

The root cause of this error message is a data overflow that happens at mapping the values of Bank Account Holder Name field. Here the following text is separated by a question mark ("?") with two identifier digits, followed by the content, until the next separator (another question mark or a new line that starts with a colon).

If the file you provided contains a collection of more than 80 characters between the "?33" and the next "?", the error will occur since this field is limited to 80 characters.

Resolution

The logic will be enhanced in the future, in the meantime you can manually delete part of the string so that it has 80 characters or less. This will avoid the overflow and the upload will be successful.

Keywords

Inbound File, Bank Statement, upload, start file upload, exception, an exception was raised, MT940 , KBA , AP-PAY-GLO , Cross-Country Extensions , How To

Product

SAP Business ByDesign all versions