on 2022 Aug 05 4:53 AM
Hi christian.georgi
I have seen your answers on file format. I thought you could help me out on this.
Will you be able to answer below question?
Thanks in advance.
I have a SAP BODS Pipeline setup to extract a table from Source to destination.
Source Data:
Destination File:
Invoice Address field is being truncated and starting as new line in destination which is creating problems. How can I handle this.. File is pipe separated and below is the simple pipeline setup
But when it is in BODS server the file looks good, but when I push to Azure Blob or send email of the same file, this problems are existed.
BODS Pipeline:
Request clarification before answering.
Your source data has "newline" character(s) embedded within INVOICE_ADDRESS.
Option 1: If you don't want them in the destination, you can remove them in column mapping using the replace_substr function. For example: replace_substr(replace_substr(INVOICE_ADDRESS,chr(10),''),chr(13),'')
Option 2: If you need to retain them in the output, you can use text delimiters in file format. This will cause all character columns to be wrapped in the delimiter specified (double quotes in the example below). Note that you should then add column mapping to all character columns to "escape" any double quotes in the source data by doubling them up (ie prefixing each occurrence with another double quote). For example replace_substr(INVOICE_ADDRESS,'"','""').
Note too that whatever application is receiving the file has to support this methodology.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.