Error of Special Characters in Export to Excel

Hi,
I guess the error you are getting is a Parser error. To solve this problem, before putting the data on the XML file, you have to pass the data through an encoding process. For UTF-8 the code for encoding should be something like.
  public java.lang.String encodeSpecialChar( java.lang.String attributeValue )
    //@@begin encodeSpecialChar()
          //Created By : AVIK SANYAL Date : 28 March 2008.
          //          Check for special characters like "&" in the String.
          //      replace "&" with "&"
          //      Returns the new encoded String.
          try {
               if (attributeValue != null) {
                    attributeValue = attributeValue.replaceAll("&", "&");
                    attributeValue = attributeValue.replaceAll("<", ""&lt;"");// this is & lt
                    attributeValue = attributeValue.replaceAll(">", ""&gt;"");//this is & gt
               } else {
          } catch (Exception ex) {
               //          wdComponentAPI.getMessageManager().reportException(
               //               "Failed to convert the character.",
               //               true);
          //Returns the encoded String.
          return attributeValue;
    //@@end
Try this and let me know if this works. The reason is that in Binary Cache method, the data is passed in an XML format and the MS-Excel application reads this to show it in the spreadsheet. The characters '&', '<' and '>' can cause failure in reading from this file.
Thank You
Avik
Edited by: AVIK SANYAL on Sep 12, 2008 10:45 AM

OK....!!!!!
just download the Excel file (*.xls) and try open with Word-MS. In the document search by the string that you have mentioned in the question. (Use Ctrl +F).
If you see something like "ABC bla bla ba & instead of  &amp ,  then you have to pass the data through the code I've mentioned.
You can get more details on encoding special characters UTF-8 in Google.com or Sun Websites etc.
You can also encode the & in hexadecimal format to get the desired output.

Similar Messages

  • I am with error of special characters in the hour to matter given in BI 7

    Good afternoon, I am with error of special characters in the hour to matter given in BI 7
    <a href="http://img234.imageshack.us/my.php?image=erroau3.jpg" target="_blank"><img src="http://img234.imageshack.us/img234/4083/erroau3.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a>

    OK....!!!!!
    just download the Excel file (*.xls) and try open with Word-MS. In the document search by the string that you have mentioned in the question. (Use Ctrl +F).
    If you see something like "ABC bla bla ba & instead of  &amp ,  then you have to pass the data through the code I've mentioned.
    You can get more details on encoding special characters UTF-8 in Google.com or Sun Websites etc.
    You can also encode the & in hexadecimal format to get the desired output.

  • Problems with special characters when exporting to LDAP

    Hi,
    Im using standard report RPLDAP_EXTRACT to export data to LDAP. The problem is that the special characters (in this case polish letters) do not save correctly (we get for instance '?' instead of normal letter)
    I tried switching the configuration of the RFC destination (used: 'found communication Code Page option') but I get a message: "Your selection is restricted" and cannot make any changes.
    Can anyone please help in this matter?
    Regards,
    Hubert

    1) Your database should be able to handle and properly store all the supported charactersets needed. With UTF you are in the clear regarding storing all that kind off idfferent characters
    See http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    2) The recieving party (the cleint software) hopefully has a character set that supports all the characters that are offered by the database and can encode them. If not then you get toe upside down question markt or dark squares or something alike. If the client software is a browser, for instance windows internet explorer, then most encoding settings are buildin and you only have to switch. Sometimes you will have to add extra language support on Windows Internet Explorer. This behaviour is also the same on thick clients. Oracle by default sets these parameters in the registry, but on windows the can be overrulled on several levels like on system level, user level (start --> settings -- control panel --> system --> advanced tab --> environment settings) and or during execution via a app. configuration file or an export of the system variable on the command prompt... A unified business approach for how to handle this is needed otherwise you will have too look for these kinds off issues always all over the place (on windows and/or linux etc).
    Have a look at Mark's example of how things work regarding UTF and the like on the FAQ URL on this forum and the URL as show above. If completely lost, you will have to read up on it in the Oracel globalization / NLS manuals and see what is appropriate / can be done in your environment.

  • Sapscript -  error in special characters

    I have a workflow task with the description which ends up getting sent out via email.
    I am entering the following in the description line.
    <a href=http://www.msn.com> MSN </a>
    What is occurring in the output is that the “<” is being translated to “&#060:”
    According to what I can find the “<” and the “&” are special characters. We are able to get around the “&” by doing the following “<(>&<)>”, but I cannot seem to figure out what the trick is for the “<”.

    Hi !
    You could trie to mark this line as a "raw line" / marked as ( . Then SapScript does no formating in this line.
    Here's some of the SAP-Help infomtation:
    (   Raw line                                                          
        The subsequent editor line is not interpreted by the SAPscript    
        composer during output formatting. This means that character      
        formats, symbols, tab characters, masking characters, or          
        hypertext links which may be contained in this line are not       
        evaluated and are therefore passed unchanged to the output        
        device. The text contained in this line is also appended          
        directly to the character of the preceding text line which was    
        output last. If this is not required, there must be at least one  
        blank at the beginning of the extended line.                      
    /(  Like raw line                                                     
        But the subsequent text is placed in a new line during output     
        formatting.               
    Regards
    Rainer
    Some points would be nice if that helped a bit.

  • Error while deploying iview for export to excel

    Hi,
    I am trying to Export Data into Excel in VC.
    If I will Compile then its ok No errot.
    But while deploying its giving a error like
    Error in compiling Flex application: Error 1002: String literal was not properly terminated
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:514)
    Error 1033: ';' expected
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:515)
    Error 1025: Left side of assignment operator must be variable or property.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:516)
    Error 1025: Left side of assignment operator must be variable or property.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:517)
    Error 1033: ';' expected
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:518)
    Error 1205: The statement '' is incomplete.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:516)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:518)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:519)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:520)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:521)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:548)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:575)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:602)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:629)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:656)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:683)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:710)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:744)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:786)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:798)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:799)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:801)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:823)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:831)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:856)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:857)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:858)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:860)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:867)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:907)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:952)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:953)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:954)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:956)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:963)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1005)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1050)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1051)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1052)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1054)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1061)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1090)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1124)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1178)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1189)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1200)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1211)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1222)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1233)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1244)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1255)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1266)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1276)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1291)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1306)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1321)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1335)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1351)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1366)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1378)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1392)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1408)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1423)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1435)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1449)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1465)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1480)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1488)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1540)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1544)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1548)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1552)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1556)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1560)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1564)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1568)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1572)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1576)
    Error 1128: Attribute used outside class.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:19)
    Error 1000: Syntax error.
          (E:\usr\sap\ND1\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\BI_Dashboard2_25807\FLEX_COMPILATION_FOLEDR\AAD6LK.mxml:1592)
    Failed to compile AAD6LK.mxml
    Please suggest me.
    Regards,
    Kiran

    Hi,
      I am also facing the same problem.Can you suggest the solution? as well as the formula you used.
    Regards,
    Karthik

  • Error While ALV Grid is exported to Excel.

    Hi Experts,
    I get an error OBJECTS_NOT_CHARLIKE , while I try to download an ALV Grid , to an excel file using the standard icon Export  present on the ALV Grid.
    Regards.
    Edited by: sunitha j on May 19, 2009 1:15 PM

    This happens when your output list contains qty. or amount fields.
    To fix the error use sap table name instead of your internal table name while preparing field catalog.
    In case you are forced to use int. table name while preparing field catalog , add "quantity" field for qty figures and "currency" field for amount figures.
    Example :
    it_catalog-fieldname = 'MENGE'.
    it_catalog-quantity = 'NOS'.
    it_catalog-tabname = 'i_bseg'.
    it_catalog-seltext_s = 'Quantity'.
    APPEND it_catalog TO it_fieldcat.
    it_catalog-fieldname = 'DMBTR'.
    it_catalog-tabname = 'i_bseg'.
    it_catalog-seltext_s = 'Amount'.
    it_catalog-currency = 'INR'.
    APPEND it_catalog TO it_fieldcat.

  • Special characters and exporting to CSV

    I'm trying to concatentate a number of strings and cells containing strings to return a single string which will also contain double and single quotes. Such as
    "The is 'my' return string and I need "this" in double quotes".
    Is this possible?
    The second part of this is that i then need to export this as a CSV file however when I've exported double and single quotes from Numbers they appear in the CSV as some unprintable weird figure rather than " and '.
    Any suggestions would be greatly appreciated, I can't see any documentation going to this level of detail. I've never had this issue with other spreadsheet programs.
    Thanks,

    oops
    I used smart double quotes not smart single ones.
    I edited the doc and here are curly single quotes.
    imported in neoOffice with utf8
    imported in neoOffice with macRoman
    imported in openOffice with utf8
    imported in openOffice with macRoman
    You may find the files in my iDisk :
    <http://public.me.com/koenigyvan>
    Download :
    For_iWork:iWork '09:for_Numbers09:around CSV.zip
    CAUTION
    As my system is French, the CSV are using the semi-colon as separator.
    Take care of that when you import in one Office application.
    I just wish to add that opening a csv describing a spreadsheet in TextEdit is a bit curious
    Yvan KOENIG (VALLAURIS, France) mercredi 14 avril 2010 16:18:16

  • Unable to export to excel

    Hello All,
    I am getting the following error when I tried to export to excel in portal.   We are in BI 7.0
    SAP system data
    Component version - SAP EHP 1 for SAP NetWeaver 7.0
    SAP_BW - 006 (Level) - SAPKW70106 (Highest support Package)
    I am able to see the query output but the following error occurs when I try to export to excel. This happens to only one webtemplete in portal.
    500 Internal Server Error
    BEx Web Application
    Failed to process request; contact your system administrator
    Information for Administrator
    To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
    1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with SAP NetWeaver 7.0 Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1164789.
    2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool  does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
    3. When opening any customer message on this issue, please attach:
    Support Desktop Tool support info ZIP  file according to note 937697,
    Required information for reproduction  according to note 948490.
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
    sun.awt.motif.MToolkit (initialization failure)
    java.lang.NoClassDefFoundError: sun.awt.motif.MToolkit (initialization failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:119)
    at java.awt.Toolkit$2.run(Toolkit.java:796)
    at java.security.AccessController.doPrivileged(AccessController.java:197)
    Can anyone letme know the solution for this problem.
    Regards...
    Balaji

    Hi,
    Please set the parameter "-Djava.awt.headless=true" at server level for the Java virtual machine (VM) as described in Note 723909, point 9.2.
    Thanks,
    Michael

  • Error: export to excel

    There is a standard functionality in crm 7.0 - export to Excel of search results.
    Export to Excel doesn't work on some client computers.
    Error of coding to excel document.
    Client computers:
    1.WinXP SP3
    2. MS Excel 2003 (11.8169.8172) SP3
    3. IE 7.0.5730.11
    Options identical on computers (language, safety options of windows and excel).
    I can not find a solution of a problem. Help me, please.

    Hi,
    May I know the detailed error?
    There will be an error message?
    Or no data transported into excel?
    Or some data can't be exported into excel?
    what is the file, is it csv or xls?
    If the problem only happens to csv, please try to set
      Internet Options -> Security -> <<select sites>> -> Custom Level...
      ->
    Initialize and script ActiveX controls not marked as safe for scripting
    please set it as Enable.
    And there is a note 1403747 which can solve sometimes there is no data exported into excel error.
    if it is some data can't be exported to excel, are there special characters? like " -, please change to xls and retest.
    If still not help, please try to debug into
    CL_CHTMLB_XML_PROVIDER
    GET_XML_FROM_MODEL
    and also some other methods in this class.
    Hongyan

  • XML Publisher report not printing excel output due to special characters

    Hello,
    I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in text content. Error processing resource " and i think these errors are due to the special characters(eg: city/province - A Coruña, Cáceres). If i give rownum < 10 in my query, where there are no such characters it works fine and i am getting an excel output.
    Tried changing the XML encoding and it doesn't help (both mentioned below)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml version="1.0" encoding="UTF-8"?>
    Do anyone have a solution for this
    Thanks in advance
    Edited by: user10317098 on Jan 16, 2012 10:58 AM

    Hi,
    Check this links that might help you..
    https://forums.oracle.com/thread/1018488
    http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
    Here the Exact solution from Oracle
    In the XML PUBLISHER ADMINISTRATOR Resp..
    Click the administration..
    then Click HTML Output
    Then in the Base Image URI Give the url of your application for example
    http://Test.Test.com:8000/OA_MEDIA/
    And then
    Image File Directory give this as per your application setup
    /u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
    Thanks & Regards
    Srikkanth.M

  • Error when exporting to Excel for SharePoint 2010 List

    We have few users who are getting the following error message when they try to export to Excel from the SharePoint list:
    "An operation that uses the database driver could not be completed. If the driver is a Microsoft driver, make sure the driver file isn’t damaged, and if it is, reinstall the driver by reinstalling Microsoft Query. For other drivers, contact
    your database administrator or driver vendor.‘
    The export option works for me on my machine and also tested it out on other users' machines without issues. The list is currently holds 29763 items.
    1. Created a view that filter the list to show few items, and the user was able to export without issues.
    2. Followed the steps in the following Blog:
    http://www.sharepointserverrecovery.com/blog/troubleshooting-problems-when-exporting-sharepoint-list-data-to-excel-spreadsheet-and-fixing-database-corruption/ and the user was able to export the original list.
    3. My colleagues and I don't have any issues exporting to Excel. (Note: even my test account, that does not have any special permissions or members of any SharePoint group(s)).
    4. Some Blog/Forums suggest to increase Threshold limit in Central Admin, which we don't want to do, since the issue only affect certain users.
    Any idea on how to troubleshoot/resolve the issue?
    Thanks,
    Yassar

    Do they have to export all the information or is a subset of it ok? 
    Creating an index on the columns that your users interact with the most and then creating views that limit the returned results will be useful.  This will then allow an export.

  • Export Database With Password Containing Special Characters

    Hi,
    I'm doing a database export using the command:
    exp userid=user/pass@instance parfile=exp_parms.dat
    The problem is that the password contains special characters so the command fails with a syntax error. The command works perfectly fine when I run it without the password and just type it in when prompted, but I need to include the password in the command because I am running it in a batch file. I've tried using the escape character (\), but this results in a username-password mismatch.
    Is there some way of declaring a password containing special characters in the 'exp' command?
    ...Thanks in advanced!

    Hi,
    I'm using linux and this is how I did it.
    I created a user named ddg with a password ddg)ddg
    I did my expdp command like:
    expdp ddg/"ddg\)ddg" directory=dpump_dir dumpfile=ddg.dmp
    Put the password in double quotes and escape the funny character with a \
    Hope this helps.
    Dean

  • After Export to Excel File error while opening using xmlwriter in silverlight

    Can one help me in fixing following issue after to export to excel had done iam getting following error message 
    "The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
    If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
    I tried by changing the file saving as  .xls to .xlsx  but it doesnt works.
    Public Sub Export()
    Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
    Dim DataType As String
    Dim DataValue As Object
    'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
    'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
    Dim XmlSettings As XmlWriterSettings
    Dim ColumnBinding As Binding
    Dim FieldName As String
    Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
    Dim ColumnIndex As Integer
    Dim J As Integer
    Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
    Dim CommonUtil As New GoldCRM.Core.Common.Util
    Dim PropertyInfo As System.Reflection.PropertyInfo
    Dim CellFormat As String
    Try
    If m_DataGrid.Rows.Count = 0 Then Exit Try
    XmlSettings = New XmlWriterSettings
    XmlSettings.Indent = True
    XmlSettings.NewLineOnAttributes = False
    Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
    With myXML
    .WriteStartDocument()
    .WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
    .WriteStartElement("Workbook", ss)
    .WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
    .WriteElementString("Author", m_DocumentProperties.Author)
    .WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
    .WriteElementString("Created", m_DocumentProperties.Created)
    .WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
    .WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
    .WriteElementString("Version", m_DocumentProperties.Version)
    .WriteEndElement() 'Document Properties
    .WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
    .WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
    .WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
    .WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
    .WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
    .WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
    .WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
    .WriteEndElement() 'Excel Workbook
    .WriteStartElement("Styles")
    For I As Integer = 0 To m_Styles.Count - 1
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
    If m_Styles(I).Name <> "" Then
    .WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
    End If
    'ALIGNMENT LOGIC:
    .WriteStartElement("Alignment")
    If Not m_Styles(I).Alignment Is Nothing Then
    If m_Styles(I).Alignment.Horizontal <> 0 Then
    .WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
    End If
    If m_Styles(I).Alignment.Vertical <> 0 Then
    .WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
    End If
    If m_Styles(I).Alignment.WrapText = True Then
    .WriteAttributeString("ss", "WrapText", ss, "1")
    End If
    End If
    .WriteEndElement()
    'BORDER LOGIC:
    .WriteStartElement("Borders")
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Bottom")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Left")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Right")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteStartElement("Border")
    .WriteAttributeString("ss", "Position", ss, "Top")
    .WriteAttributeString("ss", "LineStyle", ss, "Continuous")
    .WriteAttributeString("ss", "Weight", ss, "1")
    .WriteEndElement() 'Border
    .WriteEndElement() 'Borders
    'FONT LOGIC:
    .WriteStartElement("Font")
    Dim myFont As Excel.Styles.Font = m_Styles(I).Font
    .WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
    .WriteAttributeString("ss", "Size", ss, myFont.Size)
    .WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
    If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
    If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
    If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
    .WriteEndElement()
    Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
    .WriteStartElement("Interior")
    .WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
    .WriteAttributeString("ss", "Pattern", ss, "Solid")
    .WriteEndElement()
    .WriteStartElement("NumberFormat")
    .WriteEndElement()
    .WriteStartElement("Protection")
    .WriteEndElement()
    .WriteEndElement() 'Style
    Next I
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, "DateStyle")
    .WriteStartElement("NumberFormat")
    .WriteAttributeString("ss", "Format", ss, "General Date")
    .WriteEndElement() 'NumberFormat
    .WriteEndElement() 'Style
    .WriteStartElement("Style")
    .WriteAttributeString("ss", "ID", ss, "HeaderStyle")
    .WriteStartElement("Font")
    .WriteAttributeString("x", "Family", ss, "Swiss")
    .WriteAttributeString("ss", "Bold", ss, "1")
    .WriteEndElement() 'Font
    .WriteEndElement() 'Style
    .WriteEndElement() 'Styles
    'WORKSHEETS:
    .WriteStartElement("Worksheet")
    .WriteAttributeString("ss", "Name", ss, "WORKSHEET")
    .WriteStartElement("Table")
    .WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
    .WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
    .WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
    .WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
    .WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    .WriteStartElement("Column")
    If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
    .WriteAttributeString("ss", "AutoFitWidth", ss, 1)
    ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
    .WriteAttributeString("ss", "AutoFitWidth", ss, 1)
    Else
    .WriteAttributeString("ss", "AutoFitWidth", ss, 0)
    End If
    If DataGridColumn.Width.Value <= 100 Then
    .WriteAttributeString("ss", "Width", ss, 100)
    Else
    .WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
    End If
    .WriteEndElement()
    End If
    Next
    J = 0
    For Each DataGridRow In m_DataGrid.Rows
    J += 1
    If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
    .WriteStartElement("Row")
    .WriteAttributeString("ss", "Index", ss, J)
    .WriteAttributeString("ss", "AutoFitHeight", ss, 0)
    .WriteAttributeString("ss", "Height", ss, 15)
    ColumnIndex = 0
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    FieldName = String.Empty
    If TypeOf DataGridColumn Is DataGridBoundColumn Then
    ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
    If ColumnBinding.Path IsNot Nothing Then
    FieldName = ColumnBinding.Path.Path
    End If
    ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
    If DataGridColumn.FilterMemberPath IsNot Nothing Then
    FieldName = DataGridColumn.FilterMemberPath.Trim
    End If
    End If
    If Not FieldName.Equals(String.Empty) Then
    ColumnIndex += 1
    .WriteStartElement("Cell")
    .WriteAttributeString("ss", "Index", ss, ColumnIndex)
    .WriteAttributeString("ss", "MergeAcross", ss, 0)
    .WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
    .WriteStartElement("Data")
    .WriteAttributeString("ss", "Type", ss, "String")
    If DataGridColumn.Header IsNot Nothing Then
    .WriteValue(DataGridColumn.Header.ToString)
    Else
    .WriteValue("")
    End If
    .WriteEndElement() 'Data
    .WriteEndElement() 'Cell
    End If
    End If
    Next
    .WriteEndElement() 'Row
    End If
    If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
    .WriteStartElement("Row")
    .WriteAttributeString("ss", "Index", ss, J + 1)
    .WriteAttributeString("ss", "AutoFitHeight", ss, 0)
    .WriteAttributeString("ss", "Height", ss, 15)
    ColumnIndex = 0
    For Each DataGridColumn In m_DataGrid.Columns
    If DataGridColumn.Visibility = Visibility.Visible Then
    FieldName = String.Empty
    If TypeOf DataGridColumn Is DataGridBoundColumn Then
    ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
    If ColumnBinding.Path IsNot Nothing Then
    FieldName = ColumnBinding.Path.Path
    End If
    ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
    If DataGridColumn.FilterMemberPath IsNot Nothing Then
    FieldName = DataGridColumn.FilterMemberPath.Trim
    End If
    End If
    If Not FieldName.Equals(String.Empty) Then
    ColumnIndex += 1
    Dim DataCellValue As Object = Nothing
    If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
    PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
    If PropertyInfo IsNot Nothing Then
    DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
    End If
    End If
    CellFormat = String.Empty
    If DataCellValue IsNot Nothing Then
    Select Case DataCellValue.GetType.Name.ToUpper
    Case "BitmapImage".ToUpper
    DataValue = "Image"
    DataType = "String"
    Case "Hyperlink".ToUpper
    DataType = "String"
    DataValue = "Hyperlink"
    Case "Decimal".ToUpper
    DataType = "Number"
    DataValue = DataCellValue
    Case "DateTime".ToUpper
    If CType(DataCellValue, Date).Year > 1900 Then
    DataType = "DateTime"
    DataValue = DataCellValue
    CellFormat = "DateStyle"
    Else
    DataType = "String"
    DataValue = DataCellValue
    End If
    Case Else
    DataType = "String"
    DataValue = DataCellValue
    End Select
    Else
    DataType = "String"
    DataValue = String.Empty
    End If
    .WriteStartElement("Cell")
    .WriteAttributeString("ss", "Index", ss, ColumnIndex)
    .WriteAttributeString("ss", "MergeAcross", ss, 0)
    If Not CellFormat.Equals(String.Empty) Then
    .WriteAttributeString("ss", "StyleID", ss, CellFormat)
    End If
    .WriteStartElement("Data")
    .WriteAttributeString("ss", "Type", ss, DataType)
    .WriteValue(DataValue)
    .WriteEndElement() 'Data
    .WriteEndElement() 'Cell
    End If
    End If
    Next
    .WriteEndElement() 'Row
    End If
    Next
    .WriteEndElement() 'Table
    .WriteEndElement() 'Worksheet
    .WriteEndElement() 'Workbook
    .WriteEndDocument()
    .Close()
    End With
    End Using
    Catch ex As Exception
    Throw New Exception(ex.Message, ex)
    Finally
    If m_Stream IsNot Nothing Then
    m_Stream.Close()
    m_Stream.Dispose()
    End If
    m_Stream = Nothing
    m_DataGrid.IsLoading = False
    DataValue = Nothing
    'DataView = Nothing
    'ItemsSource = Nothing
    XmlSettings = Nothing
    ColumnBinding = Nothing
    DataGridColumn = Nothing
    End Try
    End Sub
    Krishna

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

  • Crystal Report: Error while Export to Excel

    We are using combination of Crystal Report 10 With
    J2EE, Below source code is working fine While
    exporting to PDF, MSWord, RTF format.
    if(selectedFormat.equals("MSWORD"))
    exportOptions.setExportFormatType(ReportExportFormat.MSWord);
    if(iPageFrom>0 && iPageTo>0)
    RTFWordExportFormatOptions RTFExpOpts=new
    RTFWordExportFormatOptions();
    RTFExpOpts.setStartPageNumber(iPageFrom);
    RTFExpOpts.setEndPageNumber(iPageTo);
    exportOptions.setFormatOptions(RTFExpOpts);
    But am getting following error while exporting report
    to Excel
    com.crystaldecisions.report.web.viewer.ReportExportControl
    Invalid post back event : {0}
    We would like to know, Is SDK feasible for exporting
    to excel or not ?
    If yes! then Please suggest us for same.
    Thanks In advance :)

    I will make sure that I am on the latest patch ie SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    You can find the rumtimes here:
    MSI:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    MSM:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    ClickOnce
    https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
    Recompile the app and then deploy.
    What is the .NET Framework used by the application?
    Method of deployment?
    OS where app is deployed, x86 or x64?
    Are you able to export the report from designer ie CR2008 Standalone?
    - Saurabh

  • BI portal error while trying to export to excel

    Hi All,
    In BI portal, I am getting an error message when trying to export the report to excel. Following is the error message:
    500 Internal Server Error
      BEx Web Application
    Failed to process request; contact your system administrator
    Information for Administrator
    To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
    1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with SAP NetWeaver 7.0 Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1164789.
    2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool  does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
    3. When opening any customer message on this issue, please attach:
    Support Desktop Tool support info ZIP  file according to note 937697,
    Required information for reproduction  according to note 948490.
    Can anyone please help me out.
    Thanks & Regards,
    Deb

    Hi,
    Let me know How much amount of data you are exporting and your system information(ABAP and Java)?
    Thanks,
    Venkat

Maybe you are looking for