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_Download funtion module problem

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

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

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Perhaps you can have a look at OSS notes 765763 and 551344

Former Member
0 Kudos

hi Satish,

Instead of using the FM, try using the GUI_DOWNLOAD method of the CL_GUI_FRONTEND_SERVICES classes.

Regards,

Santosh

sivapuram_phanikumar
Active Participant
0 Kudos

Hi,

Pass the value '4110' to the export parameter CODEPAGE in FM 'GUI_DOWNLOAD'.

Regards,

Kumar.