Export to Excel in Panelcollection not working

Hi,
I am using JDeveloper 11.1.1.4.0. on WinXP
I am surrounding PanelCollection to existing table in my application.
After clicking on export to excel option first time it shows file name as my .jspx file and type as HTML, here it throws exception NPE(i.e. exporting fails).
when i click on the export option in the same page second time it shows the file name as my excel file name and type as Microsoft Excel hence downloads without errors.
I have used the below code snippet inside panelCollection component:
<f:facet name="toolbar">
<af:toolbar id="t1">
<af:commandImageLink text="Export to Excel"
inlineStyle="width:95px;" id="cil4">
<af:exportCollectionActionListener exportedId="tVolDed"
type="excelHTML"
filename="c:\\try.xls"/>
</af:commandImageLink>
</af:toolbar>
Could anybody help me out for the same?
Thanks in advance!

At my end, the code is working fine.My code is :
<f:facet name="toolbar">
<af:toolbar id="t1">
<af:commandImageLink text="Export to Excel" inlineStyle="width:95px;"
id="cil4">
<af:exportCollectionActionListener exportedId="t2"
type="excelHTML"
filename="empDtlsExport.xls"/>
</af:commandImageLink>
</af:toolbar>
Could you please try with filename as "try.xls" only.
Please let us know if you are facing this issue.

Similar Messages

  • Export to excel function is not working

    Hi all,
    i am having a problem using the export option that is available to export table data to an excel sheet.when i click the submit button, the ouput displays in the table and then when i click export i get an exception which say:...
    java.lang.NullPointerException
        at com.sap.ip.bi.alv.xml.ALVXMLCellCollector.collect(ALVXMLCellCollector.java:105)
        at com.sap.ip.bi.alv.xml.ALVXMLDataRowCollector.collect(ALVXMLDataRowCollector.java:207)
        at com.sap.ip.bi.alv.xml.ALVXMLDataTableCollector.collect(ALVXMLDataTableCollector.java:67)
        at com.sap.ip.bi.alv.xml.ALVXMLTableCollector.collect(ALVXMLTableCollector.java:114)
        at com.sap.ip.bi.alv.export.ALVExportXMLBase25.export(ALVExportXMLBase25.java:95)
        ... 87 more
    and i dont get this error when i dont use "user data" connector ( a connector that contains the personal data of the user ) or when i dont click submit button to get the output.
    can anyone slove this problem?
    Regards,

    Hi all,
    The problem is solved.It was due to a  numeric field  in the output of the table not due to USER DATA connector.This field is basically ´"COST" and it takes decimal values.So i just changed the value of this field to
    =FLOAT(@cost) ( this converts the text string to a floating point number or you could use NVAL(@cost) even this would work )
    the export function worked !!!!
    Regards

  • I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data is not.) but

    I bought Numbers because my Excel files would not work with Mavericks. How can I import a non-functioning Excel file into numbers? (As of now, the file NAME transfers but data does not.)

    HI Dave,
    I'm surprised you get no message when you attempt opening the Excel document in Numbers.
    I'm assuming Numbers 3.1, since you are running Mavericks.
    Does the Numbers file that opens show any content?
    Does it contain a table?
    How large?
    Does it contain more than one tab (indicating more than one sheet)?
    Do those other tabs contain a table?
    Have you checked those tables for data content?
    There have been cases in the past of imported documents opening with white text on a white background, giving the appearance of containing nothing. Check for this by selecting a block of cells, then applying a Fill colour or a Text colour using the Format button (paintbrush).
    I'd also suggest attempting to open the Excel files using LibreOffice, which can be downloaded from the linked website.
    Regards,
    Barry

  • Wish to post KeyNote file as pdf. Export from KN to iW not working

    Wish to post KeyNote file as pdf. Export from KN to iW not working - get blank screen. Tried to upload PDF to mobile me and link to that file - also didn't work. I'm not familiar with iFrames but have read about them in this forum - is that my only option? Why wouldn't a KN export work?
    Thanks, Brian

    I have just tried this with a test site and publishing to a folder and it does work perfectly for me.
    I had a Keynote document already so all I did was click on File and then selected the Print option. I then selected the save as pdf option the the pdf document was created on my desktop instantly.
    All I then did was open iWeb and type some words in a text box My Prices. I then highlighted My Prices and opened the Inspector and went to Hyperlink and clicked on the option Hyperlink to a file. I then selected the pdf file from my desktop.
    I then used ftp to a folder on my desktop and when I opened the appropriate page, I click on the words My Prices and the pdf file opened straight away.
    As OT has suggested, check that you have linked to the correct file. If it does not work, either you have not created the pdf correctly or at all or you have not linked to the correct file.
    As I said, it worked for me.

  • Signed up twice for adobe pdf export to word and still not working - anyone else have this problem?

    signed up twice for adobe pdf export to word and still not working - anyone else have this problem?

    In XI.
    I can’t just export to word as I have done in the past in one simple click.  
    Convert to button is greyed out.
    Now I have to save the pdf file on c drive when I am in outlook…then goto export pdf file…then find file then export to word.
    I bought new computer with windows 8 (which is awful) and then bought pdf export again…
    Any thoughts on how I can get back to one simple click again when I open a pdf file from an email in outlook?
    Thank you,
    Mike

  • Excel Functions Do Not Work When Data Source is BW

    Hello,
    My platform is, BOBJ BI 4.0. Data source is SAP BW. BW is connected to XCelsius with BEx. My problem is, excel functions do not work when data source is BW. For example, Excel cell A1=quantity1  B1= quantity2   C1= excel function "=A1+B1" When data source is Excel, for example A1=5, B1=9 C1 automatically equals to 14. (There is no problem when data source is Excel) But, in BW, for example when BW set values to A1=5, B1=9, the system does not calculate C1. C1 always equals to initial value, the system does not care any excel calculation when data source is BW.  Any guess for my problem? Thank you for your effort.

    Hi,
    As you are using very simple formula,it will work no matter which source you are consuming.As mentioned,try to place a simple component(Eg:spreadsheet),just to check whether you are getting the right calculated value or not.
    As you are using BW as source,the Preview option will not show the runtime data,so you need to publish in Portal to check whether the calculation happened or not.
    As far as I know only few fromulas are supported in Xcelsius,but these kind of simple formulas are very much supported.
    Rgds,
    Murali

  • Export excel option is not working in test environment in Firefox.

    In our application 'export excel' option is present in 4 different pages. All the excels working in development environment in both IE and FF. In testing env, all the excels working fine in
    IE. But only two excels are working in FF in testing env. Remaining not working and 'The connection was reset The connection to the server was reset while the page was loading' error page appears when we click on 'export excel' button. Can any one help on this issue...

    Hello,
    You can do one of the following:
    Select the table in Firefox and then copy it to the clipboard. In Excel do Paste Special and select either 'Unicode text' or 'text' to copy it into Excel.
    Use the Table2Clipboard extension. This will provide the Right-Click menu option, it will copy the data into the clipboard and you can then paste the selection into Excel.
    I hope that helps.

  • Export to Excel functionality doesn't work when DataControlScope is shared.

    Hi All,
    I have a taskflow whose transaction setting is as Below:
    1.Always Begin New Transaction
    2.DataControlScope is isolated(Share data controls with calling task flow checkbox is unchecked).
    I have an Export to Excel functionality with exportCollectionActionListener.The jsff source snippet is given below.
    <af:commandMenuItem text="#{smviewcontrollerBundle.EXPORT_TO_EXCEL}"
    id="cmi1" icon="/images/excel_icon.jpg"
    binding="#{backingBeanScope.backing_fragments_RefSetSearch.cmi1}">
    <af:exportCollectionActionListener exportedId="resId1"
    type="excelHTML"
    filename="SmRefSetCodes"
    title="System Reference Inquiry Result"/>
    </af:commandMenuItem>
    The jsff is used in the above mentioned task-flow.Having this configuration in task-flow,export to excel doesn't export any table data in the excel sheet.But the moment,data-control-scope is changed to shared,export starts working.
    Is there any specific reason on this kind of behavior.
    In all other task-flows in my application,I have data-control-scope as isolated only,but there,export is working perfectly fine.
    Please help.
    Thanks,
    Gaurav

    Hi Frank,
    Thanks for your reply.
    Exactly,I have just one task-flow in which I have a page fragment for which export to excel is not working.The moment I change the data-control-scope to shared,export functionality starts working.
    I do have correct table id mentioned in exportCollectionListener.
    Is there anything I need to look into?
    Thanks,
    Gaurav.

  • Performance Point Dashboard - Show Details - Export to Excel - 404 FILE NOT FOUND

    We are receiving an error when we want to drill down to the details of a report. We see the details but when we try to Export to Excel we get a file not found error.
    Both the aspx files are there in the 15/_Layouts folder.
    http://MySharepointServer/sites/PerformancePoint/_layouts/15/PPSWebParts/DrillThrough.aspx works. I see the details here and export to excel option
    When I click export to Excel I get to below page and get the file not found error
    http://MySharepointServer/_layouts/15/PPSWebParts/DrillThroughOfficeExport.aspx
    See Attached Screenshots using the link below
    https://www.evernote.com/shard/s433/sh/a6b7e4f7-babb-457b-addd-4c4fc7f57cc9/a6681814ad2ff11d21a45fd3f2bd8b08
    Thanks in advance.
    Sunhil

    Hi! Rebecca,
    Thanks for helping out. Please see the error details
    System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
        at Microsoft.SharePoint.Utilities.SPUtilityInternal.Send404(HttpContext context) 
        at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnPreInit(EventArgs e) 
        at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnPreInit(EventArgs e) 
        at Microsoft.PerformancePoint.Scorecards.WebControls.DrillThrough15.OnPreInit(EventArgs e) 
        at System.Web.UI.Page.PerformPreInit() 
    Exception trying get context compatibility level: System.IO.FileNotFoundException: The site http://MySharepointServer:80/_layouts/15/PPSWebParts/DrillThroughOfficeExport.aspx could not be found in the Web application SPWebApplication Name=SharePoint - 80. 
        at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId,
    Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String&
    appSiteDomainId, Uri& primaryUri) 
        at Microsoft.SharePoint.ApplicationRuntim...
    Thanks,
    Sunhil
    Sunhil

  • Status gui &XXL (export to excel format)command doesnu00B4t work

    hi gurus i copied the standar GUI menu from SAPLKKBL and every thing its ok except the &XXL (export to excel format)command .
    i push this button and nothing happens. The popup doesn appear what is wrong? i have excel in my pc and when i use the %PC
    command it works fine and converts to excel but i need the mmhtml format so i need the &XXL command works . any idea?

    IM DOING SOME TEST I CHANGE THE TYPE OF ALV AND IT WORKS, BUT I NEED TO USE THE REUSE_ALV_BLOCK_LIST_DISPLAY AND THE PROBLEM IS WITH THIS TYPE OF ALV
    Moderator message - Please do not use all caps!
    Edited by: Rob Burbank on Sep 27, 2010 5:25 PM

  • OBIEE 11G report download with excel 2000 is not working properly

    Hi all,
    The Analytics report download is not working properly in excel 2000.
    This version is no longer supported?
    Is any way to workaround this problem?
    Cheers
    Carlos Pereira

    Hi,
    which version r u using? until obiee11.1.1.5 its bug but solve it by workaround method . also the bug fixed in obiee.11.1.1.6
    11700314 REPORT NOT EXPORTED FULLY INTO EXCEL WHEN DOWNLOADING FROM PAGES OTHER THAN 1
    1) stop it all u r bi serivices then take a back of u original instanconfig.xml file then do the below changes
    D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
    instanceconfig.xml
    just add below content then
    <Views>
    <Pivot>
    <MaxCells>6500000</MaxCells>
    <MaxVisibleColumns>100</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>6500000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    </Table>
    </Views>
    Restart all u r bi services..
    then test it out.
    Thanks
    Deva

  • WAD 70 - Export to Excel 2010 doesn't work as expected

    Hi Friends,
    We're rolling out Office 2010 and are facing several problems with BW Interfaces.
    I've to solve this:
    Runing Office XP Export to Excel ran without problems. After pressing standard button
    https:/....../portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher url was called and
    an open/save dialog appeared.
    Office 2010 : System asked for a certicate. I added VeriSign Class 3 Public Primary CA
    according to SAP note 711648 (not knowing a better way, being aware it's valid for 3.5)
    This ffinally worked, but now I have to confirm certicate four times and believe me, that is not very convenient.
    Now my question(s):
    Was I right so far and how can I avoid confirmation of certificate in dialog?
    Thanks in advance for your response and regards
    Joe

    Hi Martin,
    Thanks again. But in my case, there must be a different issue.
    Changing macro security didn't change anything visible.
    What' really strange,
    starting sexport in the context menu works without requesting certificate,
    and adding a new export statement in a button group item also works as
    desired. Comparing 'new' and' old' xhtml code, I'm not able to see any dufferences.
    Will open a new athread with this subject, if necessary.
    Best Rgeards
    Joe

  • EMail Link in SWF exported from InD CS5 does not work

    I'm trying to find a definitive answer on this. I have designed an interactive document in InD CS5 that has buttons and hyperlinks. When exported to SWF everything works except my e-mail hyperlink. It works fine in InDesign's preview pane. I've uploaded the file to my webserver for testing, the problem still occurs.
    I found one post in another forum that quoted an Adobe InD developer stating that as of CS4 email links were not exported. However, I've not been able to find any mention of whether this works in CS5 or not.
    Does anybody know for sure whether or not email links work in SWF files exported from CS5?

    Sorry, no offense was intended. I had found references to problems with CS4, but nothing about CS5, and said as much in my post -- was frustrated that I had spent a long time looking and hadn't found any responses yet.
    You mentioned using buttons rather than hyperlinks, and that worked for me -- but it might have just been a problem with my browser not properly reloading the flash file, too -- as I mentioned in my response.
    But in any case, THANK YOU FOR YOUR SUGGESTION!

  • My excel report is not working in executable file ,however,it works well in vi

    Hi all ,
         Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
    I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
    Thanks & Regards !
    sarita
    Message Edited by MindPower on 10-24-2007 01:40 AM
    Message Edited by MindPower on 10-24-2007 01:43 AM
    Attachments:
    test datalog.vi ‏264 KB
    test datalog-NEW.zip ‏1020 KB

    I can't open the vi in the moment. But by your description I think that I know the solution.
    When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.
    And don't know if these tips are enough.
    From NI Zvezdana S.
    "When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL

  • Submit and return exporting list to memory is not working in background

    Hi gurus,
    i am using submit statement and exporting list to memory. it works fine in foreground and i am able to get the output. but in case of background , it is not exporting the list.PLease help me on this.
    Thanks and regards,
    Rajeshwar

    Hello Rajeshwar,
    This is a duplicate thread. You have a thread with the same question.
    [list_to_memory is not working in background;
    Jayant Sahu

Maybe you are looking for