2009 Oct 27 7:09 AM
Hi,
I was trying to create a file on the presentation server using GUI_DOWLOAD.
I am facing a problem with the data that contains polish characters.. like Ą , Ł..
There is a vendor numer in the system as FRĄCZEK, when i was tring to download, the vendor number is downloaded as FR¥CZEK, even i tried to download from SE16 also, still i am facing the same problem.
I am facing the above problem with soem other polish characters..
Is there any solution to download the data properly.. ?
Guys please help me.
Thanks in advacnce.
Regards,
Sriram.
Edited by: Srirama Murthy Maddirala on Oct 27, 2009 8:10 AM
2009 Oct 27 7:20 AM
Hi ,
Need to give the exact value for polish character in CODEPAGE ,
Codepage is one of the exporting parameter in FM GUI_DOWNLOAD
2009 Oct 27 7:58 AM
Hi,
Thanks for your quick response.
I do not find any codepage for polish characters.
I have tried with some codepage values 0161 and 1404 those are for central Europe.
still the problem is not solved. Is there any other codepage values for Polish Language..?
Thanks in advance.
Regards,
Sriram
2009 Oct 27 8:04 AM
2009 Oct 27 8:40 AM
2009 Oct 27 7:22 AM
Hi,
in gui_download while working with diffrent languages u need to pass the code_page either...
u need to pass the parameter code page = '1'
2009 Oct 27 9:03 AM
Hi Sriram,
<li>Get the front-end code page using NLS_GET_FRONTEND_CP.
<li>Pass the code page through GUI_DOWNLOAD.
Thanks
Venkat.O
REPORT ztest.
TYPE-POOLS:abap.
DATA:frontend_codepage TYPE cpcodepage.
DATA:codepage TYPE abap_encoding.
"Get the Frontend Code page
CALL FUNCTION 'NLS_GET_FRONTEND_CP'
EXPORTING
langu = sy-langu
IMPORTING
frontend_codepage = frontend_codepage.
"Pass the codepage through GUI_DOWNLOAD function module
codepage = frontend_codepage.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\temp\data.xls'
filetype = 'ASC'
codepage = codepage
TABLES
data_tab = it_data.
2010 Mar 12 2:28 PM