on 09-14-2021 9:03 AM
Hi Folks,
I need your assistance. I have a file scenario, where I read a flat file (fixed lengh) from filer using MTB and send the data via ABAP Proxy to ERP system.
The file itself, seems to be encoded in UTF-8. However in the first record of the file, the first field which has a fixed lenght of 3 is always shifted one digit to the right, see picture.
I think this is because of the Byte Order Mark. My channel config is a follows:
is there any solution to remove the byte order mark?
i havent found one in SAP community.
Thanks
If you use the file adapter, you could remove the BOM with a line command.
I found this for UNIX:
https://stackoverflow.com/questions/45240387/how-can-i-remove-the-bom-from-a-utf-8-file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Peter, we will look into that, it seems this is the only possibility to remove the BOM. As it already needs to be removed before converting into XML
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Patrick, I agree, it seems crazy to make a custom module for that but I remember I had done this before but I can't find the java code anymore. yes, before you XMLize the payload that is the only way to do it or with a line command like Stefan suggests.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.