02-12-2007 11:03 AM
HI All,
I am Using GUI_Download funtion module for downloading data from internal table to flat file. But one of the field is having the value ОАО "САН Интербрю Украина"
After downloading data, the letters are being replaced by # in the download.
If any one know please let me as early as possible.
Thanks in advance.....
Satish
02-12-2007 11:06 AM
Check the sap documentation for the funtion module(Especially for CODE page)
Character Representation for Output
Description
Use parameter CODEPAGE to specify the desired target codepage. If this
parameter is not set, the codepage of the SAP GUI is used as the target
codepage.
Value range
4-digit number of the SAP codepage. Function module
SCP_CODEPAGE_BY_EXTERNAL_NAME returns the SAP codepage number for an
external character set name such as "iso-8859-1". Function module
NLS_GET_FRONTEND_CP returns the related non-Unicode frontend codepage
for a language.
You can specify the desired codepage interactively, if the parameter
with_encoding of method file_save_dialog is set by
cl_gui_frontend_services.
SPACE: Codepage of the frontend operating system.
Regards,
Ravi
02-12-2007 11:06 AM
Check the sap documentation for the funtion module(Especially for CODE page)
Character Representation for Output
Description
Use parameter CODEPAGE to specify the desired target codepage. If this
parameter is not set, the codepage of the SAP GUI is used as the target
codepage.
Value range
4-digit number of the SAP codepage. Function module
SCP_CODEPAGE_BY_EXTERNAL_NAME returns the SAP codepage number for an
external character set name such as "iso-8859-1". Function module
NLS_GET_FRONTEND_CP returns the related non-Unicode frontend codepage
for a language.
You can specify the desired codepage interactively, if the parameter
with_encoding of method file_save_dialog is set by
cl_gui_frontend_services.
SPACE: Codepage of the frontend operating system.
Regards,
Ravi
02-12-2007 11:12 AM
02-12-2007 11:15 AM
hi Satish,
Instead of using the FM, try using the GUI_DOWNLOAD method of the CL_GUI_FRONTEND_SERVICES classes.
Regards,
Santosh
02-12-2007 1:38 PM
Hi,
Pass the value '4110' to the export parameter CODEPAGE in FM 'GUI_DOWNLOAD'.
Regards,
Kumar.