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.

Similar Messages

  • ALV Excel Download problem ( Special Character)

    Hi,
    I am unable to download completely in XLS format from ALV grid. When i tried in couple of ways there is a special character( " ) in one of the filed. Due to the same Excel download has some problem. I tested by removing those and it worked fine, 
    Please suggest me to solve the issue.
    Thanks,
    Bhanu Gattu,

    Data strings with special characters can not be downloaded into XLS format from ALV grid. In my case, I replaced the special character " with space and I could download the data into excel.

  • Saving webi document from BOXI 3.0 in excel with special character

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

  • Reg: Special Character Appearing in Excel O/P.

    I am getting excel output generated via an Oracle report (CSV format). In the excel output, I am getting a special character for TAB (Chr9, a box). Since user wants to sort the data, because of this character they are not able to sort data in sheet properly.
    Can anyone suggest what could cause this special character to appear in the report output? I am looking from layout perspective also. Is this has something to do with the printing style applied to the concurrent program?
    Thanks In advance.

    I had the same problem and this is what I did, works great. You have the total control.
    function BeforeReport return boolean is
    fp text_io.file_type;
    begin
    -- creating a file name
    :CP_filename := 'C:\Gap'||to_char(sysdate,'MMDDYYHHMISS')||'.csv';
    -- Opening the file in write mode
    fp := text_io.fopen(:CP_filename,'w');
    -- writing the column headings into the file
    text_io.put_line(fp,'"Platform","Sys#","GapType",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    and then where ever it is suitable, depending on the requirement, write into file by opening it in the append mode.
    function R_G_systemplatformFormatTrigge return boolean is
    fp text_io.file_type;
    begin
    --     srw.message(99,:dname);
    fp := text_io.fopen(:CP_filename,'a');
    text_io.put(fp,'"' || :systemplatform || '",');
    text_io.put(fp,'"' || to_char(:sysno) || '",');
    text_io.put_line(fp,'"' || :CF_gaptype || '",');
    text_io.fclose(fp);
    return (TRUE);
    end;
    This works great. Hope this helps.

  • Special Character Problem In MS Excel

    Hi All,
    I have a field like Ship to Name and value of that field is 'Fire Systems US - Northford ' .When we download this field into Microsoft excel we are getting like Fire Systems US âu20ACu201C Northford . Hear special character (âu20ACu201C) is updating insted of Hypen(-).
    How can we download the the same ship to name with out any special character in Microsoft excel.
    Please help me.
    Thanks,
    Venkat

    Hi Venkat,
    If you can verify that whether the special character is from SAP or excel. This you need to verify by de-bugging in SAP and then by opening the downloaded file in notepad.
    Please refer the link below for details:
    Link: [Re: FM: GUI_DOWNLOAD not picking initial zero]
    Regards,
    Pranav.

  • Special character (Space) coming in excel output

    Hi,
    I am using rtf to develop a XML report. The output type is excel so I am using force Ltr property to allign few fields. But I am getting special character when I copy and paste a value of the O/P in the notepad. When I don use Force LTR the problem is not there but the allignment goes for a toss. So is there any way by whcih the issue can be resolved keeping the force LTR.?

    This seems to be a BUG, please share if there is any workaround for the above issue.
    I have tried below approach in order to retain leading zeros.
    Excel Output From BI Publisher or XML Publisher is Trimming Leading Zeros [ID 417811.1]
    Thanks in advance.

  • Special characters during excel upload.

    Dear all,
    We are using BI7.00. For one of our reports which is through excel, we have a field which will have value as special character "u221A "  which we do using symbol in Excel.
    When i convert this as .csv file, the special character is changed as "?".
    Anybody who can explain how to achieve this function in BI, what formatting should be done in .csv file.
    Experts advise expected.
    Regards,
    M.M

    Hello Mangesh,
    You can use the function module SCP_REPLACE_STRANGE_CHARS in the transformation to replace them.
    Or,
    Goto RSKC T-Code and permitt that Char.
    Hope it helps u,
    Regards,
    SD

  • Send special character by mail

    We are creating an XML spreadsheet that is sent by mail, and we are requested to show in a cell the special character Delta (u0394).
    The overview of the process is the following:
    - We create an XML file through IF_IXML interface, with enconding UTF-8 Little Endian.
    - Then we render XML into an internal table.
    - At last, we send the XML spreadsheet (the internal table) as an attached file by mail through SO_NEW_DOCUMENT_ATT_SEND_API1.
    The problem we are facing is the following:
    If we try to put Delta (u0394) as a character in a data tag (it's a variable of type String), SAP is turning it as '#', and not showing the character.
      DATA: o_cell TYPE REF TO if_ixml_element,
            o_data TYPE REF TO if_ixml_element,
            v_string TYPE string.
    * Crea una celda
      o_cell = o_xmldoc->create_simple_element( name = 'Cell'
                                                 parent = o_row ).
    v_string = 'u0394'.
    *   Crea un dato
        o_data = o_xmldoc->create_simple_element( name   = 'Data'
                                                   parent = o_cell
                                                   value  = v_string ).
    When you open the file in Excel, the '#' character is shown instead of  'u0394'.
    How can I show that Delta character (u0394) in the XML spreadsheet file I am sending?
    Please tell me if more information is needed.
    Thanks in advance,
    Martin

    I tried like you said:
      DATA: o_cell TYPE REF TO if_ixml_element,
            o_data TYPE REF TO if_ixml_element,
            v_string TYPE string.
    * Crea una celda
      o_cell = o_xmldoc->create_simple_element( name = 'Cell'
                                                 parent = o_row ).
    v_string = '& #916;'.                                           'Added a space in the middle to show the HTML entity code in the forum
                                                   parent = o_cell
                                                   value  = v_string ).
    But SAP is tranforming my XML text to:
    <Cell>&amp;#916;<Cell>
    ( &amp; is the HTML entity for '&')
    How can I put Delta character so that SAP turns it in the right HTML entity &#916;
    Or how can I manage so that the cell value generated is:
    <Cell>&#916;<Cell>

  • Dtw gives special character while importing the data

    Hi all
    I m trying to update business partner and my template file is tab delimited but I don't know why my all business partner updated with special character " like this "" even I tried to update from CSV also ??
    Can anybody help me to remove or update this special character from business partner name as well as bill to address , block, building, city  by query or any other way ??
    Thanks
    Ricky

    Hi ricky 1,
    Before you upload the CSV/TXT file, open it up in a Notepad.
    You will see the "hidden" quotation marks that don't appear in Excel.
    Use the replace function to remove them, save it, then upload again.
    Kind Regards,
    Nick Lakasas

  • LSMW: Convertion of special character turn into #

    Hi all,
    Ich am Ulpoading a file in the step 'READ DATA' in LSMW and when I check the result in the next step 'DISPLAY READ DATA' I see that the upload (i do not know if LSMW make an WS_UPLAOD or GUI_UPLOAD or another function) converts a special character that we use in Portugal
    in the file:           Fabricação
    in LSMW after Upload:  Fabrica##o
    The file was an Excel which I saved as txt (tab delimited)
    Who can help??????
    Thanks
    Picasso

    Hi Picasso,
    LSMW is having 'GUI_UPLOAD' function module to upload data.
    GUI_UPLOAD FM is having import parameter CODEPAGE.Whose functinality is to take care of such special character.
    Include which is called for READ DATA step, you can very wel find out that the codepage is not suitable for your Portuguese language.
    Do one thing write an BDC...Call GUI_UPLOAD FM and then Pass CODEPAGE number.
    codepage number you will get from  tcp00 table.
    here is example to take care of special Japanese character:
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = l_ws_path
          filetype                = 'ASC'
          has_field_separator     = '#'
          codepage                = '6300'
        TABLES
          data_tab                = i_aenr
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.

  • Error while releasing transport request -  Special character "_" in generic

    Hi all,
    we're receiving the error  Special character "_" in generic key  when releasing a best practice transport.
    Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
    but we have only one entry where field BWERT has a wildcard '*' as entry.
    Does anyone has  some idea how to solve this ?
    kind regards !

    Hello Bjorn,
    How did you get this solved?
    I'm having nearly the same issue:
    A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
    60, there's no message rejecting the entry.
    Regards

  • Error "TK287" when releasing a request - Special character "_" is invalid.

    I have some tables in Solution Manager and having some warnings:
    Table: CRM_SVY_DB_ST
    Field value:CRM_SVY_GENERATE_BSP_TEMPLATE.XSLT
    Field: TRANSFORMATIONID
    It doesn´t accept the special character "_"
    Below the error when releasing and the explanation of the error in the sequence.
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_               
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                                               
    Key messages: TABU CRM_SVY_DB_ST 300DSWPCI_SERVICE_FDBCK 0000000000DCRM_             
    Special character "_" in generic key                                                 
    Explanation of the error:
    Special character "_" in generic key
    Message no. TK287
    Diagnosis
    The generic key 300DSWPCI_ISSUE_FDBCK 0000000000DCRM_ was entered for the object CRM_SVY_DB_ST. All keys that match up to the asterisk are to be transported.
    The key cannot have any special characters before the asterisk, since they are interpreted in different ways by different database systems.
    The key contains the special character _.
    System Response
    The entry is rejected.
    Procedure
    Extend the generic entry, or specify all keys individually.

    Hi,
    Go through SAP note 711103 & 688363.
    Regards,
    Sachin Rane.
    Edited by: Sachin Rane on Mar 12, 2009 2:48 PM

  • File Adapter - special character in Filename

    Hi,
    i have a question concerning file adapter.
    Scenario: we are polling files via file sender adapter (FTP).
    Problem: if the filename contains a special character, an error is thrown with 'The System cannot find the file specified'
    Scope: Special character in filename (not in payload)
    Installed: XI 3.0 SP 19 on Linux
    Questions:
    - what FTP implementation does XI use?
    - What do i have to check/upgrade to unicode?
    - is it an OS problem or an Java problem or a XI problem?
    - or is it not possible copiing files with special characters in filename?
    Thank you very much in advance.
    Michael

    Hi Michael,
    The file/FTP adapter supports both passive and active FTP data connection. You can select the data connection while configuring the adapter.
    The file/FTP adapter follows specification RFC 959. The specification can be found on the Internet under  www.ietf.org/rfc/rfc0959.txt.
    For FAQs about the file/FTP adapter, see SAP Note 821267. Please note that you'll need an account to log in on service.sap.com.
    Question: How are you specifiying the file name? i.e. Are you using placeholders, like ?, *, *.txt, etc ?
    If there's a problem with the filenames, then it should be a problem in the JAVA implementation of the adapter I assume. So you could for instance build your own adapter extension to by-pass that problem.
    Just for your information; I haven't encounter a problem with filenames in other projects.
    Good luck!

  • Xml publisher reprot - special character problem

    I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
    A semi colon character was expected. Error processing resource.
    Below is the code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select pv.vendor_name          
            from po_vendors pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_vendor_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<VENDOR>';
          xmldata := xmldata||' <LIST_VENDOR>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<VENDOR_REC>';
              l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
              xmldata :=xmldata|| '</VENDOR_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_VENDOR>';
          xmldata := xmldata||'</VENDOR>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END VENDOR;
    END XML_RPT;can any one advice.

    Duplicate post ? xml publisher report problem
    Srini

  • How can I use Greek symbols in a text in Pages? Greek symbols are not in the special character list.

    How can I use Greek symbols in a Pages text? Greek symbols are not included in the special character collection.
    I need to import for example a sigma from Word or Adobe illustrator and then Pages can recognise it. I can not find it from within Pages.

    Special character palette from the edit menu does have sigmas under European ... > Greek ...
    You can do a search at the bottom of the Special Character palette. Double click on the greek capital letter sigma. You will get a lot of sigmas.

Maybe you are looking for

  • IPhoto '08 and Leopard

    I am using an iMac G5 with 1.5 GB DDR SDRAM, 160 GB Hard Drive and recently upgraded to OS 10.5.1 Leopard. I am using iPhoto '08 Version 7.1.1 (354) and currently have just over 3000 photos (8.2 GB) in the library. When I try to scroll in the photo v

  • HT4847 What is the purpose of backing up a free 3rd party app to iCloud?

    What would be the purpose of backing up a free 3rd party app to iCloud?  Should you and why?

  • Can't load mwp file with new (10.1.4) workbench

    does anyone have an idea about why i am getting this error? all mwp files open fine in 10.1.3. i can't open any mwp file with this new version and it seems unlikely that they are all corrupt. all i have done is change the oracle and jaav home env var

  • Cannot download videos

    I recently bought an Ipad and used a digital camera to take short videos and a few pictures. They were successfully transferred to my Ipad and I could view both pictures ( jpeg) and videos in the Ipad. However I am unable to download the videos to my

  • Dsc alarm control bug?

    Hi all, The alarm list control retains the process watch list when a VI is copied between computers. This will make the VI both load and execute very slowly when a program starts, presumably as it will try to connect or located the processes on the o