07-23-2010 7:44 AM
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
07-23-2010 9:01 AM
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
07-23-2010 8:52 AM
07-23-2010 8:57 AM
Hi experts,
Thnx for response.
code page 1504 is not working .
any other??
thanks,
jo
07-23-2010 9:01 AM
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
07-23-2010 10:05 AM
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
07-23-2010 10:24 AM
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
07-23-2010 10:41 AM