cancel
Showing results for 
Search instead for 
Did you mean: 

How to use FCC in Receiver File Adpter

Former Member
0 Kudos

Hi All,

I have a scenario where the XML structure coming in is:

<?xml version="1.0" encoding="utf-8" ?>

- <ns:MT_PositivePayCheckData xmlns:ns="urn:sce-com:xi:fi:PositivePay">

- <Recordset>

- <Header>

<RecordType>H</RecordType>

<BANKL>133000248</BANKL>

<NAME>Southern California Ediso</NAME>

<EXTRD>20070423</EXTRD>

<EXTRT>091846</EXTRT>

<DBUPD />

<VOID>00000003</VOID>

<UNVD>00000001</UNVD>

<TOTAL>00000004</TOTAL>

<AMNT>000000000000555</AMNT>

<DECM>000</DECM>

<FILLER />

</Header>

- <Detail>

<RecordType>D</RecordType>

<BANKN>4496893413</BANKN>

<CHECF>001003</CHECF>

<CHECT>001003</CHECT>

<ZNME1>ANDREW LLOYD</ZNME1>

<AMNT>000000000000000</AMNT>

<DECM>000</DECM>

<ZALDT>00000000</ZALDT>

<VOIDR>04</VOIDR>

<FILLER />

</Detail>

</Recordset>

</ns:MT_PositivePayCheckData>

The file content conversion parameters are :

Detail.fieldFixedLengths: 1,18,13,13,35,15,3,8,2,21

Detail.addHeaderLine: 0

Header.addHeaderLine: 0

Detail.endSeparator: 'nl'

Header.fieldFixedLengths: 1,15,25,8,6,1,8,8,8,15,3,31

Header.endSeparator: 'nl'

the output file is generated is :

H133000248 Southern California Ediso20070423091846 000000030000000100000004000000000000555000

D4496893413 001003 001003 ANDREW LLOYD 0000000000000000000000000004

Now I don't want H and D to come in the starting of the string

XIer

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Hello,

If you don't want H & D then don't map the RecordType field in the target message. u won't get in the output XML. Now in conversion paramters remove the first length <b>1</b> ..

Best regards,

raj.

Former Member
0 Kudos

There is no mapping being used in IR, the file is directly being sent from source to ID. The incoming file structure has H & D, but I don't want it in the output.

XIer

prateek
Active Contributor
0 Kudos

If ur sender and receiver structures r different, then u ll have to use mapping

Regards,

Prateek