Validating the country code in the field 77B of MT103 message for TIBCO(R) Adapter for SWIFT.

Validating the country code in the field 77B of MT103 message for TIBCO(R) Adapter for SWIFT.

book

Article ID: KB0094247

calendar_today

Updated On:

Products Versions
TIBCO Adapter for SWIFT -
Not Applicable -

Description

Resolution:
Description
========================
As SWIFT standards, the field 77B of MT103 has the following format rule:
---------------------------------
FORMAT
Option B 3*35x (Narrative)
In addition to narrative text, the following line formats may be used:
Line 1 /8a/2!a[//additional information] (Code)(Country Code)(Narrative)
Lines 2-3 [//continuation of additional information](Narrative)
---------------------------------

Format confirmed by SWIFT support. SWIFT only validates the first format “3*35x” and does not validate the second format. But for some special customer, who wants to validate the country code in the second format “Line 1 …” we supply the following workaround to validate the country code.

Environment
==========
All 5.x versions
The component is BW Plugin for SWIFTNet - FIN

Resolution
========

1). Set up a BW process and parse the MT103 message with SWIFTNet-FIN Parser.

2). Set some conditions in Map Data activity then pick out the country code from the 77B field and validate it with the CT.dat file. For details, please refer to the attached sample project.

The following is the explanation for the sample project MT103.zip.
- This sample uses SWIFT 2010 Standards and SWIFT adapter 5.8.0.
- Need to change the global variable “Loc” as your own when run this project.
- MT103.txt is a sample message.
- CT.dat is not an official file and just a sample, which need customer to download from SWIFT website.

Attachments:
==========
File MT103.zip

Issue/Introduction

Validating the country code in the field 77B of MT103 message for TIBCO(R) Adapter for SWIFT.

Attachments

Validating the country code in the field 77B of MT103 message for TIBCO(R) Adapter for SWIFT. get_app