cancel
Showing results for 
Search instead for 
Did you mean: 

BAI2 parsing file

Former Member
0 Kudos

Hi Folks,

I am getting a BAI2 file for the Bank statements in which a bank account is coming in the 03 key line like 03,4427111111,USD/ where 4427111111 is the bank account no.

I need to define my mapping in such a way that if the bank account no is this, it should go to Receiver 1 and for some bank accounts it should go to receiver 2.

It is one sender to 2 receivers file scenario.

But the problem is how to do the mapping of this type of file so that I can read the bank accounts and then send the complete file to the receiver.


File is hereby attached.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190624
Active Contributor
0 Kudos

Hi Monika,

You can use standard receiver determination rule like ,

Xpath (pointing to the XML account number field ) = 4427111111 then Receiver 1 .


(Or)


you are not converting flat file to XML ? If yes , then you have to use extended receiver determination  , with Java mapping to read flat file.


Thanks

Hari.

Former Member
0 Kudos

Hi Hari,

Thanks for the reply.

The flat file is not getting converted into xml since I need to send the same flat file as it is to the receiver party.

How to proceed in this case as I do not know to write JAVA code.