cancel
Showing results for 
Search instead for 
Did you mean: 

FCC Parameters are required in the Receiver File Adapter

Former Member
0 Kudos

Hi ,

Sorry for posting this question again.. my Structure is

MT_CADVICE_STRING

. . Batach -


1:Unbounded (Node)

. . .Header_String -


1:1

. . .Line_Item -


1:Unbounded (Node)

. . . .LineItem_String -


1:1

for this structure I'm geting data in the XML format.. .. my scenario is simple File to File scenario.. now i want to convert this XML to a normal Text file by using FCC in the Receiver file adapter..

and in the Receiver side i want the file in the bellow format: (each field i want to get in the separate line but at presnt I'm getting the continution of all lines I'm not getting the data in a separate lines..)

Header_string

LineItem_String

LineItem_String

Header_String

LineItem_String

so, any abody can help on this...

And in the Receiver Communication channel i keep the FCC parameters like as bellow :

RecordsetStructure : Batch,LineItem

Batch.fieldSeparator: 'nl'

LineItem.fieldSeparator: 'nl'

Batch.endSeparator: 'nl'

LineItem.endSeparator: 'nl'

For more information.. My source file is like bellow

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

- <nr1:MT_CADVICE_STRING xmlns:nr1="urn:Test.com:SD:CAdvice">

- <Batch>

<Header_String>1 B 1110300014200804108218 36892.80 03 10.000 10.000 0.00 0.00 008000021720080410558000.00 91958.40 649958.40 0.00 649958.40 2678.40 1000003461100000346110000034611000003461123456 18 18 0.00 $</Header_String>

- <LineItem>

<LineItem_String>2 B 1110300014 1 000000000001234567000000000001 5.000 0.00 45000.00 10800.00.00 16.00 279000.00 0.00 rcl/ML0080200804100000000357 200804100.00 01 02 000000002.00 860.13321.00 $</LineItem_String>

</LineItem>

- <LineItem>

<LineItem_String>2 B 1110300014 2 000000000001234567000000000001 5.000 0.00 45000.00 10800.00.00 16.00 279000.00 0.00 rcl/ML0080200804100000000357 200804100.00 01 02 000000002.00 860.13321.00 $</LineItem_String>

</LineItem>

</Batch>

</nr1:MT_CADVICE_STRING >

Regards

Jain

Accepted Solutions (1)

Accepted Solutions (1)

former_member190389
Active Contributor
0 Kudos

Remove Line Item in FCC only Batch is sufficient

RecordsetStructure : Batch

Batch.fieldSeparator: 'nl'

Batch.endSeparator: 'nl'

Former Member
0 Kudos

Hi Progirl,

i removed that lineItem in the FCC parameters.. even though.. all the data was cooming continiues ly.. with out any line sepeartor.. .. but each header filed and each line item i want in a separate new line

any suggestion wilbe highly apriciated..

regards

Jian

former_member190389
Active Contributor
0 Kudos

I am sorry i missed the Line Item tag in your structure..Your previous congiguration was proper but what exactly is the problem with it??

former_member190389
Active Contributor
0 Kudos

If you can change your target structure,Remove the Line Item Tag from it and set the occurence for Lineitem_sting as 0..unbounded.

then use the configuration i gave you earlier

Answers (2)

Answers (2)

Former Member
0 Kudos

Issue Was Solved

Former Member
0 Kudos

Hi jain

Provide as below definitely it will work,

RecordSet Structure : batch,Line_Item,LineItem_String

batch.fieldSeparator --- 'nl'

Line_Item.fieldSeparator -


'nl'

LineItem_String.fieldSeparator --- 'nl'

All your fields will come in a separate line.

Regards,

Sasi

Edited by: sasitharan on Jul 28, 2008 11:36 AM