on 02-15-2007 12:26 PM
Hi,
I'm trying to get information from an IDoc into the "Content" tag of the Mail Package structure. The format of the content should be a few values separated by semicolons and then "End Of Line" character after each line of values. Ex.
<Content>VAL1;VAL2;VAL3 "EOL" VAL4;VAL5;VAL6 "EOL" VAL7;VAL8;VAL9</Content>
The semicolons can easily be created using the concat function, but how do I get the EOL character in there so that the end result of the content attachment out of the Mail adapter becomes:
VAL1;VAL2;VAL3
VAL4;VAL5;VAL6
VAL7;VAL8;VAL9
So, in other words the result should be CSV with EOL characters.
Solutions that work will be highly rewarded!!
Thanks,
Mattias
write a simple UDF...
the code in it would be just one line...
return (""+ ((char)10) );
i am assuming you want the "new line" at the end..right ?
for new line it is "((char)10)"...for carriage return it is "((char)13)"...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.