cancel
Showing results for 
Search instead for 
Did you mean: 

FILE to file scenario

Former Member
0 Kudos

hi people,

i want to create a scenario which can convert ml file into file(comma separated )form.but i don't getting the answer .

i don't know what parameters should enter in <b>contact conversion parameters</b>

in receiver communication channel

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Hello,

Could you give us the XML structure and the output u needed, so that it could be easy for us to suggest.

Best regards,

raj.

Former Member
0 Kudos

this is the input

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

<ns0:mt_sample1 xmlns:ns0="http://sample">

<record>

<add>datia</add>

<name>honey</name>

</record>

</ns0:mt_sample1>

i want the output

<b>datia,honey</b>

Former Member
0 Kudos

so wat parameters should i enter in

contant conversion parameters.

justin_santhanam
Active Contributor
0 Kudos

Honey,

Give Recordset Stucture as : record

record.fieldSeparator ,

record.endSeparator 'nl'

Try the above and let us know the proceedings.

Best regards,

raj.

Former Member
0 Kudos

hi raj,

i did the same .

i gave the <b>recordfieldnames add,name</b> also

but the output is not coming.

justin_santhanam
Active Contributor
0 Kudos

Honey,

In receiver file adapter there is no need for fielnames option. Wht error u are getting?

Best regards,

raj.

Former Member
0 Kudos

7/4/07 7:10:21 PM 1bfc2e502a3411dc91b7000ffe2ae3d4 <b>Channel has not been correctly initialized and cannot process messages</b>

Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing

Former Member
0 Kudos

Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Channel has not been correctly initialized and cannot process messages

justin_santhanam
Active Contributor
0 Kudos

Honey

Did u gave exactly in the parameter tab as record.fieldSeparator ,

Best regards,

raj.

former_member184619
Active Contributor
0 Kudos

Hi Honey,

Check these links and verify what u are missing

File-XI-File scenario and complete walk through for starters (Part1)

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

Introduction to (File-XI-File) scenario and complete walk through for starters (Part2)

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Sachin

Former Member
0 Kudos

we have 2 giv length also????

justin_santhanam
Active Contributor
0 Kudos

Honey,

Either you have to give fixedlengths or fieldSeparator, hence give fieldSeparator alone ,its enough.

Best regards,

raj.