Skip to main content
Question

Using detail function in MT940

  • November 16, 2023
  • 4 replies
  • 160 views

Forum|alt.badge.img+6

Hi,

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

4 replies

Furkan Zengin
Superhero (Partner)
Forum|alt.badge.img+21
  • Superhero (Partner)
  • 694 replies
  • November 16, 2023

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


Forum|alt.badge.img+6

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.


Furkan Zengin
Superhero (Partner)
Forum|alt.badge.img+21
  • Superhero (Partner)
  • 694 replies
  • November 16, 2023

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.

 


Forum|alt.badge.img+6

Thanks Again,

My requirement is to match the invoice the Automatically. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings