cancel
Showing results for 
Search instead for 
Did you mean: 

Encoding problem after File Content Conversion

mkral
Explorer
0 Kudos

Hi SAP gurus!

we're about exporting debitor data via PI into CSV files. Therefore we use a mapping to an intermediate structure. In the receiver file adapter a file content conversion is done into the target CSV format.

We have a lot of data with eastern europe characters. Right after the mapping, everything is fine. All characters are processed correctly. After the file content conversion, the files written on the target system contain "?" instead of the special characters.

Does anybody have any hint to fix this problem? We already tried to change the "file.encoding" parameter, but hasn't helped.

Thanks in advance for your support!

Cheers,

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kral,

Try to put the encoding paramter in both sender and receiver and give it a shot. Also see this document:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79...

If this doesnot work then change the encoding in the message type by exporting it into any external tools like altova.

Regards,

---Satish

mkral
Explorer
0 Kudos

Hello Satish,

thanks for your reply.

First, I have to explain, that the sender side isn't done by file adapter but IDoc adapter. So I cannot change the encoding on sender side.

Both on IDoc and file side, the data is ok. Only when inserting the file content converion, the files become corrupted.

Without using the FCC, tjhe target files are stored as UTF-8. When using FCC the files are stored as ANSI. (I tested this by opening the files in notepad and performing "Save As")

Do you have further ideas?

Cheers,

Matthias

prateek
Active Contributor
0 Kudos

Have you selected File Type as Text and an appropriate File Encoding in the receiver communication channel?

Regards,

Prateek

stefan_grube
Active Contributor
0 Kudos

> Without using the FCC, tjhe target files are stored as UTF-8. When using FCC the files are stored as ANSI. (I tested this by opening the files in notepad and performing "Save As")

This is not a proof. The file is stored in that codepage that you put in the receiver channel. Notepad always displays a text file in the system codepage.

Open the file with Internet Explorer and change the encoding there.

Regards

Stefan

Edited by: Stefan Grube on Jul 22, 2009 10:35 AM

Answers (0)