on 09-20-2008 3:20 PM
Hi,
I have a problem attaching a text file in a receiver mail channel.
I use mail package, and I've created a UDF to create field content with:
for (int j=0;j<a.length;j++)
b = b + a[j] + "\n" ;
result.addValue(b);
In my receiver CC, I have configurated:
SAP XI Sample/ConvertCRLFfromToLF
mode --> LFtoCRLF
But when I open file attached by mail, it has only one line and line feed it's not correct.
How to insert correctly CR LF ?
Thanks,
cARME
I think the \n you used in the UDF should suffice the requirement. Check by removing the module..
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need CRLF at the end of every line in text file (windows end line).
I have tried
1) inserting \r\n t in the UDF and no module in CC. With this I see 0A 0A at the end of every line (it would be 0D 0)
2) inserting \n in the UDF and use module in CC to convert LF into CRLF. With this I see 0A at the end of every line.
How to do it?
Thanks,
Carme
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.