2009 May 27 4:06 PM
hi,
i need to send file from abap program to ftp.
i need to write the file to ftp as code page 1804.
i am using FM FTP_R3_TO_CLIENT.
i tried to convert text before sending to FM by using FM /ATL/TRNSL_CODEPAGE_2_CODEPAGE
for each line of file but it didn't work - the file is still written in ftp as utf-8.
any suggestions?
thanks in advance.
Tomer
hi,
i need to send file from abap program to ftp.
i need to write the file to ftp as code page 1804.
i am using FM FTP_R3_TO_CLIENT.
i tried to convert text before sending to FM by using FM /ATL/TRNSL_CODEPAGE_2_CODEPAGE
for each line of file but it didn't work - the file is still written in ftp as utf-8.
any suggestions?
thanks in advance.
Tomer
2009 Dec 28 2:48 PM
try using FM SKTG_CODEPAGE_CONVERT where you can define input codepage (CI) and output codepage (C0).
CALL FUNCTION 'SKTG_CODEPAGE_CONVERT'
EXPORTING
ci = '1401'
co = '1404'
TABLES
text = it_tab.
hope that helped.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |