Cl_gui_frontend_services= gui_download - issue with german special char

Hello,
we are using cl_gui_frontend_services=>gui_download to create from an itab an excel file.
We face the issue that in this excel file german special characters like Ä, Ü, Ö, ß are not displayed correctly.
I think we need to use a different codepage. But which one?
could you please give us a short coding example how to call cl_gui_frontend_services=>gui_download.
Thanks a lot
Kind regards
Manfred

Hi,
Check the system is unicode or non-unicode . Codepage for Unicode system is ' 4102' and non-unicode is '1100'.
Below are the sample code for the GUI_download with Class.
DATA:  l_filename    TYPE string,
       l_filen       TYPE string,
       l_path        TYPE string,
       l_fullpath    TYPE string,
       l_usr_act     TYPE I.
l_filename = SPACE.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
  EXPORTING
    DEFAULT_FILE_NAME    = l_filename
  CHANGING
    FILENAME             = l_filen
    PATH                 = l_path
    FULLPATH             = l_fullpath
    USER_ACTION          = l_usr_act
  EXCEPTIONS
    CNTL_ERROR           = 1
    ERROR_NO_GUI         = 2     
    NOT_SUPPORTED_BY_GUI = 3
    others               = 4.
IF sy-subrc = 0
      AND l_usr_act <>
      CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    FILENAME                        = l_fullpath
   FILETYPE                        = 'DAT'
  TABLES
    DATA_TAB                        = T_DOWNL
EXCEPTIONS
   FILE_WRITE_ERROR                = 1
   NO_BATCH                        = 2
   GUI_REFUSE_FILETRANSFER         = 3
   INVALID_TYPE                    = 4
   NO_AUTHORITY                    = 5
   UNKNOWN_ERROR                   = 6
   HEADER_NOT_ALLOWED              = 7
   SEPARATOR_NOT_ALLOWED           = 8
   FILESIZE_NOT_ALLOWED            = 9
   HEADER_TOO_LONG                 = 10
   DP_ERROR_CREATE                 = 11
   DP_ERROR_SEND                   = 12
   DP_ERROR_WRITE                  = 13
   UNKNOWN_DP_ERROR                = 14
   ACCESS_DENIED                   = 15
   DP_OUT_OF_MEMORY                = 16
   DISK_FULL                       = 17
   DP_TIMEOUT                      = 18
   FILE_NOT_FOUND                  = 19
   DATAPROVIDER_EXCEPTION          = 20
   CONTROL_FLUSH_ERROR             = 21
   OTHERS                          = 22.
IF SY-SUBRC <> 0.
   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDIF.
Edited by: Sumodh P on May 11, 2010 5:24 PM

Similar Messages

  • Unity Connection 8.6 LDAP or CUCM Import with german special characters called "Umlaut": ä, ö, ü

    Hi,
    for  jabber 9.1 integration i sync'ed all users at Callmanager, Presence and  Unity to our LDAP (MS AD). with CUCM and Presence (both 8.6.x), it  works fine, just Unity Connection sync the Users from AD, but i cannot import Users  with german special characters ä, ö, ü  (i.E. German Name in LDAP-su: Müller).
    Jabber  9.1 need for Voicemail Integration the AD Authentication. Know  somebody, if there is an Workaraound or Fix ?
    This is a general issue, with or without Jabber, with sync directly from AD, or indirectly through CUCM (sync'ed with AD)
    thx and regards
    Jacky

    I located an identical defect (CSCts28455) that was closed as unreproducible. The defect references CSCtj73444 "Add support for UTF-8 password to LDAP and RADIUS/MSCHAP" which is added to 8.4.2 with the recommendation of RADIUS/MSCHAP or LDAP only for international character support. It would make sense to go to the latest in your current train (ie: 8.4.4.1.ED) and see if the issue remains. What you want to do appears to be supported.
    Matthew

  • Problems with german special characters on DOC export.

    Hello,
    I have a problem when I export a pdf to doc via the adobe cloud feature. Everything works fine except for the special german characters. And since I want to use this tool to convert my latex pdf to word to use the spellchecker for me the entire system is broken. Do I need to change to a special encoding of my textfiles for this to work? Can you fix this somehow?
    Cheers
    nenTi

    I use Arial as font generated by MiKTex. So I doubt it's a font problem. Also it detects all other characters without a problem, only the german special chars äöüÄÖÜß are a problem for the system.
    Try it yourself:
    "Hier ist mein scheiß überfordertes konvertierungs script und rödel vor sich hin ohne ännähernd befriedigendes Ergebniß."
    You won't have the special chars editable in the doc. It is visible but you can't edit it because it is converted to something strange.

  • Problem with german special characters in APEX

    Hi,
    we have a problem with all the special characters in german language in our Application.
    APEX version 3.1.0.00.32 is installed on a oracle database 9.2.0.6.0
    The nls_characterset of the database is: American_America.WE8ISO8859P1
    We have modified the wdbsvr.app file on our HTTP-Server like it's shown in the installationguide for APEX and have set the nls_lang parameter to American_America.AL32UTF8.
    If I look at the source code of the html-pages of our application, there are already the following settings in the header of every page:
    meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
    With this settings all the german special characters like ä ö ü are not shown correctly in the browser.
    What can I do that the pages are shown correctly?
    Thanks for help!

    Hi Petra,
    ok, so my guess was correct. So the solution is to set the charset attribute in the HTML header to "charset=UTF-8". This is actually the way it should be. But I'm wondering why it is not in your case? Are you using a custom template for the page(s) in question where the charset attribute is set to a custom value? The meta tags in the HTML header are usually set by/through the #HEAD# substitution string in the header definition section of the page template, cp. one of the page templates in Shared Components --> Templates. And as far as I know you are not able to change this substitution string, you can only switch the inclusion on/off with the option "Include Standard CSS and JavaScript" in each page definition. (I might be mistaken, though, I'm quite new to APEX...)
    Regards
    Frank

  • TCS 3.0: Anchored Frames contain callouts with german special characters Conversion to RH nok

    Hi all,
    I have Frame documents, which contain anchored frames with callouts. The callouts are created with Frame and contain german special characters like ä,ö,ü. These characters are not converted correctly.
    Thanks for help.
    Regards,
    Rainer

  • Mysql problem with german special characters

    hi,
    I wrote a software and it worked quite good, but after I installed it on a new machine with j2se 1.4 I've problems with the german special characters.
    this code works good on the old machine (jdk 1.3.1) and prints the wanted characters like �,�,�.
    Class.forName("org.gjt.mm.mysql.Driver").newInstance();
    java.sql.Connection conn;
    conn = DriverManager.getConnection("jdbc:mysql://localhost/testdb?user=testuser&password=xxxx");
    Statement s = conn.createStatement();
    ResultSet r = s.executeQuery("select something from testtb where id='1'");
    r.first();
    System.out.println( r.getString(1) );
    but on the new machine (j2se 1.4) I only receive the character ?.
    I updated my org.gjt.mm.mysql to the current MySQL Connector/J 3.0.9 and added
    conn = DriverManager.getConnection("jdbc:mysql://localhost/testdb?user=testuser&password=xxxx&useUnicode=true&characterEncoding=ISO-8859-1");
    but I've got still the same problem.
    Thanks in advance
    Markus

    with "wanted characters like �,�,�"
    I meant: like &#x00E4;,&#x00FC;,&#x00F6;

  • Issue with Keyboard Special Characters in HP Pavilion DV6-3004TU

    I am using a HP Pavilion DV6-3004TU notebook. I just had my Windows 7 Professional installed. When I @ using Shift + 2 it displays " (quotation marks). It is vice-versa as well, ie., when I type " using Shift ' it displays @ symbol. I as well have issue with typing the hash symbol. When I type Shift 3 it displays £ instead of hash symbol. This is a brand new laptop and I am using an external USB keyboard as well for my convenience. This problem is encountered in both keyboards (notebook keyboard and external keyboard) as well. What do I do now? It has become a literal mess with characters making it difficult most of the times. Kindly help
    This question was solved.
    View Solution.

    That looks like keyboard layout issue...Looks like your keyboard is set to UK english...to check that...
    To check that, Click Start, type intl.cpl in the Start Search box, and then press ENTER. On the Keyboards and Language tab, click Change keyboards.
    You should see 2 entries English (united States) and English (United Kingdom). If true, delete English (United Kingdom). That should take care of it...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • GUI_DOWNLOAD: problems with table containing char length 8000

    Hi
    I have some problems using GUI_DOWNLOAD. Here is some of my code:
    DATA: g_record TYPE Z_CHAR8000 OCCURS 0 WITH HEADER LINE.
    z_char8000 is a char of length 8000
    insert code to fill data in g_record
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename                  = g_filename
          filetype                  = 'ASC'  
            filetype                  = 'BIN'  
            TRUNC_TRAILING_BLANKS     = 'X'
            TRUNC_TRAILING_BLANKS_EOL = 'X'
          TABLES
            data_tab                = g_record
          EXCEPTIONS
            file_write_error        = 1
            no_batch                = 2
            gui_refuse_filetransfer = 3
            invalid_type            = 4
            no_authority            = 5
            unknown_error           = 6
            header_not_allowed      = 7
            separator_not_allowed   = 8
            filesize_not_allowed    = 9
            header_too_long         = 10
            dp_error_create         = 11
            dp_error_send           = 12
            dp_error_write          = 13
            unknown_dp_error        = 14
            access_denied           = 15
            dp_out_of_memory        = 16
            disk_full               = 17
            dp_timeout              = 18
            file_not_found          = 19
            dataprovider_exception  = 20
            control_flush_error     = 21
            OTHERS                  = 22.
    An example of data in g_record:
    Hans,Kruger,Berlin,Superstrass 3,0101709991,,,,,,,,,,,,
    When I open the resulting file in notepad the above data is present, and that's a good thing! The bad thing is that for every entry I have in the g_record table the GUI_DOWNLOAD puts 8000 characters into the file (the data from g_record and trailing blanks so that the line becomes 8000 chars long). I dont want the trailing blanks and TRUNC_TRAILING_BLANKS dont seem to work. Have any of you had hte same problem and/or is there a solution?!
    I have tried using filetype ASC and here I dont get the trailing blanks, but another problem hits me. I cant download more that 1024 characters from each entry in g_record and thats not good enough!
    Regards Anders

    Hi Andres,
    take this itab-definition for your download:
    TYPES:BEGIN OF ty_down,
          line TYPE string,
          END OF ty_down.
    DATA wa_down TYPE ty_down.
    DATA g_record  TYPE TABLE OF ty_down.
    regards Andreas

  • Problem with reading special char from file

    Hello Oracle community,
    Got a problem when reading from a file. I am using a croatian keyboard and trying to read special charachters (ČĆŽŠĐ) from a file.
    declare
      l_file utl_file.file_type;
      s varchar2(200);
    begin
      l_file := utl_file.fopen('test_dir', 'test.txt', 'R');
      loop
        utl_file.get_line(l_file, s);
        dbms_output.put_line(s);
      end loop;
    exception
      when no_data_found then
        utl_file.fclose(l_file);
    end;But I keep getting this in dbms_output: ČƎŠĐ. For some reason it keeps skipping 2 chars Š and Ž. If I try to insert or update data the values are show correctly. What could be the cause of such a problem?
    Best regards,
    Igor

    Hi Igor,
    Looks like a NLS_LANGUAGE issue. Check the following threads:
    UTL_FILE and NLS_LANG setting
    Re: Arabic characters not displaying in Forms
    Regards,
    Sujoy

  • CQ 5 Tag Search with German special characters

    Hi all,
    I configured CQ 5.5. to do search on a set of custom tags that I created for documents. I did that by adding some new tags in /etc/tags/custom and adding this path in /apps/dam/content/search/searchpanel/facets/tagoptions. I noted that search works fine for any new tag that I created except those tags which contain German characters like küche. Can anyone help here on what could be the issue ?
    Thanks!

    I see your point. Got exactly the same problem in the DAM when searching for "ökologische" but "Unternehmenskonzept" that is in the same document is found.
    When sending "ökologische" from QueryDebugger, it searches for:
    18.06.2013 16:15:23.836 *DEBUG* [10.62.25.120 [1371564923836] GET /libs/cq/search/content/querydebug.html HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
    ROOT=group: [
        {fulltext=fulltext: fulltext=%C3%B6kologische}
    but from DAM Search
    18.06.2013 16:17:16.096 *DEBUG* [10.62.25.120 [1371565036096] POST /bin/querybuilder.json HTTP/1.1] com.day.cq.search.impl.builder.QueryImpl executing query (predicate tree):
    ROOT=group: limit=15, hitwriter=full, nodedepth=4, offset=0[
        {fulltext=fulltext: fulltext=ökologische}
        {mainasset=mainasset: mainasset=true}
        {orderby=orderby: orderby=path}
        {path=path: flat@Delete=true, path=}
        {type=type: type=dam:Asset}
        {0_daterange=daterange: lowerBound=, property=jcr:content/jcr:lastModified, upperBound=}
        {1_group=group: or=true[
            {property=property: property=jcr:content/metadata/dc:format}
        {2_group=group: or=true[
            {property=property: property=jcr:content/metadata/cq:tags}
        {3_group=group: or=true[
            {property=property: property=jcr:content/metadata/dam:scene7FileStatus}
    even if I can see that the JSON structure sent to /bin/querybuilder.json is:
    p.hitwriter=full&p.nodedepth=4&mainasset=true&type=dam%3AAsset&fulltext=%C3%B6kologische&path=&path.flat%40Delete=true&orderby=path&0_daterange.property=jcr%3Acontent%2Fjcr%3AlastModified&0_daterange.lowerBound=&0_daterange.upperBound=&1_group.property=jcr%3Acontent%2Fmetadata%2Fdc%3Aformat&1_group.p.or=true&2_group.property=jcr%3Acontent%2Fmetadata%2Fcq%3Atags&2_group.p.or=true&3_group.property=jcr%3Acontent%2Fmetadata%2Fdam%3Ascene7FileStatus&3_group.p.or=true&p.limit=15&p.offset=0
    This is on a CQ5.5-system.

  • Authorization issue with report on "Char data target"

    Hi,
    we've a characteristic ZCHAR inserted as data target.
    user is not able to execute a report created on this "Characteristic data target".
    error is as follows : "Error : You are not authorized to use ZCHAR".
    Could some one advise how to resolve this issue & what authorizations need to be assigned to this user.
    <b>PS: same user has no problems running other reports created on infocube & ODS.
    also, this characteristic data target is not "authorization relevant" in the info object definition.</b>
    appreciate your help.
    I've following profile assigned to user.
    S_RS_ICUBE - Administrator Workbench - InfoCube
    Activity   :                     All activities
    InfoCube Subobject :             All values
    InfoArea           :             *
    InfoCube           :             *
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

    Gova,
    thanks for your reply.
    profile doesn't have any authorization object S_RS_IOBJ.
    looks like this is the problem.
    I quickly tested with this object on a dummy profile & it worked with following settings. Is this correct just for reporting?
    Object S_RS_IOBJ
    Activity                       Display 
    InfoObject                     ZCHAR
    InfoObject catalog             *       
    Subobject of InfoObject        Data    
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • INSO-filter doesn't work correct with german special characters in pdf-files

    During testing the interMedia Text I watched that some words from pdf-files are not indexed. That's why I use the INSO-filter at the DOS command-line:
    ctxhx xxx.pdf xxx.txt <<The xxx.pdf-file includes the phrase:
    "... generell |berwiegende vffentliche Interessen im Sinne ..."
    The result in the xxx.txt-file is:
    "... generell |berwiegende Interessen im Sinne ..."
    The word "vffentliche" is lost. Is this a bug in INSO-filter or an incorrect using?
    Thanks for helping.
    Michael

    Actually, The inso filters do not even work for me for PDF file versions 1.2+. Is anyone else experiencing the same difficulties ? How often does Oracle update the INSO filters to keep up with vendors (Adobe/Microsoft) coming out with newer versions of their document products ?
    null

  • Interactive report : issue with french special characters

    Hi,
    We have many interactive reports and we can't use any french special characters in the filter clauses. For example, Montréal becomes montréal.
    What parameters do we have to change to make it work?
    Thanks.

    I found the answer in this thread : Interactive Report Character Set Issue

  • Issue with German Keyboard

    I live in India but i brought my macbook in Switzerland. Now I have the "german keybaord" and i need to remember the keys present in English Keyboard to type (this is coz i opted for some settings in first start up).
    Now i want to stick to german keyboard, i want to type in what i see on my keyboard.
    How is it possible?

    Hi
    If u bought it in Switzerland, you shouldn't have a German Keyboard!
    It's actually a Swiss German or Swiss France Keyboard. To change the Keyboard Layout you go to System Pref. -> International -> Input Menu -> choose Swiss German / Swiss France Keyboard depending which one you have built in.

  • Issue with special characters in SAP CRM ICSS application.

    Hi ,
    I have issue with the special character in CRM web application.
    1. In CRM IC Webclient application(5.0) . i am copying and pasting some special characters in the description of the service request document. then this is saving the character as it is.
    But when i am opening the same service request in SAP CRM  ICSS(Internet Customer Self-Service) application, then the special characters are converting to different characters.
    I am not sure whether this is the right forum for this or not.
    Can anyone please suggest how can i correct this. Or is there any standard solution to handle the special characters in ICSS.
    Thanks
    Sudhansu

    misunderstood =/
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    it's in output but what is data in database ?
    sorry but without knowing about source data for forming the xml i haven't ideas about your problem
    in db it's "TM " or "™" or ... ?
    Original (Coming - output):  "<PAY_TXT>PAYκ Contact your bank or financial institution to make this payment from your cheque, savings, debit or transaction account.</PAY_TXT>"
    Something like XAE or "K" after PAY Value in the xml tag and continued the text value.  (Tag value is not getting copied exactly here - i am sorry for that )
    that's ok. i need to see the problem not the data as is
    Expected (output):  "Here it needs to produce the "PAY TM" (Here "TM" should be super scripted to "PAY" Value in tag).
    as super scripted in xml?
    as idea - you can have <PAY_TXT>PAY TM</PAY_TXT> and in publisher set TM as super
    Designing XSL Subtemplates - 11g Release 1 (11.1.1)

Maybe you are looking for

  • I need to download all my emails from an html server account and archve them on my PC. How?

    I have a paid email account on Spamcop, which will be shut down in a few days. I want to download all my emails, inbox and sent-mail, to my PC and archive them -- before deleting them from the server. I currently have a "mirror" of the server in Thun

  • Can I use my old number for the new iPhone 5?

    I have an ordinary O2 SIM card that in would like to use for the new iPhone 5, I would love to keep my old number because it would be too much hassle with a new number, is this possible?

  • To write text in FI

    I need to write to a text in FICO module. The requirement is to read a text using READ_TEXT and if read is sucessful, then I should concatenate the old text and the new text and overwrite the old one. We are running a BDC, where the screen allows mul

  • Subnet config and switch layout for windows 2012 ISCSI server

    I would like to ask about subnet design and switch layout in regards to using a Windows 2012 ISCSI solution. When you guys design subnets for ISCSI configurations do you use one subnet or multiple subnets?  Also do you link the switches together when

  • "scratches" on graphics and strange drop shadow

    I am using Indesign CS3 on Windows XP. I am making an entry form for a bike race. There are 4 photos on the cover - all the same odd shape - a rounded lumpy shape. All have the same drop shadow. I can't understand why one of the drop-shadows is diffe