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.

Similar Messages

  • 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

  • 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

  • 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

  • 'ToDate function doesn't work when I select a month

    Hello all,
    I've got a problem. It worked before, but can't get it to work anymore
    I have a fact called XXOBI_GL_LINES_MV which has a column Amount_accounted. Now I want to use the ToDate function which look something like this:
    ToDate(XXOBI_GL_LINES_MV,TIMEDIM.YEAR)
    So I want to create a year to date.
    Now when I make a report it all works fine. Except when I add a column of the time dimension to the report.
    But the strange thing is, it worked, but I can't get it to work anymore so I hope someone can help me out!!
    Best regards,
    Remc0

    I don't know if this adds any value, but this is the query it generates:
    select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select D2.c4 as c1,
    sum(T12332.AMOUNT_ACCOUNTED * -1) as c2,
    D2.c3 as c3,
    D2.c5 as c4
    from
    XXOBI_GL_LINES_MV T12332 /* Feit - Journaal */ ,
    (select distinct min(D1.c1) over (partition by D1.c4) as c1,
    min(D1.c2) over (partition by D1.c4, D1.c3) as c2,
    D1.c3 as c3
    from
    (select Case when case D1.c5 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c5 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c6 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c4 ORDER BY case D1.c6 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select T12378.DAY_DATE as c3,
    T12378.YEAR_ID as c4,
    ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID ORDER BY T12378.YEAR_ID DESC) as c5,
    ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID, T12378.DAY_DATE ORDER BY T12378.YEAR_ID DESC, T12378.DAY_DATE DESC) as c6
    from
    XXOBI_TIME_MV T12378 /* Dim - Tijd */
    ) D1
    ) D1
    ) D3,
    (select distinct min(D1.c1) over (partition by D1.c5) as c1,
    min(D1.c2) over (partition by D1.c5, D1.c6) as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5
    from
    (select Case when case D1.c7 when 1 then D1.c6 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c7 when 1 then D1.c6 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c8 when 1 then D1.c6 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c5 ORDER BY case D1.c8 when 1 then D1.c6 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6
    from
    (select T12378.MONTH_ID as c3,
    T12378.MONTH_DESCR as c4,
    T12378.YEAR_ID as c5,
    T12378.DAY_DATE as c6,
    ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID ORDER BY T12378.YEAR_ID DESC) as c7,
    ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID, T12378.DAY_DATE ORDER BY T12378.YEAR_ID DESC, T12378.DAY_DATE DESC) as c8
    from
    XXOBI_TIME_MV T12378 /* Dim - Tijd */
    ) D1
    ) D1
    ) D2
    where ( T12332.EFFECTIVE_DATE = D3.c3 and D2.c1 = D3.c1 and D2.c4 = 'January 2009' and D2.c2 >= D3.c2 )
    group by D2.c3, D2.c4, D2.c5
    ) D1

  • Quit LabVIEW function doesn't work when called from Actor Framework

    This is related to a known bug. Details can be found in a discussion we had with LV R&D here: https://decibel.ni.com/content/docs/DOC-28012
    I need a functional workaround to this bug because my application's top-level panel is an Actor Core.vi override. Can the AEs please help, as suggested by Aristos_Queue (LV R&D member) in the link above?

    Hi David,
    Were you able to try the workaround AristosQueue gave you? Below is the workaround he suggested.
    Not sure, but I think that it will work just fine if you start a VI running using the Run VI method and have it invoke the Quit LabVIEW node. Not the Call By Reference node, but just wire a Static VI Reference to the Run VI method with FALSE wired to the terminal for whether to wait for it to finish. That subVI will then be running as a top-level VI on its own... and the only thing on its diagram would be the Quit LabVIEW node. I think that will work. Haven't tried it, but based on the description in the CAR, I think it will work.
    Carl W.
    Applications Engineering
    National Instruments

  • Lightroom 5.7.1, Yosemite OS X - Synchronise Folder function doesn't work in Lr. Is there a compatibility issue? I can see the folders/images in Finder but when trying to synchronise folders in Lr it does not recognise that there are any images and theref

    Lightroom 5.7.1, Yosemite OS X - Synchronise Folder function doesn't work in Lr.
    Is there a compatibility issue? I can see the folders/images in Finder but when trying to synchronise folders in Lr it does not recognise that there are any images and therefore unable to import to catalogue. Anyone has any idea how to make it work. Thanks a lot.

    Hi Elba,
    Thank you very much for your reply. Not sure, however, that we are talking about the same problem.
    I am trying to perform the same function in Lr that I have been doing for many years in the past and has only been a problem in the last few days (possibly coinciding with upgrading to Yosemite, trying to find out whether that is the problem)
    I am not intending to sync any files with Creative Cloud but only trying to use 'Synchronize Folder' function in Lr. Normally, I would right click on a particular folder in Lr catalogue and click on that function to check that the Lr Catalogue is perfectly matching my drives where the original photos are actually stored.
    The problem that I only started to encounter is that I can see the files on the actual drives but they do not appear in my Lr Catalogue and they are completely invisible to Lr. I simply can not get Lr to recognise them and then import them to catalogue.
    If for example, I export images to Ps and then save and close them, they do appear on my drive but are invisible to Lr and I can't get them imported into the catalogue. Import to folder also not producing any results as they are still invisible to Lr.
    Completely baffled by it. Any idea what could be the reason?
    Kind regards,
    Nik

  • VC Export to Excel Functionality not working

    Hi All,
    I have an issue an implementing the "Exporting the Table data to Excel."
    My VC version is 7.0
    Portal version NW 2004s.
    I have followed the instructions in the How To doc:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123 have implemented Export To Excell functionality in VC.
    yet we're getting the error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViewsüom.sap.ip.bi.bex.
    Exception id: 05:39_17/04/07_0001_4060051
    See the details for the exception ID in the log file
    Any assistance/advice appreciated.
    cheers,
    Imran

    Very strange, as I know there is no ü allowed. There should be used only ASCII.
    And if there is a ü, this should translated, e.g. with base64 encoding or sth. like that.
    Best Regards,
    Marcel

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Text Elements in Export to Excel functionality

    Hello Gurus,
         I have added Export to Excel functionality button on my web template and also added a Text Element Web Item to my web template. I am unable to get the Text Elements into the Excel Sheet when I click on Export to Excel button. Is there a way to show them in the Excel sheet when I click on Export to Excel or it is not possible to show them.
    Please let me know.
    Thanks a lot
    Raj

    Raj,
    Export to Excel will work only for the table item. Not 100% sure, but don't think that it can be setup for teh text items.
    Put the text elements into parts of teh query, for e.g. in the query title or column headings.
    The idea of export to excel is that the data gets exported. There is no transfer of context of the information.
    Aneesh

  • BitmapData draw method doesn't work when the project is published as the .swf file of the web applic

    Hi,
            I am totally confused by this strange error. When I tried using the draw method of BitmapData to draw a movieclip symbol of my project, it seems to work fine locally. However, as I uploaded the published .swf file to my web server and launched it as the plugin of my web application, it failed. The source codes as follows,
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    message3 didn't show at all. Instead, the browser console shows "Uncaught Error: Error calling method on NPObject.". My understanding of this error message is that the .swf is calling something crashing, and I believe that bd.draw(stage)is the crashng method call.
    Also, here is my html embed tag:
        <embed src="/tests/videoplayer.swf" id="flash" quality="high" height="510" width="990" scale="exactfit" name="squambido" align="middle" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="margin: 0px auto;clear:both;position:relative;"/>
    Can someone help me?

    Thank you for your reply.
    I tried stageWidth and stageHeight, but it still doesn't work.
    The draw() methid is triggered when I clicked a screenshot button in my application as follows,
    ExternalInterface.addCallback("printscreenClicked", printscreenClicked);
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    Would you please give me an example of "waiting for Event.RESIZE is good, or just at least Event.ENTER_FRAME"?
    My real purpose in this application is to capture a snapshot of a streaming video. The video is contained in a movieclip object. I tried stage first since BirmapData.draw() doesn't work when drawing the movieclip on the web site. Do you have any suggestion for this situation? Also, is there any good method to find out what happened if the browser have "Uncaught Error: Error calling method on NPObject."?

  • I have Adobe Acrobat 9.5.4 installed on my computer and it doesn't work when PDFing

    I have Adobe Acrobat 9.5.4 installed on my computer and it doesn't work when PDFing my document using Microft Word 2010. I have tried using the tab add-in, but it doesn't respond either. The only way to convert my document is to save it as a .pdf from the save as drop down box. I need to be able to have the full functionability of creating a PDF document with the tabs and links working.
    Please help!

    From OFFICE 2010 you either have to have AA X or just print to the Adobe PDF printer. You give no information on your operating system or specifically what you mean by PDFing -- there are multiple ways to create a PDF from a WORD document and you have given no information. However, in this case your only choice is to print to the Adobe PDF printer. Otherwise, you need to upgrade Acrobat.

  • Sort function doesn't work E12

    the sort function doesn't work half the time on Elements 12 organizer.

    What about FUNCTION CLOCK_INFormula
    RETURN NUMBER
    IS
        l_hours_worked  NUMBER;
        l_to_return     NUMBER;
    BEGIN
        l_hours_worked := TO_NUMBER(NVL(:ATX_CLOCK_IN,'0'));
        IF (MOD((l_hours_worked - 0.02),0.25) = 0) THEN
            l_to_return := TRUNC((l_hours_worked - 0.02) * 4) / 4;
        ELSE
            l_to_return := TRUNC((l_hours_worked + 0.23) * 4) / 4;
        END IF;
        RETURN (l_to_return);
    EXCEPTION  
        WHEN VALUE_ERROR THEN
            RAISE_APPLICATION_ERROR ( -20100
            ,   'ERROR, Cannot represent '
            ||  :ATX_CLOCK_IN
            ||  ' as a number.');
    END CLOCK_INFormula;?
    This function assumes :ATX_CLOCK_IN is always positive.
    T.

  • Tap function doesn't work, recovered files in bin etc

    Hi
    I'm using Mac Book Pro 13' - Mac OS 10.6.8
    1) Every time, I switched on my laptop, the one finger (tap to click) function doesn't work (although I have set it up).
    I have to go to 'systems preferences' to set it up again.
    2) Why is there 'Recovered files' in the trash bin each I switched on my laptop? How to get rid of it?
    3) Sometimes when I work using Word 2011, it takes a long time to save (the little icon will be swirling and swirling) and then I had to force quit and lose unsaved info. Why does this happen and how to avoid it from happening?
    Pls help me. I'm in the middle of my thesis submission and urgently need solutions to my Mac problems. Thanks!

    Reinstall Photoshop. That often fixes the issue.

  • Template having export to excel functionality with filter values in WAD

    Hi,
    I need to create a template which has export to excel functionality with all the filter values that the user has selected in the selection screen.
    export to excel can be done but how can be the output excel sheet contain only those values which we see in browser  when the report is executed with some filters.
    Regards,
    Apeksha

    Hi Apeksha,
    you can achieve this requirement (unless I do not know the detailled requirement) perhaps by using this way of implementation:
    1. Create a new template which contains an info_field which does a data binding to the variable values or the characteristic you want to display. Set the visibility of the top container to "hidden". Add a empty data provider to this template. However be aware that the name for the (empty) data provider must match the name of the data provider within the original template you want to print.
    2. Open your original template and include the template you created in step 1 (Advanced: Web Templates and technical name of the web template created in step 2). Choose the appropriate location (above/below the analysis item).
    3. Check the settings of your export command: do not set a special web item to be printed.
    If you export the template within web the second template should be printed correctly displaying the variable settings chosen in step 2 for the info_field.
    Brgds,
    Marcel

Maybe you are looking for

  • How I spent my Fall vacation getting ITUNES to run again

    I have been having intermittent problems with ITUNES downloading to my client. Once every few weeks a download gets interrupted and fails to restart. Or more correctly it restarts on the client but never finishes. The counter just keeps incrementing

  • Design Limitation On ALL Santa Rosa MacBook Pros, 2.2 and 2.4 GHz

    While searching the Internet for answers to my new $2500.00 MBP headphone (output jack) has audible hissing sounds I found several posts on Macrumors.com and macintouch.com to explain the design Limitation/Problem. To summarize: The Problem The issue

  • BAPI_SALESORDER_CREATEFROMDAT2 and Returns, RMA

    Hello all.  I'm glad to see this forum doing so well. Have any of you used the BAPI_SALESORDER_CREATEFROMDAT2 to create an RMA (returned goods) doc type RE?  This is my current task and I'm hitting a wall in my initial tests.  I've done plently of wo

  • Logging in on SQL Plus

    I have yet been able to log in to SQL Plus. I just installed 8i Personal. I created a DB called "SCOTTSDB". After creating it, I wanted to login to SQL Plus. I tried user:system password:manager, user:internal password:oracle, and user:sys password:c

  • Is there any development plan for iCloud Mail so I can use it instead of Gmail at some point?

    I would like to leave Google services in favour of Apple, as I feel that Apple is much more serious about their users, more mature and more reliable. I also feel that my data is safer with Apple than with Google. So I have some questions: Is there a