‎2006 Oct 09 8:28 AM
I'm using
OPEN DATASET l_filepath FOR INPUT IN TEXT MODE ENCODING UTF-8 IGNORING CONVERSION ERRORS.
to read a file in UTF-8 in a non-unicode SAP system.
I need to know is there any consequences if I use the IGNORING CONVERSION ERRORS? Because if I not using this code, there will be runtime errors.
Thanks for your opinions.
‎2006 Oct 09 9:18 AM
hi..
IGNORING CONVERSION ERRORS. - > this will by pass the conversion errors.
rgds
anver
‎2006 Oct 09 8:43 AM
you can use the IGNORING CONVERSION ERRORS addition to make the system suppress conversion errors at runtime when reading or writing to a file. In general, reading or writing to a file causes a runtime error, unless this file has already been opened using an OPEN DATASET statement.
‎2006 Oct 09 9:14 AM
So the system will just bypass the conversion error without showing any error right?
‎2006 Oct 09 9:18 AM
Your understanding is right Irene.
Kind Regards
Eswar
‎2006 Oct 09 9:18 AM
hi..
IGNORING CONVERSION ERRORS. - > this will by pass the conversion errors.
rgds
anver
‎2006 Oct 09 9:28 AM
If I use this IGNORING CONVERSION ERRORS, the dataset that I open will be still in codepage 8600 without convert to codepage 4110 (in thai) right?
‎2006 Oct 09 9:44 AM
Am not sure on this, will personally check and let you know.
Kind Regards
Eswar
‎2006 Oct 09 10:55 AM
Thanks for your help first. If you found the results, pls let me know as I need to convince my boss.
‎2006 Oct 09 11:24 AM
Sorry Irene, i coudlnt simulate the same on my system. You can go ahead with IGNORING CONVERSION ERRORS, if itz ok with data loss. I mean the Thai Characters coming will not be stored in SAP the same way right.
Kind Regards
Eswar