Question on detail function in external file templates.
Following is an extract of MT940 file and I would like to know is there any mechanism which I can use to input the value “000” after the the WXY value
Original
:86:WXY2108763823648GHY
Changed value
:86:WX0002108763823648GHY
Page 1 / 1
Hello @Ashni Nayanthara
Message codes are extracted with Ext_Payment_Util_API.Extract_Other_Info__ procedure. There is a hardcoded substring to find 3 digit from the row , see below.
message_code_ := SUBSTR(ref_section_, 1, 3);
What you can do is go to payment format per company and then find the payment method. Then go to messages codes
Add new message codes and enter transaction type.
Later go to external payment parameters and add the message code. It should work then.
Hope this helps
Hi @gumabs , Thanks for replying.
Actually, my issue was, standard template fetches prepared reference only when it is followed by ?00. Unfortunately, file send by bank does not have these value. Hence it is failed to fetch the payment prepared preference.
I was wondering whether i can input ?00 to load information from detail function.
Hi again
In my case I entered string based message codes. The system assigns transaction type automatically in that case. It is not %100 working in my case but still helpful and worth doing.
Thanks Again,
My requirement is to match the invoice the Automatically.