on 2012 Mar 29 10:03 PM
Hi,
I have a scenario which is running fine in production environment and there needs a urgent fix in which we need to add 2 fields in the structure.
we are testing this scenario in regression box, which is having exactly similar content conversion parameters as production. but in R environment, we are getting file which is having 2 bank lines at the end of file.
FCC Details:
Record.endSeparator '0x0D''0x0A'
Record.fieldSeparator ,
Thanks
Hamja
hi Hamja,
'0x0D''0x0A' is used for carriage return and line feed. This is used if file is to be absorbed by Windows/mainframe based system which considers 'nl' separator as only line feed without carriage return.
So if you see the file from linux based system, you may see two blank lines or it also depends on editor which you are using to see the file. What I suggest is to get the file verified by the target system team for which file is generated.
hope this helps
Ankit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are using line feed. Use the below seperator for the new line
Use Record.endSeparator = 'nl'
refer this help link
http://help.sap.com/saphelp_46b/helpdata/es/0c/4be1cb4c7c11d2a994006094b92fad/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All Unix systems follow ASCII control characters. IMO, 'nl' should be good enough. I suspect the problem could be in the editor. Can you use different editor and see the behaviour?
You might also want to see the wiki link for the control characters
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
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.