cancel
Showing results for 
Search instead for 
Did you mean: 

File Content Conversion Sender endseparator

brian_briones
Participant
0 Kudos

Hi gurus,

i have the next scenario.

the Cchannel is configured :

the file is the next one:

and the problem is that in the monitor reaches only the first line of field :86:

What parameter should I add to get all the text for the key :86: ?

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Brian,

Are you using as any line seperator 'nl' in the content conversion?

If you have file with mulple line for same row, i believe you can read in same segment with complex content conversion (struct2XML). you need to read in one common structure and convert in mapping.

regards,

Harish

brian_briones
Participant
0 Kudos

HI hirish,

Thank again .

dont have the (nl) how separator, for this one I question.. why the cc separate the line?..

former_member184720
Active Contributor
0 Kudos

AFAIK, File adapter treats every newline as a separate record.

The same problem discussed here..

http://scn.sap.com/thread/2090439

But i would just give a try by configuring N86.endSeparator as '0x0D' or '0x0A'


Answers (1)

Answers (1)

Former Member
0 Kudos

FIrst you should define a line separator like 'nl' in your XML structures.

File adapter use parameter endseparator to break lines.

Using a line separator in structure N86 the issue would continue. Define another structures in recordset structure like N86.code and N86.information_account_owner.

now you would have two recordsets with two end separators. you could define two different separators. You have concatenated in a field several values that can be handled different fields.

Other ways is to made a complex content conversion with struct2XML