on 04-01-2019 4:38 PM
Hi,
I need to replace the ASCII linefeed command to carriage return and line Feed. I do a replace_substr as following regarding to https://launchpad.support.sap.com/#/notes/2007254:
replace_substr(XXXXXXXXXXXXXXX.Data, chr(10) , chr(13)chr(10))
In validation, it says: Invalid expression syntax line:1, char:54, <chr> in <Data> mapping expression
Any Ideas?
Thanks for the advice with the '||' this is syntactically correct. Unfortunately, there was an erro saying <chr> is not accessible, check dataflow.
Anyway, I managed to get the linefeed with onboard utilities. My Source was an odata service with one block of data. I managed to split the odata service into entries (each entry per line in Data) so, the tofile target can manage the line as new entry. Therefore the ds engine places a crlf itself after the entry. so there is no need for a replace logic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try concatenating the CRLF? Like this: chr(13)||chr(10)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.