cancel
Showing results for 
Search instead for 
Did you mean: 

file content conversion

Former Member
0 Kudos

Hi All,

I am using file content converion at receiver side .my message type structure is like below

MT_sender

table1

< fileds >

</fields>

<table1>

<table2>

<fields>

<table2>

MT</sender>

then what i have to give in file ontent conversion parameter.

Regards

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

<MT_sender>

<table1>

< field1>111</field1>

< field2>222</field2>

</table1>

<table2>

< field1>333</field1>

< field2>444</field2>

< field3>555</field3>

</table2>

</MT_sender>

Using this configuration:

RecordSetStruct = table1,table2

table1.fieldSeparator = *

table1.endSeparator = ~'nl'

table2.fieldSeparator = *

table2.endSeparator = ~'nl'

you will get the following text file content:

111*222~

333444555~

I hope it will help you, Any additional clarification let me know

Former Member
0 Kudos

Hi,

For example if your structure is like this:

<MT_sender>

<root>

<Table>

<Field>a</Field>

</Table>

<Table>

<Field>b</Field>

</Table>

<root>

</MT_sender>

This configuration is for comma separated file.

In Receiver Communication channel:

Recordset Structure: root

Name Value

Details.fieldSeparator ,

Details.endSeparator 'nl'

for more information on content conversion:http://help.sap.com/saphelp_nw70/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Former Member
0 Kudos

give table1,table2

in Record set structure

HTH

Rajesh

Former Member
0 Kudos

Does you structure match this?

http://help.sap.com/saphelp_nw70/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

fieldFixedLengths / fieldSeparator and endSeparator are the minimum parameters and need to be specified.