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: 

Cyrilic char not coming properly

Former Member
0 Kudos

Hi experts,

When fetching data from FTP server to application server the Cyrilic character are coming as '#' into appl server.

But ftp data is perfect with cyrilic format.

1. how can i copied ftp cyrilic data into application server in proper cyrilic format.

question update:

Now another problem i am facing .

when read the data from appln to itab using open data set.

itab contains '#' instead of cyrilic char.

i use

open dataset l_file_path for input in legacy text mode code page '1500'.

any idea about any other code page.

Thanks ,

Jo

Edited by: jowar saha on Jul 23, 2010 8:45 AM

Edited by: jowar saha on Jul 23, 2010 9:36 AM

1 ACCEPTED SOLUTION

SuhaSaha
Advisor
Advisor
0 Kudos

Can you try with codepage '1504 ?

Check this link [http://help.sap.com/saphelp_nw04/helpdata/en/c1/ae563cd2ad4f0ce10000000a11402f/content.htm]

Here you have a mention of the notes 112065 & 302063, check if they help.

You can also use the trxn. SCP to check in which codepage (CP) the character exists.

BR,

Suhas

Edited by: Suhas Saha on Jul 23, 2010 1:36 PM

6 REPLIES 6

Former Member
0 Kudos

Hello

Try codepage '1504'

0 Kudos

Hi experts,

Thnx for response.

code page 1504 is not working .

any other??

thanks,

jo

SuhaSaha
Advisor
Advisor
0 Kudos

Can you try with codepage '1504 ?

Check this link [http://help.sap.com/saphelp_nw04/helpdata/en/c1/ae563cd2ad4f0ce10000000a11402f/content.htm]

Here you have a mention of the notes 112065 & 302063, check if they help.

You can also use the trxn. SCP to check in which codepage (CP) the character exists.

BR,

Suhas

Edited by: Suhas Saha on Jul 23, 2010 1:36 PM

Former Member
0 Kudos

hi suhash,

thank you for your response.

But still i am not getting correct answer.

here is the application server data.

*'Овертайм Александр Иванович'

By using '1500' for russia.

here is the itab .

'а#аВаЕб#б#аАаЙаМ а#аЛаЕаКб#аАаНаДб# а#аВаАаНаОаВаИб#' .

Please help to convert it properly.any other idea.

Thanks

Jo

0 Kudos

You can try to use the UTF-8 addition with READ DATASET to get the details.

Check this code:

OPEN DATASET v_file FOR INPUT IN TEXT MODE ENCODING UTF-8.

CHECK sy-subrc = 0.

DO.
  READ DATASET v_file INTO v_data.

  WRITE / v_data.
  IF sy-subrc <> 0.
    EXIT.
  ENDIF.
ENDDO.

CLOSE DATASET v_file.
CHECK sy-subrc = 0.

BR,

Suhas

Former Member
0 Kudos

Thnx suhas..

Now it is perfectly working ..

Thanks

Jo