Skip to Content
avatar image
Former Member

MT940 tag 25: IBAN number + currency

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 10, 2014 at 10:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded