on 11-04-2008 8:51 AM
Hi Experts,
The file that we generate has a carriage return at the end.
Is there any way in which we can remove this carriage return (line feed) from the file?
The FCC parameters used at our end are as below:
structure.filedNames:
structure.fieldFixedLengths:
structure.fixedLengthTooShortHandling: Cut
Kindly tell us a solution ASAP.
Thanks & Regards
Dhwani
Hi,
since I cannot upload a document please, contact me directly.
Regards,
Ralph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Let me elaborate on my query
Consider that the files output looks like below:
12 34 45 545 5454 UL
23 33 43 434 4545 FG
45 44 44 586 6535 GM
Now there is an extra line(Carriage Return) getting inserted after the last line 45 44 44 586 6535 GM which is not required at our end.
The cursor of the file instead of stopping on the last character M, points to the next line.
Can you please suggest how to remove this extra line from the files.
I dont understan how will remove context help in this case.
Regards
Dhwani
Hi Dhwani,
do you use structure.endSeparator with the value 'nl'? This would add a line feed to every last column of a dataset. 'nl' is the default value.
If not, try to use structure.fieldSeparator with a semicolon as value in FCC. This adds a semicolon to the end of every column except the last. Probably the last line feed disappears.
Regards,
Ralph
Hey Guys,
Closing this thread......and have concluded on the above issue.
SAP has said that it is not possible to remove a carriage return from the file, that is a standard behavior of the file adapter which cannot be avoided in any way.
In such case we tried uploading the file at the receiver R/3 and ensured that it accepts the file with a carriage return. this is the only possible solution.
Cheers
Dhwani
Hi,
I would like to know a few things to clarify your requirement..
Can u send me the details about required output and the current output u r getting ..if possible kindly explain taking a small example.
Still I feel that you need to use remove context in your mapping..
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.