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: 

Unable to read the file from application server with file name contains special character

Former Member
0 Kudos

Hi Team,

We have one scenario where Webmethod is uploading file to application

server directory as binary file.

SAP is trying to read the file uploaded by webmethod.

If the file name is like '_é , á, ù_1-IWWUJZ.docx' then SAP is not able

to read the file. The error 'File does not exists' error occurred.

The file does not appear in AL11 also.

File name is like : '_é , á, ù_1-IWWUJZ.docx'

If I upload same file using standard FM in SAP then I can see the file

in AL11 and I can read.

But if open the application server directory and see the file name.

The file name will be like '_é á ù_1-IWWUJZ.docx' and

if we see in AL11 the file name will be like '_é , á, ù_1-IWWUJZ.docx'.

1. What formatting should I use to read this kind of files? All others files SAP is able to read.

2. Why the file name is changed if we upload file through SAP. The special characters are replaced with some other characters.

3. When webmethod upload same file the special characters are not getting changed.

Please help.

Thanks & Regards.

Anil Mane

Message was edited by: Thea Hillenbrand: I deselected the category ABAP Trials and Developer Editions. This category should be used for ABAP Systems in the Cloud Appliance Library related contributions. Kind regards, Thea

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Anil

I think you'll find it's linked to the Unicode settings.

Quite honestly, the simpliest approach is not to have files with special characters.

Are you able to enforce this rule with the people supplying the files.

Regards

Arden

4 REPLIES 4

Former Member
0 Kudos

Hi Anil

I think you'll find it's linked to the Unicode settings.

Quite honestly, the simpliest approach is not to have files with special characters.

Are you able to enforce this rule with the people supplying the files.

Regards

Arden

0 Kudos

Hi Arden,

Thank you for reply!

This is on-going issue for our project since many days. We are trying to find out better solution for this problem.

I am trying to enforce the people but they are not agree to change the file name.

Users are strongly disagree with changing the file name.

Please provide your thoughts on this. What could be the possible solution? What could be reason for this issue?

Thanks & Regards,

Anil Mane

0 Kudos

Hi Anil

I'd recommend you speak with your Basis team to see if they can determine if the issue is Unicode related.

Regards

Arden


0 Kudos

This message was moderated.