on 09-25-2012 8:40 PM
Hi
I am working on file to file scenario. I need to pick the comma separated file. Here the issue is description field values are coming like "PM SERVICES - ERFTHU, NE. JENMARKET"(value in double codes with commas). If i use the field separator as ,(comma) then XI treats as two field values instead of single field value.
How do i overcome this problem.
Sample file:
SA,10000105,KING,ANDERSON,"PM SERVICES - ERFTHU, NE. JENMARKET",SVGN,BNSF,ACTV,Y,ENG,G Dodge
Please suggest me how can i pick this type of file by using FCC.
Thanks
Hi,
You can use xml.enclosureSign=" and xml.enclosureSignEsc=" " in your FCC which will solve the above issue.
Best Regards,
Sagarika Mishra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
According to me the solution is to set the Text delimiter to ".
If you specify xml.enclosureSign=“ and xml.enclosureSignEsc=““, text enclosed in quotation marks is transferred unchanged and the quotation marks are removed.
If the escape character for a quotation mark (““) occurs in the text itself, it is replaced by the quotation mark during the transfer.
If this is not handle by this solution, I think its a complex issue which can be solved by using mapping.
Best Regards,
Sagarika
Hi,
If you are using fixed field length value , no need to use field separator. Below document will help you understand more .
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.