Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Filename incorrect with OPEN DATASET after upgrade to EHP7

former_member867439
Discoverer
0 Kudos
397

Hi SAP network,

we have an issue after upgrading from eHP6 to eHP7 and non-unicode to unicode.

When we use OPEN DATASET and the filename contains an 'é' or another special character, the file is created on the application server, it is displayed correct in AL11, but when we go to the application server via windows explorer the 'é' is replaced with some special characters.

is this an issue with the codepage when downloading?

we tried all sorts of parameters with the OPEN DATASET statement, both in text mode and binary but the problem remains.

Test program:

3 REPLIES 3

raymond_giuseppi
Active Contributor
349

Can you test ENCODING DEFAULT

(and post you code in text in a code window)

OPEN DATASET file_name IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.

former_member867439
Discoverer
0 Kudos
349

Hi Raymond,

same result

DATA: lv_dest_filepath   TYPE char200 VALUE '/home/WD2/HUB539A/SDN_é1.txt'.
OPEN DATASET lv_dest_filepath IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.

raymond_giuseppi
Active Contributor
0 Kudos
349

Your Windows File Explorer sems to expect some ANSI code page and not Unicode (C3A9 vs E9) or mismatch UTF8 UTF16?

" Unicode - /home/WD2/HUB539A/SDN_é1.txt - C3A9
" ANSI - /home/WD2/HUB539A/SDN_é1.txt - E9