Error with Crystal 2008 Exporting MS Excel using ReportExportFormat.MSExcel

Hi
</br>
</br>
I am using the sample code that comes with the Eclipse plug-in. I have modified it slightly to also write to different formats and then display in the viewer. I am able to write to all formats except to the MSExcel (MSExcel data only works without issue)
</br>
</br>
<p>
I am using the following code (this is just proof of concept code)</br>
                //jtds connection and database logon setup already</br>
                //report parameters etc setup already</br>
                try</br>
                {</br>
                     String file_name = reportClientDocument.displayName() + System.currentTimeMillis();</br>
                      file_name = file_name + ".xls";</br>
                      String location = "c:
temp
";</br>
                      FileOutputStream fos = new FileOutputStream(location + file_name);</br>
                      </br>
                      ByteArrayInputStream byteArrayInputStream;</br>
</br>
                      byteArrayInputStream = (ByteArrayInputStream) reportClientDocument</br>
                              .getPrintOutputController().export(ReportExportFormat.MSExcel);</br>
</br>
                      byte[] byteArray = new byte[1024];</br>
                      int bytesRead;</br>
                      while((bytesRead = byteArrayInputStream.read(byteArray)) != -1) </br>
                      {</br>
                           fos.write(byteArray, 0, bytesRead);     </br>
                      }</br>
</br>
                      fos.flush();</br>
                      fos.close();</br>
                      setReportSource ();</br>
                }</br>
</p>
</br>
<p>
Console/Error Output:
Crystal Reports Viewer 12.0.0.0
java.vendor = Sun Microsystems Inc.
java.version = 1.5.0
os.name = Windows XP
os.version = 5.1
os.arch = x86
log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.formatter.formatter.lightmodel.cellmodel.FCMCellModel).
log4j:WARN Please initialize the log4j system properly.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: IllegalArgumentExceptionWithMessage---- Error code:-2147467259 Error code name:failed
     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
     at com.businessobjects.samples.SampleViewerFrame.showReport(SampleViewerFrame.java:145)
     at com.businessobjects.samples.SampleViewerFrame.showViewer(SampleViewerFrame.java:98)
     at com.businessobjects.samples.SampleViewerFrameClient.main(SampleViewerFrameClient.java:17)
Caused by: com.crystaldecisions.reports.common.GeneralException: IllegalArgumentExceptionWithMessage
     at com.crystaldecisions.reports.exporters.excel.libs.escher.p.<init>(SourceFile:149)
     at com.crystaldecisions.reports.exporters.excel.libs.escher.BlipChecksumGenerator.a(SourceFile:47)
     at com.crystaldecisions.reports.exporters.excel.libs.escher.ad.a(SourceFile:93)
     at com.crystaldecisions.reports.exporters.excel.libs.escher.af.a(SourceFile:186)
     at com.crystaldecisions.reports.exporters.excel.libs.escher.EscherDocumentForExcel.a(SourceFile:119)
     at com.crystaldecisions.reports.exporters.excel.libs.escher.EscherDrawingSheetForExcel.a(SourceFile:283)
     at com.crystaldecisions.reports.exporters.excel.libs.biff.xlsDOM.ExcelWorksheet.a(SourceFile:251)
     at com.crystaldecisions.reports.exporters.excel.formatter.cm.ExcelCMGraphicsObjectFormatter.a(SourceFile:167)
     at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:193)
     at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:169)
     at com.crystaldecisions.reports.exporters.excel.formatter.Excel97ExportFormatter.a(SourceFile:110)
     at com.crystaldecisions.reports.exporters.excel.Excel97Exporter.processFormattedContent(SourceFile:213)
     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:104)
     at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
     at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
     at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223)
     ... 6 more
Any help will be greatly appreciated, this seems as if its a bug though.
</p>
Edited by: Kabir Bray on Nov 2, 2010 4:26 PM

I know this has been marked as answered, but I would just like to mention when designing reports for Excel output, the key thing
to remember is the design and layout of your report. You have to work on a strict grid layout concept, and make sure all items are
lined up 100% else columns or rows are inserted in strange places, making the output look very ugly. But if you can line everything
up nicely then I believe any report that can be displayed in Excel.
Keeping in mind that if the report is to be output as Excel the whole design and logic must be geared for this, so page headers
and footers are no longer relevant, in fact the whole "page" concept must be ignored when working with Excel as there are
no pages in a spreadsheet application like Excel.
That all being said, I dont know what your reports are about and am not saying they are not too complex for Excel,
just wanted to make a note so that people dont think Excel output using CR4E is a bad option.

Similar Messages

  • Header of ALV with space when exported to excel using Standard ALV

    Hi,
    I am Using Reuse alv grid display    to dispaly my report and it works fine and I am using the standard SAP application tool to export it to excel.
    But for some of the header fields I am getting space in the excel sheet but there is no space while displaying through ALV.
    I am using the following field catalog for the same.
    wa_fieldcat-col_pos = 10.
      wa_fieldcat-fieldname = 'SOLLWERT'.
      wa_fieldcat-seltext_l  = 'text-t10'.      "Target value (* this has no space here)
      wa_fieldcat-outputlen = 32.
    wa_fieldcat-colwidth_optimize = 'X'.
      APPEND wa_fieldcat to it_fieldcat.
    but there are still space for this Colomn when exported to excel if after optimizing the column.
    kindly suggest what field needs to be passed to the field catalogoe to avoid spaces in excel for the header.
    Thanks
    Ritesh

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • Crystal Report Export To Excel Error: "Error detected by Export DDL"

    I have a windows application in .Net 2003, whenever i export the crystal report on my development machine or other windows xp machines it runs smoothly, but when i deploy the application on client's machine having windows vista installed, it displays error of "Error in file........., Error detected by export DLL"
    pls help me.

    First thing to look at is the wiki [What versions of Crystal Reports are supported on Windows Vista in VS .NET?|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64259646].
    Note that CR 9.1 is not supported on Vista. And if CR 9.1 is not supported on Vista, any earlier version of CR will also not be supported on Vista. That is not to say the app(s) will not work, they may - or not. You never know... and we have no experience with these types of installs as we don't need to have it.
    Next, have a look at KBase [1205312 - "Error detected by export DLL" while exporting to Excel after applying SP2 on Windows 2003 Server|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303335333333313332%7D.do]. Not exactly the same OS, but I'd follow through on the suggestions in that KB anyhow.
    Finally, If this app works on a Vista box when a VB 6 app  is not installed, compare the dlls loaded between that box and the one that has both apps. Use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to do that.
    Other than that, only suggestion I have is to upgrade to a version of CR that does support Vista.
    - Ludek

  • Exporting CRM 2011 SSRS 2008 report to excel uses old Excel 1997-2003 version

    The Notes field is appearing cut off on the exported excel spreadsheet. I am wondering if it is related to the version of excel when exporting from CRM report. The only option is MS Excel 1997-2003, when in fact we have MS Office 2010 installed. How can
    I get the report export to excel to use the 2010 version? Will this clear up the issue of the excel cell from being too small to dispay the entire field? Any help would be appreciated, Thank you, Mark A M

    Hi Mark A M,
    In SQL Server 2008 Reporting Services, the Excel rendering extension renders a report that is compatible with Microsoft Excel 1997-2003. This is the unique renderer for Excel renderer in SSRS 2008. Since SSRS 2012, the default Excel renderer is the version
    compatible with Microsoft Excel 2007-2010. So we cannot export the report to excel use Microsoft Excel 2007-2010 version in SSRS 2008. This is by design.
    As to your issue, please note that the width of the column in Excel which inherit the width in the report. So we need make sure the cell width is sufficient to display the Notes field in report.
    Reference:
    Exporting to Microsoft Excel (Report Builder 2.0)
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error with crystal report using SAP GUI

    Hi,
    While using crystal report in sap gui i get the following error. I already googled and only found one thing on this forum that talks about this and it was never solve. Can you please help me? Thank you
    Errors in Crystal Reports Installation(SupportsSAPQuery)
    Message no.ALVHT218
    Diagnosis:
    This function requires that Seagate Crystal Reports and the Functional Area drivers(InfosetDrivers) from Seagate software are installed.
    This sotware is either not available on your frontend or has been installed with errors
    System Response:
    The action has been terminated
    Once again
    thank you

    Hi
    Please check if you have installed all the SAP transports which are required for Crystal Reports to run based off SAP.
    Regards
    Sourashree

  • Using FDF with Crystal PDF exports?

    Has anyone done anything with tying Crystal PDF exports together with FDFs to make fillable forms?
    Edited by: Garrett Fitzgerald on Jan 13, 2012 11:47 AM clarify title

    I don't think there's any hack available at this point in time.
    What you could however do is log this as an Idea at http://ideas.sap.com and let our developers consider this as an Enhancement.
    -Abhilash

  • Crystal Report  export into excel error

    Dear All,
    please suggested Me below issues.
    i created crystal report for sales employee.report is coming correct but while export to excel is showing alignment problem.same report export to pdf is good.i want to export this report to excel without change the alignment.How plz suggested me how to do this?
    Thanks&Regards,
    P.Pratap

    hi taruna and pankaj
    Thank you for  your valuable replies.
    i have deleted all space's between fields in report and While Exporting crystal report into excel i selected  Microsoft Excel Data  only Option.
    Now report is exported without changing alignment.
    Thanks& Regards,
    P.Pratap

  • Reports output delayed when exported to Excel using OLE2

    Hi All,
    Platform - Oracle Application Server 10g Release 2 10.1.2.3 on Windows 32 bit.
    The report output is getting generated in a minute when exported to PDF i.e destype=cache & desformat=pdf. When we generate the output to excel is considerably delayed. It is taking time and internal server error is occuring.
    1) Report developed with simple query
    2) Used RPT2XLS procedure which uses OLE2 builtin to export report output into excel.
    3) Called RPT2XLS.run procedure in After-Report trigger of the report.
    4) We have relased all memory objects in the RPT2XLS package after exporting data and there is no EXCEL.exe running once the file is generated.
    System parameters used in the URL.
    . destype=file
    desformat=pdf
    CONTAINSOLE=yes (Required for exporting OLE2 objects into Excel in report)
    desname=path & name of the file.
    I have gone through the tuning documents for reports server and increased minengine, maxengine and initengine parameters of the reports engine and also changed maxconnect and IdleTimeout parameters in reports server configuration file.
    What might be the reason for delaying in the output of the reports when exported to Excel. Can the guys with special knowledge on this area help us in getting out of this issue.
    Thanks in advance.

    hey all,
    Thanks everyone for the reply.
    I am using the foloowing field cat:
    l_col_pos = l_col_pos + 1.
        wa_fieldcat-col_pos = l_col_pos.
        wa_fieldcat-outputlen = 32.            
         wa_fieldcat-fieldname = 'SOLLWERT'.
         wa_fieldcat-inttype   = 'P'.             
    *    wa_fieldcat-tabname = 'i_final'.      
        wa_fieldcat-seltext_l = text-t11.         "Target Value
        APPEND wa_fieldcat TO i_fieldcat.
        CLEAR wa_fieldcat.
    I have use this also in the field cat but stil i get space in the excel header.
    wa_fieldcat-REF_FIELDNAME = 'SOLLWERT'.
    *    wa_fieldcat-REF_TABNAME =  'QAMV'.
    Also the space comes with the descrip[tion in the cell of excel.
    its like [space Target Value] and i dont need this Space.
    I have also used  wa_layout-colwidth_optimize = 'X'. but it doesnt wrk.
    Please suggest

  • Crystal Report:Export to Excel in multiple sheets

    Hi Members,
    Does any one know how to export Crystal Report to Excel in multiple sheets in the same Excel workbook.
    Suppose I have report grouped by Designation as Managers,Tech Leads,Team Leads,Senior Developers etc. Now I want to export to Excel in multiple sheets as Sheet1-Managers,Sheet2-Tech Leads,-Sheet3-Team Leads,Sheet4-Senior Developers etc.
    Is there any possibility in Crystal Report event or CrystReportViewer?
    If not then is then workaround to achieve this feature without using Excel COM object.
    Thanks & Regards
    Nitin

    Don't forget to search for your answer before posting:
    [KBase|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
    [Articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles]
    These forums.
    Also, see the search box at the top right of this page. It searches articles, notes, forums, wikis and blogs in one shot. A quick search for; excel export worksheet crystal, came up with the following:
    [1260151 - CR XI R2 Export to multiple Excel worksheets|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [1216567 - Is it possible to export one report to multiple Excel worksheets?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Also, remember that if you can not do "it" in the CR designer, you more than likely can not do it at runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Intermittent 'Unknown Database Connector' Error with Crystal XI in VFP9 app

    We have a VFP9 application which uses Crystal XI as its reporting tool. We use Installshield Express to install the Crystal components by including the merge modules in the setup.
    We extract data in the VFP app then write it to the local temporary files folder on the PC running the app. The VFP app then opens the crystal report and changes the database locations (xbase files). We intermittently get an OLE IDispatch exception with Crystal error u201CUnknown Database Connectoru201D. If the user runs exactly the same process again it is likely to be OK. The system had been relatively stable and unfortunately we cannot pinpoint what changed to introduce this problem. Around the same time we did install a new server, upgrade PCs to dual processor and also upgrade to Crystal XI!
    If anyone has had a similar problem or has any idea what the problem could be please let me know as our users are becoming frustrated with the system crashes they are encountering.

    First thing to do is to make sure you have the latest Service Pack. You mention that you are using CR XI, but I don't know if it is CR XI r1 or CR XI r2. Assuming it is r1, the latest SP is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006008952008E/crXIwin_sp4.zip
    If you are using CR XI r2, the latest SP is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe
    You will also have to create a new deployment project. MSM for cr xi r1 is here:
    http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/crXI_rdc_merge_modules.zip
    and for CR XI r2 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009381702008E/crxir2sp4_rdc_mm.zip
    Next, you mention that this is an app upgraded to CR XI, but you do not mention the version of CR you upgraded from. If it is from CR 8.5 or older, we may want to take a look at the code you are using to connect to the database. E.g.; sending the database code used my be a good idea.
    Finally, please note that the platforms.txt does not mention VFP as a supported platform. E.g.; VFP was not tested and thus if there are any issues with the RDC, these will have to be duplicated on a supported platform before being submitted for a fix. Also, just for your information, the RDC has been retired in the currently shipping CR 2008.
    Ludek
    Edited by: Ludek Uher on Oct 2, 2008 3:31 PM

  • App coded in Crystal XI need to be compatiable with Crystal 2008. Options?

    Dear All,
    The product I am working on, works fine with Crystal XI. But now task is to make it work for clients that have just Crystal 2008 (not Crystal XI). (Even assuming there is no new feature that Crystal 2008 offer is planned in this existing application.)
    I was wondering what would be the best bet to make that application compatiable? Certainly we do not want to have two seperate application coded separatly for Crystal XI and Crystal 2008.
    I will appreciate any information, feedback, guidance that you can provide on this.
    Thanks

    am actually using Visual Studio .NET 2008 only with Crystal Reports XI R2. I was not aware of the fact that Crystal Reports XI R2 does not work with Visual Studio 2008. It could be that since I have both Visual Studio 2005 and 2008 in my machine, and this could be referring to old one.
    I believe Visual Studio 2008 came with .NET framework 3.5 and in theory 3.5 does all that 2.0 used to do. So I am not sure what would be the reason of .NET 2008 not supporting it. May be I am missing something, please help me clarify?
    - See the supported platforms doc here:
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202
    (choose Business Objects XI release2 / crystal reports -> crystal reports -> crystal reports XI r2 -sp2 - supported platforms.
    .NET 2008 is not listed. That is as far as this discussion should need to go. E.g.; do not use CR XI r2 with .NET 2008, or .NET 2010 when it comes out - if you do, you're on your own.
    Option-1) Now my worry is can same application; when installed on a client who has just crystal report 2008 (not upgrade from XI-R2) run-time installed, will work OK?
    As long as you run CR XI r2 with the supported version of .NET (e.g.; in your case .NET 2005) there will be no issues after installing CR 2008 as CR 2008 and CR XI r2 are side by side compatible. One thing I would highly discourage is running reports created in CR 2008 with CR XI r2.
    Option-2) Is there any change in existing code, I need to do so that irrespective of what run-time environment client has (XI R2 or, Crystal 2008), my application runs fine without any issue?
    If you install CR 2008 SP0 after installing .NET 2008, you should not need any code modification to an already working app. All that will happen is that the CR assemblies will get upgraded to version 12.x. Of course, you then need to distribute the CR 2008 runtime to your client / server computers.
    Any other option...
    Not sure where the confusion is, but I am not sure why we'd want to look for other options(?).
    Ludek

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Getting error while implementing the Export to Excel in VC

    Hi
    By refering the following link, i have implemented  Export To Excell functionality in VC.
    When i copied the following formula in the respective formula window, then it is giving the following error. can any body awareof what is the problem.
    copied formula :
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
    ex?QUERY=" & STORE@REPTNAME &
    "&BI_COMMAND_1-
    BI_COMMAND_TYPE=EXPORT&BI_COMMAND
    1-EXPORTFORMAT=XLS&BI_COMMAND_1-
    null="
    Occurred Error:
    Field "REPTNAME" does not exist in DataStore parameters.
    Referred link to implement
    2) Another one that's in the Visual Composer WIKI:
    https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC
    Regards
    Vijay

    Hi Anukur,
    Thanks for the reply,
    I have copied same formula which is given in that doc. now i have added one field
    REPTNAME. Now i have come from that problem. Formula showin as valid. when i click on check button.
    Now when i compile , i havnt got any any but when click on deploy i am getting the following error.
    Error in compiling Flex application: Error 1002: String literal was not properly terminated
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:265)
    Error 1033: ')' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:266)
    Error 1205: The statement 'dd_ons' is incomplete.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:266)
    Error 1025: Left side of assignment operator must be variable or property.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:268)
    Error 1033: ':' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:269)
    Error 1025: Left side of assignment operator must be variable or property.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:270)
    Error 1033: ';' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:271)
    Error 1205: The statement '' is incomplete.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:269)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:271)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:272)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:273)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:281)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:293)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:298)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:299)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:301)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:323)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:336)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:337)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:338)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:340)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:347)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:370)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:393)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:425)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:470)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:479)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:489)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:509)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:521)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:535)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:543)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:559)
    Error 1030: Statement block must be terminated by '}'
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:19)
    Error 1000: Syntax error.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:570)
    Failed to compile AADMV.mxml
    Can u tell what is the problem here
    Regards
    Vijay

  • Error while trying to export my database using this command

    Hi,
    I am trying to export my database using this command :
    expdp system/manager@db1 full=n schemas=kul4231 dumpfile=kul4231_20091122.dmp logfile=kul4231_20091122.log directory=dump_dir1
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_SCHEMA_05 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20091122101110" and "" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-01008: not all variables bound
    DB version : Release 10.2.0.4.0
    all ideas are welcomed!!!!!!!!!!!! let me know where am i going wrong!!!!!!!
    thanks in advance..!!!!!!!!
    venkat.

    What is your SGA settings? (especially streams_pool_size).
    You can try to bump streams_pool_size to 100M if your current setting is below that.
    Regards
    Tomasz K.

  • Export to excel using value set

    Hi all,
    I have an ALV table and in some columns I show the texts defining value_set (set_attribute_value_set). When I export the table to Excel using the standard button in the file I can see the codes, not the defined texts. How can I solve it? I thought about defining additional columns which will contain the texts and will be invisible in the screen and visible in Excel sheet instead of the column with codes, but I would like to know if there is any easier solution.
    Thank you,
    Anna

    Hi
    You can use Filedownload control to download the content you prepare as XML
    reading the context.
    For Ex: if you have product ID, Product Name and price as attributes.
    you can create the XML string as
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <products>
    <product>
       <productID>1234</productID>
       <productName>Sony</productName>
       <price>1234.00</price>
    </product>
    <product>
       <productID>1234</productID>
       <productName>Sony</productName>
       <price>1234.00</price>
    </product>
    </products>
    copy paste this in note pad name the file as products.xls and open it in MSXL.
    similarly you can read the context and form this xstring and just supply to filedownload control.
    Regards
    Abhimanyu L
    Message was edited by:
            Abhimanyu Lagishetti

Maybe you are looking for

  • Can you renumber pages in a merged file

    I often merge files from word and exel and other programs.  Can I renumber this new file

  • Can I set Mail default text color

    Is there a way to set default text color for sent messages?  These settings don't seem to have any effect:

  • Cant get com.apple.security.files.user-selected.read-only entitlement to work

    Hey I am curious how can I get the .ipa compiled file for iOS to be able to read all the directories on the iPhone? I made a file browser but I cant get to the pictures I tried adding the entitlements in Flash Builder 4.6 in the descriptor file like

  • Contract Item Hierarchy

    Hi Expert, I'm working with SRM 7.0 Extended Classic Scenario (EHP3) assigned to backend ECC6. I have question related to enabling item hierarchy in Contract. I have activated Service Procurement in the configuration and all others configuration rela

  • Problem in creating Datafile

    Hi all, I am doing some kind of testing in my test maching and I faced the following situation. I have a good control file and all the archives starting from the 1st scn. Now I brought down the instance and physically deleted a datafile and tried bri