on 08-13-2013 2:13 PM
Hi
I am using content conversion at the receiver channel. All is fine with the records being written into the file.
However one additional blank line gets written at the end of file (if file is checked in notepad / notepad++)
The client does not accept this and needs a solution.
Please can the experts suggest what can be done to avoid this and make the cursor stay at the end of last record
The content conversion definition is as follows
ignoreRecordsetName | true |
DT_XXXX.keepIncompleteFields | YES |
DT_XXXX.fieldNames | Field1,Field2,Field3,Field4,Field5 |
DT_XXXX.fieldSeparator | , |
DT_XXXX.missingLastFields | add |
DT_XXXX.endSeparator | 'nl' |
The output when opened with notepad is as below
Row1
Row2
Row3
| (this pipe represents the cursor at the start of the blank line)
Hi Giresh,
what is the file type you mentioned in the Processing parameters. if its Text then change it to Binary and see the magic .
Cheers
Hidayat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Giresh,
Please try '0x0a' for endSeparator . It worked for me .
Regards,
Rudra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Giresh,
Use endSeparator = '0' it will resolve your issue.
Regards,
Sriprasad Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Giresh,
You can try to create one extra row in mapping and populate a backspace ('0x08') in the first field and not populate other fields.
It may work!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
|
http://scn.sap.com/thread/3173385
http://scn.sap.com/thread/445502
http://scn.sap.com/thread/106907
http://scn.sap.com/thread/1356057
Message was edited by: Rodrigo Alejandro Pertierra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.