cancel
Showing results for 
Search instead for 
Did you mean: 

MT940 tag 25: IBAN number + currency

Former Member
0 Kudos

Hello,

we have now a format change for MT940 tag25 where the IBAN is put together with the curreny. Normally you would put it into the alternative account number and everything is fine, BUT the length of that field is only 24 characters and the value delivered in the MT940 tag 25 is longer than that. Any idea how to solve this?

Thanks in advance and best regards

Melanie

Accepted Solutions (1)

Accepted Solutions (1)

former_member194797
Active Contributor
0 Kudos

Hi,

use the user exit for replacing the bank account in :25: (in IMG: "Develop Enhancements for Elec.Bank Statement (Format Spec.)).

Use enhancement FEB00004 (Raw data processing, user exit SWIFT MT940)


and create a function like this:

(not tested with this code, but tested with my code for similar requirements)

FUNCTION Z_EXIT_RFEKA400_001.

*"----------------------------------------------------------------------

*"*"Interface locale :

*"  TABLES

*"      T_RAW_DATA STRUCTURE  RAW_DATA

*"  EXCEPTIONS

*"      ERROR_OCCURED

*"----------------------------------------------------------------------

  LOOP AT T_RAW_DATA.

    IF T_RAW_DATA(4) = ':25:'.

*     (your code for replacing data in :25:)

*      something like:

*      IF ...

*        MOVE xxxx TO T_RAW_DATA+4.

*      ENDIF.

      MODIFY T_RAW_DATA INDEX SY-TABIX.

    ENDIF.

ENDLOOP.

ENDFUNCTION.

Former Member

Answers (0)