cancel
Showing results for 
Search instead for 
Did you mean: 

How do I handle the spaces in content conversion (file sender)?

Former Member
0 Kudos

Hi,

I have the following line in the input file

121996832:e.mister@email.com{SPACE}{SPACE}{SPACE}{SPACE}{SPACE}

121994536832:w.king@other.com{SPACE}{SPACE}{SPACE}{SPACE}

......


{SPACE}{SPACE} are actual spaces of course..


I want to do a content conversion, and so far I have these settings:



This doesn't seem complete because I get an error in the corresponding communication channel stating that the field names specified are not enough.

It can't be the spaces, because they get removed by default as far as I know?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182412
Active Contributor
0 Kudos

Hi Zakaria,

MAIL.fieldNames should be number,email not number:email.

Regards,

Praveen.

Former Member
0 Kudos

Really? But my fieldSeparator is : and not ,

iaki_vila
Active Contributor
0 Kudos

Hi Zakaria,

In fieldSeparator you are setting the : like the symbol in the file to separate the fields. In the fieldNames you are setting the fields to be dealt, and this parameter separate its fields always with commas

Regards.

Former Member
0 Kudos

Ah ok, weird because the documentation says something else, at fieldNames:

Converting Text Format in the Sender File/FTP Adapter to XML - Advanced Adapter Engine - SAP Library

Answers (0)