Problem with Polish Characters while downloading data using GUI_DOWLOAD
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
Hi Sriram,
<li>Get the front-end code page using NLS_GET_FRONTEND_CP.
<li>Pass the code page through GUI_DOWNLOAD.
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.
Thanks
Venkat.O
Similar Messages
-
Error while downloading data Using RSCRM_BAPI
Hi Folks,
I am getting the below mentioned error message while downloading the data from BW report to csv file using RSCRM_BAPI.
Can anyone help on this error ?
Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)hi lakshmi:
I also tried to use this t-code. but this has lots of restrictions..and its not recommended to use this t-code for complex queries.There are OSS NOtes out there for restrictions for this t-code.
I got to know from other forums on SDN that there is other RSCRMBW_REPORT FM. which is better to use. but not able to use it... there is specific way for that FM. If you try that and if it works for you please let me also know.
Also, try to look at this forums:
Error Using RSCRM_BAPI T-Code
Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
RSCRM_BAPI Schedule and monitor
RSCRM_BAPI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
Hope this helps.
KSmith -
Problem with Latin Characters while transferring to the file
Hi,
I want to transfer the data to the file. But the problem i m facing is latin characters get converted to unwanted characters.
If i use FM 'SCP_REPLACE_STRANGE_CHARS', it converts latin to english.
But i want latin to be latin itself.
Please help.hi..
this has more to do with the conceppt of codepage of the system...that u r using..
in some cases the development system is unable to recognise the local characters...and hence it prints junc characters....but wen u move the same to higher system...u can find the desired characters....
Also try one thing ..log in in local (Latin Language ) and upload...even if it does not come in devlopment system...it will come in higher systems...
Hope the above works...Reward points..if helpful...
Edited by: Rudra Prasanna Mohapatra on Jul 3, 2008 1:27 PM -
Problem with chinese characters while sending mail with .CSV attachment
Hi,
i am sendin .CSV file as an attachment with mail using "SO_DOCUMENT_SEND_API1" FM,
whle opening the mail attachment the chinese characters are not displaying properly.
currently i am using ECC 5.0
can any body help in this regard.
Thanks,
RahimHi Kang Ring,
please convert the content of the attachement into the binary format and then add it as a mail attachment.
LOOP AT i_data ASSIGNING <wa_data>.
if s_output is INITIAL.
CONCATENATE <wa_data> cl_abap_char_utilities=>cr_lf into s_output.
else.
CONCATENATE s_output <wa_data> INTO s_output SEPARATED BY cl_abap_char_utilities=>cr_lf.
endif.
ENDLOOP.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = s_output
IMPORTING
buffer = x_output.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = x_output
TABLES
binary_tab = imail_att.
OR
please use ABAP-Object classes like CL_BCS , CL_document_BCS.....
please findthe below sample code.
cl_bcs_convert=>string_to_solix(
EXPORTING
iv_string = s_output
iv_codepage = '4103' "suitable for MS Excel, leave empty
iv_add_bom = 'X' "for other doc types
IMPORTING
et_solix = s_output_binary "(of type solix_tab)
ev_size = size ).
attachment->add_attachment( "attachment of type ref to cl_document_bcs
i_attachment_type = 'xls'
i_attachment_subject = l_subject
i_attachment_size = size
i_att_content_hex = s_output_binary ).
you need to write the code for adding the receipents, subject and adding this "attachment " as an attachment to the mail.
Hope this will helps to you....,
thanks,
Rahim. -
Problems with special characters in the data.
Hi All,
Whenever, I'm trying to data such as "Lämmerzunge" which are having some special characters in it, it is storing them as L�mmerzunge. Is there anyway to handle these?
Thanks in advance.
Regards,
VenkyCheck if database characterset supports these special characters
check client's nls settings.
check client machine's language settings (converts characters in driver level) -
Problem with Progress DB while using to connect using JDBC Adapter
Hi,
I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
Error during database connection to the database URL jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db using the JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db "
I tried using the following all URLs,
1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.
2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db
3.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.
4.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db.
Can anyone please help me out in solving this issue.
May be the cause for this is :
1) The Wrong URL format
2) CLASSPATH is not setted properly..
Can you look more into this stuff.
Thanks,
Soorya.Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
Problem with two monitors while using Photoshop, windows move from 2nd screen to 1st screen.
I saved a new workspace and it did not help.
No problem before I went to Maverick.I found the fix, go to System Preferences and open Mission Control and uncheck the box to keep monitors as they were (When switching to an application...........)
-
Hi i'm using iphone 4 and i have problem with viber apps while i'm installing
hi i'm using iphone 4 and i have problem with viber apps while i'm installing & registration process its says error on system mainternance. can you please help me out?
thank you.OK, let's try again. Wind is NOT a supported carrier. In order to use tethering, it must be supported and activated by your carrier for the iPhone. This usually involves an additional fee. You will have to ask your carrier if they can enable it. Odds are, since they are not a supported carrier, they can not. If you want to use tethering, you will most likely have to switch to a supported carrier that offers this feature on the iPhone.
A list of supported carriers can be found here: http://support.apple.com/kb/ht1937 -
I downloaded Firefox 7 and when I click on the browser icon nothing happens, the browser does not load on desktop.I had no problems with Firefox 4 I had been using for several years and liked very much
Most people have no problems with installing firefox as an upgrade, but there are quite a few things that can cause problems. Please have a look at the articles
* [[software Update Failed]] <-- clickable link (blue ) --
* [[firefox will not start]]
* [[firefox does not work]]
Post back after you read them and say what you tried. Have you ensured you used an admin account, possibly needing to check the UAC setting, and that security software is not blocking the changes. You should certainly try starting in firefox's [[safe mode]] either from a menu/icon option or by holding the shift key as you attempt to run firefox.
Is the browser icon you see on the desktop, and a firefox icon ? -
Error while insert data using execute immediate in dynamic table in oracle
Error while insert data using execute immediate in dynamic table created in oracle 11g .
first the dynamic nested table (op_sample) was created using the executed immediate...
object is
CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
mark1 number,
mark2 number
t_sub_mark is a class of type sub_mark
CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
create table sam1(id number,name varchar2(30));
nested table is created below:
begin
EXECUTE IMMEDIATE ' create table '||op_sample||'
(id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
end;
now data from sam1 table and object (subject_obj) are inserted into the dynamic table
declare
subject_obj t_sub_mark;
begin
subject_obj:= t_sub_mark();
EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
end;
and got the below error:
ORA-00904: "SUBJECT_OBJ": invalid identifier
ORA-06512: at line 7
then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
execute immediate 'insert into '||dynam_table ||'
(SELECT887684 wrote:
ORA-00904: "SUBJECT_OBJ": invalid identifier
ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically. -
Problems with special characters like "u00F6" "u00E4" "u00FC"
Hi,
we currently face some major problems with special characters like "ö" "ä" "ü". First I thought it is a SP02 specific problem but it still doesn't work with SP03.
When I start an import the import manager shows correct converted value. "ö"s "ä"s "ü"s are displayed correctly. But after I've done the import I look into the Data manager and I see instead of these characters charcaters like "̈". (note: the character should show a little square box - but the forum cannot desplay it)
How can I solve this problem?
Regards
NicoHi Nico
Just try it out the following steps, hope it solves ur issue.
<b>To set one or more values back to their original values:</b>
1. In the Import Manager Source Values grid, select the values that you want to set back to their original values.
2. Right-click on one of the values and choose Set to Original Value from the context menu, or choose Values > Apply Value Conversion Filter > Set to Original Value from the main menu.
3. MDME sets each value back to its original value, which appears in black in the Source Values grid.
<b>NOTE : You can use the Set to Original Value filter only at the value-level and not at the field level.</b>
thanks
Alexander -
Problem with national characters on windows client
Hello there,
I'am having problem with national characters on windows client.
All national data stored in NVARCHAR2 colums, applications (.net) works fine,
but in sqlplus:
select city from test_table;
- everything ok, sqlplus shows national characters
select dump(N'<national symbols>') from dual
- returns
Typ=96 Len=12: 0,191,0,191,0,191,0,191,0,191,0,191
select * from test_table where city = N'<national symbols> '
- always returns nothing
As i understand the problem in
sql query text (and national literals) convertion
to servers "WE8ISO8859P1" encoding, Is it possible
to solve the issue?
Thanks in advance
PS.
Console in right mode (chcp=1251)
sqlplus shows russian messages well
Server (oracle 9 on solaris):
select * from nls_database_parameters
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_SAVED_NCHAR_CS WE8ISO8859P1
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P1
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 9.2.0.6.0
Client (windows server 2003, oracle client 10):
NLS_LANG = RUSSIAN_CIS.CL8MSWIN1251N'<national symbols>', being part of an SQL statement, will be converted to the database character set (WE8ISO8859P1) before being parsed. Only if the client and the database are both 10.2 or higher, the client can encode the literal appropriately so that it survives this conversion.
In earlier versions, you can do the encoding yourself. Instead of the N'<national symbols>' literal use the UNISTR function: UNISTR('\xxxx\yyyy\zzzz'), where U+xxxx, U+yyyy, U+zzzz are Unicode code points of your national characters.
-- Sergiusz -
Problem with Emailing the Internal table data as an excel attachment
Hi Friends,
I am facing problem with Emailing an internal table data as an excel file. I am using standard function module "SO_NEW_DOCUMENT_ATT_SEND_API1" which is using SOLI structure can have record with 255 character length. But my Internal table having each record means after concatenating all the fields it is going to be morethan 450 characters. so i t is not displaying all the data in excel file.
Can somebody help me if there is any other function module or any other way that i need to follow.
thanks for help
venkat.You must use the the :
CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as a field seperator and
CL_ABAP_CHAR_UTILITIES=>CR_LF as a record seperator.
Check this example:
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
Regards,
Naimesh Patel -
[SOLVED] Problem with Polish font
Hi!
I never had this problem before.
Lately I installed Arch and for some reason I have problems with Polish fonts.
Now google chrome (AUR) and Konsole have no pl chars at all.
Konqueror and KWrite (yes, I'm using KDE) are using some kind of unnatural Polish characters.
Here you can see how does it look like:
Konqueror
Google Chrome
Konsole
KWrite
Additional info:
$ locale
LANG=en_GB.ISO-8859-1
LC_CTYPE="en_GB.ISO-8859-1"
LC_NUMERIC="en_GB.ISO-8859-1"
LC_TIME="en_GB.ISO-8859-1"
LC_COLLATE="en_GB.ISO-8859-1"
LC_MONETARY="en_GB.ISO-8859-1"
LC_MESSAGES="en_GB.ISO-8859-1"
LC_PAPER="en_GB.ISO-8859-1"
LC_NAME="en_GB.ISO-8859-1"
LC_ADDRESS="en_GB.ISO-8859-1"
LC_TELEPHONE="en_GB.ISO-8859-1"
LC_MEASUREMENT="en_GB.ISO-8859-1"
LC_IDENTIFICATION="en_GB.ISO-8859-1"
LC_ALL=
$ locale -a
C
en_GB
en_GB.iso88591
en_GB.utf8
pl_PL
pl_PL.iso88592
pl_PL.utf8
polish
POSIX
$ showconsolefont
bug: getfont called with count<256
! " # $ % & ' ( ) * + , - . / 0
1 2 3 4 5 6 7 8 9 : ; < = > ? @
A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ `
! " # $ % & ' ( ) * + , - . / 0
1 2 3 4 5 6 7 8 9 : ; < = > ? @
A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ `
! " # $ % & ' ( ) * + , - . / 0
1 2 3 4 5 6 7 8 9 : ; < = > ? @
A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ `
! " # $ % & ' ( ) * + , - . / 0
1 2 3 4 5 6 7 8 9 : ; < = > ? @
A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ `
Solution:
Just install ttf-microsoft-fonts from AUR.
Last edited by Skitter (2013-10-08 16:04:08)Well now I have Polish characters in terminal but the problem with Google Chrome, KWrite and Konqueror remains unsolved.
Thank you Karol.
Everything is set up the way it should:
locale
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
Strange because when I'm typing in the address bar Polish chars are appearing properly however site content and google search are still displaying this unrecognized chars.
Address bar
Google search
Last edited by Skitter (2013-10-07 17:25:56) -
Problems with special characters in InputStream or XPath
Hello everyone,
I am having problems with special characters such as ", ', - and so on, everything becomes ? (questionmark). (Not with special nordic characthers (å,æ,ø) though.)
The encoding of the XML is UTF-8, and the server that holds the webservice is setting encoding to UTF-8 also, so no conflict there.
What I have done is something like this:
{code}
String url = "http://www.formula1.com/rss/news/latest.rss"; // This is not the feed I use, it is a custom XML document
InputSource is = new InputSource(url);
DocumentBuilderFactory fct = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = fct.newDocumentBuilder();
Document doc = builder.parse(is);
Element rootElement = doc.getDocumentElement();
XPathFactory factory = XPathFactory.newInstance();
XPath xPath = factory.newXPath();
out.print(xPath.evaluate("/rss/channel/title", rootElement)); // The xml is not a RSS feed, this is just an example.
{code}
Please let me know what I am doing wrong, or give me a hint of how to solve this in another way.
Best regards,
G.Hansen
Edited by: G.Hansen on Mar 24, 2009 2:39 AMHello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
I ended up with something like this:
our environment is running in 1.4 mode, so I could not use the for-each loop :-(
public String printEntities(String s) {
char[] sArray = s.toCharArray();
StringBuffer sb = new StringBuffer();
for (int i = 0; i < sArray.length; i++) {
if (sArray[i] > 256)
sb.append("&#x" + Integer.toHexString(sArray) + ";");
} else
sb.append(sArray[i]);
return sb.toString();
Maybe you are looking for
-
Transaction code to view process orders set for deletion
Hi PP Gurus We are trying to search for transaction code to view the process orders which have status as DLFL i.e deletion flag set for the orders. In cooispi, the deleted orders are not shown in the report output. I request you to let me know if th
-
How do I extract multiple tracks from a CD into a single file in Audition CS6?
I use Audition to edit my Pastor's messages. The message CD is made with five minute tracks. I want to extract the tracks from the CD into a single file for editing and altering the track lengths. I have done this before in Audition CS6, but I haven'
-
Calling stored procedure - mysterious error
Hi all, I have a problem with one stored procedure. The procedure looks like this simplified sample: create or replace procedure sp_sample ( p_input1 in char, p_input2 in number, p_input10 in char, p_in_out in out number as l_in_out number(38) := p_i
-
How to disable Guest User Login
All of a sudden I have a "Guest User Account" on my login screen. I never enabled it, and it wasn't there before. I checked my Users preferences and it clearly shows the Guest User Account is disabled (nothing checked). Any ideas how to remove it
-
Hai, i was installed EBS 11.5.10.2 on RHEL ES release 4 (NAHANT) 32 BIT. i followd each step of prerequists of installation document. i found errors and warnings in alert log file. errors: Tue Mar 11 12:19:58 2008 Errors in file /u01/uat2ora/uat2db/9