Japenese character in Excel

Hi all,
need some help regardig the Japenese character in the Excel. Data in Japenese character is shown in debugger in the internal table. but when it is send to the mail in the excel format using the function 'SO_NEW_DOCUMENT_ATT_SEND_API1'. the Excel contains some junk character not in japenese.
We also tried using the Japenese login ,
Setting the Japenese codepage in the Logon page,
Using the Excel in Japenese format.
Please provide some inputs
Thanks in advance
Regards,
Saurabh Goel

Yes , Japenese font is installed ...... please provide some more inputs..
thanks in advance
Regards,
Saurabh Goel

Similar Messages

  • GUI Download Chinese Character to Excel gibberish character

    Hi Experts,
    I'm facing a problem where I'm using FM gui_download to save Chinese Character into Excel file.
    Upon double click to open the excel file, funny character shows up.
    But if I were to open the same file using a blank Ms Excel application (Go to File->Open->choose file),
    Excel will prompt me to select a proper encoding (GB2312 in this case), and the Chinese character can be seen thereafter.
    But, my user doesn't want to go through this.
    I've browsed through the forum and someone has posted about this before and it's unanswered.
    How to download the chinese character using GUI_DOWNLOAD - unanswered
    And, Re: GUI_DOWNLOAD give 2 bytes for each chinese character - I need fixed len which is not related to my problem.
    Below is my code:
    DATA: lv_codepage   TYPE cpcodepage,
            lv_char_cpage TYPE abap_encod,
            lv_encoding   TYPE abap_encod.
    Get Code Page for Chinese Character Spras = '1' or 'ZH'
      CALL FUNCTION 'NLS_GET_FRONTEND_CP'
        EXPORTING
          langu                 = '1'   " Chinese Simplified Table T002
          fetype                = 'MS'  " Manufacturer is Microsoft Table TCP05
        IMPORTING
          frontend_codepage     = lv_codepage
        EXCEPTIONS
          illegal_syst_codepage = 1
          no_frontend_cp_found  = 2
          internal_or_db_error  = 3
          OTHERS                = 4.
    Conversion c(4) = n(10)
      lv_char_cpage = lv_codepage.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'                       "tried ASC and not working as well
          codepage                = lv_char_cpage   "8404 in this case tried 8400 and same result
          replacement             = '#'
          write_field_separator   = 'X'
        TABLES
          data_tab                = i_data_cnvr        "table content
          fieldnames              = i_data_head      "table header
    Please help. Does this has something to do with utf-8 encoding?
    Thank you.
    Thanks,
    ZY See

    Hi Nitesh,
    Is there a way to check the Excel codepage? Do you mean by codepage = 936 for GB2312 encoding?
    Anyway, this issue is fixed. Issue is related to unicode system.
    Below codes for gui_download solved the problem.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
          codepage                = '4103'
          replacement             = '#'
          write_field_separator   = 'X'
          write_bom               = 'X'
        TABLES
          data_tab                = i_data_cnvr
          fieldnames              = i_data_head
    Codepage = 4103 for utf-16 Unicode system.
    Write-bom = 'X' to write Byte-Order-Mark.
    Thanks,
    ZY See

  • Data upload Vendor Master Chinese character from Excel does not upload

    Hi Gurus,
    We are trying to upload Vendor Master from Excel sheet.
    The Chinese characters in excel sheet is not getting uploaded.
    After upload, we see in SAP as ????? for these Chinese character.
    Could any one inform what setting I may need to change?
    Thanks and Best Regards,
    Mohan

    Hi Bala,
    Goto he Initial screen of SAP and click the ALT+F12    costomizating of local setup.the choose the options-->choose the I18N Tab in that POP up and check the Activate the multi byte support.
    press Apply and OK.
    close the  SAP Log on and Re-loag on.if u r not closing the Logon screen the changes wiil not effect.
    or
    click on the log on SAP and choose the server  name -->right click ->Properties>chose the log on language as chanies .-->Apply and Logon.
    Now u can eassily Upload to the Excel in checnies language.
    Thanks & REgards,
    Nelson.

  • How to Export the chinese character in excel using java

    Hi,
    Our application using in English, German, Franch and chinese.
    String chineseCharacter=""; // chineseCharacter like 長长牀床東东彿佛. This chinese data coming from oracle database..
    My code
    BufferedWriter printer = new BufferedWriter(new OutputStreamWriter(responses.getOutputStream(),"utf-8"));
    responses.setContentType("application/download");
    responses.setHeader("Cache-Control", "cache");
    responses.setHeader("pragma", "cache");
    ExcelCSVPrinter outcr = new ExcelCSVPrinter(printer);
    String displayname="ChineseReport.csv";
    responses.setHeader("Content-Disposition","inline; filename=\"" + displayname + "\"");
    outcr.write("Report Header Name");
    outcr.writeln();
    outcr.write(chineseCharacter);
    outcr.writeln();
    After export the data to excel show the result for 長长牀床東东彿佛. But not show the original result 長长牀床東东彿佛
    I use the following stmt
    responses.setContentType("text/html charset=UTF-8");
    Its shows the correct result for chinese character.
    I use the below statement
    responses.setContentType("application/download; charset=UTF-8");
    or
    responses.setContentType("application/vnd.ms-excelset;charset=UTF-8");      
    or     
    responses.setContentType("application/vnd.ms-excel;charset=UTF-8");
    The out put show the in the excel sheet ???????? or some other jung characters.
    What can i do here?. After export,I want to show the original chinese character in the excel sheet using the ExcelCSVPrinter.
    Thanks & Regards
    Thendral
    Edited by: palanithendral on Dec 24, 2009 5:14 AM
    Edited by: palanithendral on Dec 29, 2009 11:41 AM

    palanithendral wrote:
    Hi,
    Our application using in English, German, Franch and chinese.You have several different idioms in your application and have not accurately identified where the actual problem is. You have all of the following
    -database
    -http
    -excel
    -excel in http
    -display on the target computer
    The first step with these sorts of problem is to identify where the problem actually occurs.
    String chineseCharacter=""; // chineseCharacter like 長长牀床東东彿佛. This chinese data coming from oracle database..A good theory. Now explain how you proved that that is what is coming from the database.
    After export the data to excel show the result for 長长牀床東东彿佛.As another example. Presumably you are referring to what the browser on the target computer displays. Your theory is that that computer and that browser (together) will display the correct information if they had the correct data. How did you prove that?

  • Save null character to excel

    Because MS Excel cells expect null terminated strings, I'm losing data when writing to Excel using active X from LabVIEW. What I am doing is typecasting an array to a string, and storing that string in a single Excel cell. But, if that string has a null character, all data after it is lost. Has anyone overcome this, and if so, how? The reason I want to do this is because my Excel spreadsheet is formatted in the following way
    run1, set1, graph1 array, graph 2 array...graph10array
    run 1, set 2, graph1 array, graph 2 array...graph10array
    run2, set 1, graph1 array, graph 2 array...graph10array
    run n, set n,graph1 array, graph 2 array...graph10array 
    This allows me to search for "run n, set n" and get all the corresponding graph data very easily. Also, unfortunately, using a database is not exactly an option .
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.

    Matt,
    Thanks for your response. The first two are customer driven. Their old format was in a DB and they want to keep that format, but move to excel so they can access other data visually from within Excel. If I was to put the graph stuff in a separate file, i'd then have to map to other files, check to make sure the files are there, etc.
    Encoding and reencoding strings crossed my mind. However, this could potentionally cause "unencoding" of something I don't want to be unencoded. For example, let's say I replace all null characters with a, but then there is an a in the typecasted string which I don't want replaced. It will be replaced anyways. Is there a way around this? I'm thinking maybe do something like replace a null character with the ascii characters NULL. Then use a regex to search and replace. 
    The last one would work and I may just map the data to columns on a different sheet and write all the points.
    Matt W wrote:
    Here's some ideas
    Option1: Don't use excel use tdms instead, combine run and set into the group names, and put the graph arrays into channels, this should be much faster, and easier to deal with 
    Option2: Is there a reason a self contained database wouldn't work. Like the SQLite API for LabVIEW
    Option3: Reencode your strings so they don't contain \0, then unencode them when you read them.
    Option4: Change your format (each sample from the graphs goes into it's on cell)
    CLA, LabVIEW Versions 2010-2013

  • Special character in excel

    Hi Friends,
    I am using CL_BCS class to send mail with attachment (zip contains excel file). Inexcel , one field has string value , and starts with double quotation mark . if excel finds double quoats, then it is displaying all the columns in that field only. for ex;if 4 records are there , then it is displaying 2 records with particular column which has double quoats, displaying 2 records in that field.
    thanks in advance
    regards,
    kani

    If string starts with double quotes ,it should end with double quotes. otherwise next records get concatenated.
    before i used double quotes at the starting of string .Now added one more quote at the end.Working fine now.

  • Language Conversion : Getting junk character in excel file

    Hi Experts,
    I am getting one issue while sending data in form of email. I have certain data in ALV output & I am sending that data through email using one custom function module.
    This function module is sending data as ZIPPED file. If we open the ZIPPED file it is displaying file as .XLS file.
    Now the issue is that material description is maintained DE language & in output that description is coming proper i.e. whatever maintained in DE language.
    But when ever I am receiving email, the DE text gets converted to zunk character. While debugging I found that data is properly populated in internal table prior to using Custom FM.
    Can anybody will suggest how I can resolve it?
    Thanks,
    Neha

    Hi,
    The problem might be in zipping. The sender(zipper) and the receiver(unzipper) must use the same codepage.
    /Simo

  • Character in excel

    i create report containe employee bank account and i have to converted to excel using button in the report page
    table is like this
    (empno number(8),
    bank_acc char(23),
    salary number(13,2))
    it work fine but my problem is most of the account start with zero like (000000546789) in report its appear okey but when i converted to excel its appear like this(2.36098E+11)
    im using procedure RPT2XLS

    Hi
    try to print it or create a pdf from and check.
    sometimes special characters will not be displayed in print preview.
    regards,
    Ramya

  • Write japenese character in pdf file

    Hi,
    Please give me some ideas related to how to write NON ENGLISH CHARACTERS in pdf file using JAVA.

    sasikesavan wrote:
    Please give me some ideas related to how to write NON ENGLISH CHARACTERS in pdf file using JAVA.A Java String can contain Japanese characters, providing there is a Unicode value for it (highly likely), but how it gets translated will depend very much on what you're using to generate your PDF document (it may even be automatic).
    Winston

  • Tab character in repot opening as a CSV in Excel

    In our application we are opening the report in (CSV format) browser and saving as a txt file.When we open the the report in an Excel sheet as coma as the delimiter, end of each line appearing a control character for Tab which is not accepted by the client.
    The work around of selecting coma and tab as the delimiters while opening in Excel will eliminate the problem but not accepted by the client.
    We are using Reports6i and J2EE.
    Pls provide a solution to avoid this control character in Excel.

    Hello Arun,
    Reports does not automatically insert any TAB control character at the end of each line in the generated delimited format text file. Only the specified delimiter character will be used to seperate indivdiual data values. You should see the same delimiter character at the end of each row in the text file.
    Please try to first generate your report to a delimited format text file directly, using the either the Reports Runtime (rwrun60) or Client (rwcli60), using a comma delimiter. Verify whether you are able to import this file correctly into Excel, without seeing any control characters. If so, the output generated by Reports is accurate, and there could be a problem in the file saved by the browser.
    Thanks,
    The Oracle Reports Team.

  • Japanese unicodes/characer are not displayed properly  in excel sheet

    hi
    all
    can any one help me How to display Japanese character in excel sheet when i am exporting a excel page from a jsp
    please help me
    thanks in advance

    Hi Pankaj,
    Refer the below code, you will get it:
    REPORT ZSBK_DOWNLOAD_IT_TO_XL_FILE.
    PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'c:\tmp\test.xls'.
    DATA: t100_Lines TYPE STANDARD TABLE OF t001 WITH DEFAULT KEY.
    SELECT * FROM t001 INTO TABLE t100_Lines.
    CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
    EXPORTING
    i_filename = p_file
    TABLES
    i_tab_sap_data = t100_Lines.
    Thanks.
    Note:Reward points if u find useful.

  • Chinese word download to excel

    How to download a Chinese character into excel thoru=gh GUI_DOWNLOAD>
    I have passed the parametr CODE PAGE as '8400'.But still some kunk character is coming.how to do this?
    Thanks in Advance.

    Hi anu,
       Im not sure, but try this one.
      Set the sy-langu as chinese.
      For example: for japanese
    v have to set it as sy-langu = 'jp'.

  • Sending with email with excel attachment.

    I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' . Its is working fine but I want display header on the top of list in excel.
    I tried with  inserting a row in the Internal Table (obviously the first row with index 1) with all the header contents. And after that I appended the desired data to the Internal Table. But this column taking 255 character in excel sheet. how to delete this extra space
    Please help me how to add header in excel sheet.
    Thanks in advance.

    Hi Ramu,
    U can try This.
    1 - Go to Tools -> Macro -> Macros. Specify any name for the macro (let's say "NoSpaces") and click "Create"
    2 - Copy-paste the following code in the editor:
    Sub NoSpaces()
    Dim c As Range
    For Each c In Selection.Cells
    c = trim(c)
    Next
    End Sub
    3 - Close the editor and come back to your excel workbook
    4 - Select the cell-range and go to Tools -> Macro -> Macros. Select "NoSpaces" and then click "Run".
    This will help you get rid of all the unwanted trailing spaces.
    Regards.

  • Chinese character and GUI_Upload

    Hello,
    Does anyone know how to upload Chinese character from excel file using GUI_UPLOAD?
    I already changed the code page (8400) and it's still not working.
    Regards,
    Andréa

    Have you tried to change the file code page to UTF-8?
    I had some problems with code page and it solved.

  • Chinese csv file export to excel using POI

    Dear all,
    I would like to read the csv chinese data to excel using POI in java but the character in excel is corrupted. How can I solve it? Please help me. Thank you!
    Regards,
    kzyo

    Use the correct encoding for the reading and writing streams.

Maybe you are looking for

  • Emails in Mail OS X

    So here's the thing. i erased a few contacts from my address book and when i start typing the first few letters of the person i want to email, i notice that the person whose information i erased still appears in the To: box. This is really annoying.

  • Black Border on Canvas

    I'm sure this is something real simple, but I have a black border on the top and bottom of my canvas (Final Cut Pro 7) but not in the Viewer. It must be some simple setting I'm missing - any thoughts on how to correct it? Much appreciated. Final Cut

  • Dump while calling HR_INFOTYPE_OPERATION

    Hi, I'm calling HR_INFOTYPE_OPERATION and I'm getting a short dump with ASSIGN_BASE_TOO_SHORT error. It's occuring on the line: ASSIGN record TO <record> CASTING TYPE (tabname). and it appears to be because the field symbol <record> is blank? Can som

  • What is Business Object!?

    Hi everybody, I'm newby in all of this, i mean SAP, i do some things in PI, but now i need to work with Business Objects, and i really don't have idea. I was looking for information about it but i didn't find something that explain what is business o

  • 'processing file' for downloaded items.

    I have been trying to download a TV show for a couple of days now and all it keeps saying is 'processing file'. Why isn't it downloading completely?