Application Development and Automation 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: 
Read only

Problem in Uploading file to application server

Former Member
0 Likes
816

Hello folks,

I am facing problems while uploading the file to application server.

The problem is i am having some special characters in the internal table and then when i am uploading to application server it is printing as #.

I need the Special characters not #...

Please let me know how to over come this.

Regards,

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
777

Hi,

What is the encoding type you are using in the open dataset statement? Check if its working for UTF-8.


OPEN DATASET p_file FOR OUTPUT in text mode ENCODING utf-8.

Regards,

Vik

Hi,

What is the encoding type you are using in the open dataset statement? Check if its working for UTF-8.


OPEN DATASET p_file FOR OUTPUT in text mode ENCODING utf-8.

Regards,

Vik

4 REPLIES 4
Read only

Former Member
0 Likes
778

Hi,

What is the encoding type you are using in the open dataset statement? Check if its working for UTF-8.


OPEN DATASET p_file FOR OUTPUT in text mode ENCODING utf-8.

Regards,

Vik

Read only

0 Likes
777

Hi,

Thanks for ur reply

This is what iam using

OPEN DATASET l_fpath FOR OUTPUT IN LEGACY TEXT MODE CODE PAGE '1100'.

Regards,

Raj

Read only

0 Likes
777

HI,

I have used the same syntax as u specified and it worked fine..

Thanks a lot for solving in no time...

Regards,

Raj

Read only

Former Member
0 Likes
777

HI,

Plesae follow this link https://www.sdn.sap.com/irj/scn/advancedsearch?query=uploadingfilefromapplicationserver

Regards,

pravin