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: 

GUI_UPLOAD - Upload S-JIS Fixed Length File

kirankerudi
Active Participant
0 Kudos

Hello Experts,

We are using GUI_UPLOAD to upload fixed length file which looks something like below:

Since there are Japanese Characters, the IT_TAB that holds data becomes messy because of Unicode Issue. I tried to use CODEPAGE '8000' and it is of no use.

File Type used is S-JIS, Fixed Length File.

Can anyone help on how we can achieve this? Uploading Tab Delimited File is just one option, but the file which has to be uploaded is Fixed Length File.

Best Regards,
Kiran Kerudi

3 REPLIES 3

former_member226519
Active Contributor
0 Kudos

try to upload in binary mode

class CL_ABAP_CONV_IN_CE may help, too

0 Kudos

Hi Volker,

Tried BIN mode. It will convert Japanese Characters to Garbled Characters and is of no use.

I am not sure how CL_ABAP_CONV_IN_CE could help as it is just Hex conversion. I have browsed through many posts, but could not understand how this fits my requirement.

Appreciate your help!

BR,
Kiran

0 Kudos

this worked fine for me