on 09-10-2014 10:09 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THX!
User | Count |
---|---|
92 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.