cancel
Showing results for 
Search instead for 
Did you mean: 

Simple FCC for Sender and Recevier

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

I just created one FCC(tab separated) to FCC(comma separated) scenario.

I have 3 records in the file,sender FCC creates XML with 3 records for mapping but receiver FCC creates only first element of each row in a single row

Source file:

Message Mapping: (I created mapping though Mapping is not required as both sender and receiver are same structure)

Sender FCC:

Receiver FCC:

Out put file:

Regards,

Mani

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Manikandan,

Things are not so simple as it seems, when you use the sender FCC, the channel will create something like this:

DocumentName

--RecordsetName

---RecordsetStructure

-----RecordsetFields

However, in the receiver FCC it could only support up to three levels

e.g

RecordsetName

--RecordsetStructure

----RecordsetFields

but since you are using a one-to-one mapping, it sees it at 4 levels (same as sender structure).

See the prerequisites: Converting XML in the Receiver File/FTP Adapter to Text Format - Configuring the File/FTP Adapter in...


  The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes.

If you can remove RecordsetName or just reduce the message type by one level, then your receiver fcc will work

Hope this helps,

Mark

0 Kudos

Dear Manikandan,

Just add field separator like in sender file channel and give the value as '0x09' the hex code for tab and it will work.

Mukheed