BusinessObjects SDK - Save as Excel functionality

Hi Experts,
I have a question for anyone experienced with the SDK and the BOBJ apis. We are presenting WEBI reports to Partners, so we want to display the reports without the toolbars and only show the reports. We do not want to confuse them will all the extras :). We have done this, but, we have now been asked to provide the "save as excel" functionality to the users while still keeping all the toolbars hidden. So our goal is to just add our own button that will call the same functionality as file -> save as excel. Does anyone know if there is a specific function we can call from the apis that will perform this action?
Second, and not sure if this is possible or not (hope it is). We also have some xcelsius reports displayed to the user in flash. We would also like to add the same functionality, giving the user the ability to click a button and save as excel. Does anyone know if there is a specific function within the xcelsius specific classes that would allow us to do this as well?
Thanks!
-Kevin

Hi Kevin,
If you are using the Business Objects Enterprise BI 4.0 then you can modify the crystal report viewer format list where you  can export to any particular format.
Please refer to the below mentioned Blog by Ted Ueda :
[SAP BusinessObjects Enterprise BI 4.0 - Modify the Crystal Reports Viewer Export Format List|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22845]
As mentioned, you could only allow  the excel format to be exported by your customers.
Regards,
Rameez Shaikh

Similar Messages

  • Where can I modify or re-create the save-as-excel function in query reports

    as the titile

    I don't know of any legal site where you can download US TV shows in the UK, nor any site where you can buy movies in a format that will be iPod-compatible (any that might be open in the UK almost certainly will use Microsoft's format). Perhaps someone else here will know of a site, but it's doubtful, since the show and movie owners don't want them put out without copy protection.
    how i can create an account on the US itunes with a UK credit card?
    Sorry, but you can't.

  • Add a "save as excel" button in CDZ viewer

    I am currently using BOE XI R2.  By default, under "Document", there is a function that allows me to Save the opened webi report into excel and pdf and other formats. 
    I am just wondering if it's possible to move that save-as-excel functionality out and put that as a one click button on the cdz viewer panel. 
    http://web9.twitpic.com/img/40877829-22a0760e65d8a7323a5ac918518515a0.4af27af7-scaled.jpg
    the save-as function as circled in red. and I would like to add that function into the main menu bar, as outlined with the orange box.
    thank you very much in advance!
    Lawrence

    The provided link displays a blank page. See if you can provide a new link. Also, see if you get an answer in the [Business Objects Enterprise Administration|BI Platform; forum.
    Ludek

  • Is com.businessobjects.sdk.ceutils.prompts.PromptsUtil deprecated ?

    Hi
    Is there a way to confirm if com.businessobjects.sdk.ceutils.prompts.PromptsUtil has been deprecated for  BusinessObjects Enterprise XI 3.1 SP4 ?
    I see the following posts saying that it could be a documentation error and it has not been deprecated for web intelligene but nothing specific to my version
    BOE 3.1 Service Pack 2 SDK changes
    Schedule webi with prompts problem
    If it has been deprecated whats the correct way for populating webi prompts ?
    Thanks

    Our code is similar to what you have, but if we don't use the .refresh command, the new values are not populated on the report. Do you have any idea why? Our issue is that when it schedueles the report, it doesn't return quickly. It waits until the report is done.  Here is our code:
    public static void sendReport
    (    IEnterpriseSession eSession,
    String TstPrdFlag,
          int jobControlId,
          String docId,
          int format,
          String mimeType,
          String filepath
    try
    IInfoStore infoStore = (IInfoStore) eSession.getService("InfoStore");
    //get WebI doc
    IInfoObjects infoObjects = infoStore.query("Select TOP 1 * From CI_INFOOBJECTS Where "
                         + " SI_KIND='Webi' And SI_INSTANCE=0 "
                         + " And SI_ID = '" + docId + "'");
    IWebi webi   = (IWebi) infoObjects.get(0);
    ISchedulingInfo schedInfo = webi.getSchedulingInfo();
    //============================================================================
         // Set Prompts
         //============================================================================
         if (webi.hasPrompts())
              try
                   ReportEngine reportEngine = (ReportEngine) eSession.getService("WebiReportEngine");
                   DocumentInstance docInst = (DocumentInstance) reportEngine.openDocument(webi.getID());
                   docInst.refresh();
              Prompts prompts = docInst.getPrompts();
              for (int j = 0; j < prompts.getCount(); j++)
                 // assumes only a single value per prompt - no MultiValues
                     Prompt prompt = prompts.getItem(j);
                     String [] vals = new String[1];
                     vals[0] = getParameter (TstPrdFlag, jobControlId, prompt.getName());
                     //System.out.println(prompt.getName()+ " " + vals[0]);
                     prompt.enterValues(vals);
              docInst.setPrompts();
                        docInst.refresh();
                        docInst.save();
                        //getSQL (docInst);
                        //DataProvider dp = docInst.getDataProviders().getItem(0); // retrieve the DataProvider that you would like the SQL for
                        //String sql = dp.getQuery().getSQL(); // the SQL out of the DataProvider
                        //System.out.println(sql);
                        //PromptsUtil.populateWebiPrompts(prompts, webi);
                        docInst.closeDocument();
                 reportEngine.close();
              catch (REException e)
    e.printStackTrace();
         //===========================================================================
         // Format as Excel or PDF
         //===========================================================================
         webi.getWebiFormatOptions().setFormat(format);
    //===========================================================================
         // send to disk
         //===========================================================================
                //Get the destination object from schedulingInfo
         IDestination destinationObject = schedInfo.getDestination();
         //IDestinations destinations = schedInfo.getDestinations();
                 //IDestination destinationObject = (IDestination) destinations.get(0);
                 // Specify that we are writing to disk
                 destinationObject.setName("CrystalEnterprise.DiskUnmanaged");
                 // Get the Destination plug-in. Note that the SI_PARENTID will always be 29.
                 IDestinationPlugin destinationPlugin = (IDestinationPlugin)
                           infoStore.query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_NAME='CrystalEnterprise.DiskUnmanaged'").get(0);
                 destinationObject.copyToPlugin(destinationPlugin);
                 IDiskUnmanagedOptions diskUnmanagedOptions = (IDiskUnmanagedOptions) destinationPlugin.getScheduleOptions();
                 diskUnmanagedOptions.getDestinationFiles().add(filepath);
                 destinationObject.setFromPlugin(destinationPlugin);
    //===========================================================================
         // Schedule WebI report to run once now
         //===========================================================================
         schedInfo.setRightNow(true);
         schedInfo.setType(CeScheduleType.ONCE);
    // Tell the CMS to schedule the report.
    infoStore.schedule (infoObjects);
    } catch (SDKException e)
    throw new Error ("Failed to schedule report. Exception caught: " + e.getMessage());

  • Save as Excel - Chart become picture in BO4

    in BO XI 3.1, if we save  as excel,
    the chart is still a Excel Chart in Excel file
    But in BO 4, if we save as excel
    the chart in Webi will become Picture in Excel file
    if is a bugs or SAP removed this feature in BO4?
    Thanks.
    John Kong

    Hi,
    If you wish to change this functionality, you could log your request at http://www.ideas.sap.com. It is an open forum where other users can see your request and can vote for it.
    Regards,
    Nakul Mehta

  • List of Unsupported Excel Functions

    I just discovered Xcelsius doesn't support the "indirect" function.  Can you provide a list of all functions that Xcelsius doesn't support so I can avoid them?  Thanks very much!

    Even I am facing the same error when I preview or save as a SWF, Xcelsius warns: "UnSupported Excel Function: INDIRECT indirect" and terminates the attempt.
    I am using nested functions: "=IF(ISBLANK(INDIRECT("'"&'Summary'!D14&"'!B12")),"",INDIRECT("'"&'Summary'!D14&"'!B12"))"
    Any ideas why xcelsius is throwing up an error when it lists INDIRECT as an supported function? I am using the most recent version (5.2.1.0, build 12,2,1,94).
    Can anybody help me out with a workaround for navigating between worksheets without indirect function???
    Thanks in Advance!
    Cheers!!!

  • Excel functionality in BPS layout

    Hi gurus,
    I have a problem with layout on excel: all the excel functionality are not avaible, in particular i refer to filter and order.
    I try to unprotect excel worksheet but if i use filter i have a lot of problems when save data.
    My users are very boring ....
    Thanks in advance
    FT

    Hi,
    just some background information: in BPS Excel is 'controled' via SAPGUI using OLE Automation, i.e. same technique Word uses to control an embedded Excel file. In this mode some Excel features cannot be used.
    In addition it is hard to control Excel completely. BPS gets the data from the ABAP back-end and transfers the cells via SAPGUI and OLE Automation to Excel. After this BPS has no control what Excel does with the data. Some Excel functions like 'filter' or 'sort' make it almost impossible to read the data back from Excel in a consistent way. This is why the worksheet is protected by default the these kind of Excel functions lead to problems.
    If you save the Excel template without protection in the layout builder it is also not protected at run time of manual planning.
    It is also easy to create a button that protects/unprotects the worksheet. A code snippet can be found in the VBA makros SAPAfterDataPut, SAPBeforeDataGet.
    Regards,
    Gregor

  • Operation failed when trying to Save a Custom Function to the Repository

    When attempting to save a Custom Function to the Repository in Crystal Reports XI R2, I get the following error message:
    "Operation failed: You do not have edit right on: "Default folder for custom functions".
    Where is the default folder for custom functions and how do I grant it the "Edit" right?
    Thanks,
    Jim

    Hi Jim,
    To give rights to a user or a group to save custom function in the Repository:
    1. Open the Business View Manager
    2. Logon to your BusinessObjects Enterprise as the Administrator
    3. In the "Repository Explorer",  right click on the "Custom Functions" folder, and in the contextual menu, select "Edit Rights"
    4. In the "Edit Rights" window, add the user or group that you want to give the right to save a custom function to the repository, and set the "Edit" right to "Granted". Finally, click on the "OK" button to accept the change.
    The user will then be able to save a Custom Function to the Repository in Crystal Reports XI R2.
    Also, note that it is important that the "Everyone" group "Edit" right isn't set to "Denied" as every user is part of the "Everyone" group.
    If the group "Everyone" is set to denied, it will take precedence to the user rights, so nobody will be able to save custom function. So ensure the "Everyone" group right is either set to "Inherited" or "Granted".

  • COPY TO EXCEL FUNCTION FOR MB5L

    ENHANCE THE COPY TO EXCEL FUNCTION FOR MB5L REPORT SO THAT THE DATA IS STRAIGHT AWAY TRANSFERRED TO EXCEL FILE IN PROPER COLUMNS AND VALUES.
    BEST REGARDS
    PANKAJ

    Hi Pankaj,
    Execute MB5L, then 
    go to list-Save-File-Spread sheet- Give file name and generate.
    Hope it helps.
    Uts

  • Help writing a excel function to a cell using powershell

    I have been working on a function that will write worklog information to an excel template. I am able to get it to work but once i added the date column and tried to write a excel function to it I'm getting the below error.
    Exception setting "Item": "Exception from HRESULT: 0x800A03EC"At
    C:\Users\shuppz\Documents\WindowsPowerShell\Modules\Client Config CDRL\Source\Get-Assignment.ps1:1482 char:4
    + $Main.Cells.Item($i, 9) = $DateFunction
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
    + FullyQualifiedErrorId : CatchFromBaseAdapterParameterizedPropertySetValueTI
    the excel string i need to add to the cell is to add a date and the string i created is in the below function called $DateFunction.
    Function Create-Worklog
    Param ($NewFile, $DBName, $Work)
    $before = @(Get-Process [e]xcel | %{ $_.Id })
    $ExcelObject = new-Object -comobject Excel.Application
    $ExcelId = Get-Process excel | %{ $_.Id } | ? { $before -notcontains $_ }
    $ExcelObject.visible = $False
    $ExcelObject.DisplayAlerts = $False
    $ActiveWorkbook = $ExcelObject.WorkBooks.Open($NewFile)
    $Main = $ActiveWorkbook.Worksheets.Item('Worklog')
    $Main.Cells.Item(2, 6) = $(Get-Date -f MM/dd/yyyy)
    $Main.Cells.Item(3, 6) = $($DBName.Replace(".accdb",""))
    $i = 6
    ForEach ($W in $Work)
    $DateFunction = "=IF (G$i = " + [char](34) +"Mitigated" + [char](34) + ", TODAY(), IF (G$i = " + [char](34) +"Escalated" + [char](34) + ", TODAY(), IF (G$i = " + [char](34) +"Offline"", TODAY(), " + [char](34) +")))"
    $Main.Cells.Item($i, 1) = $W.Workstation
    $Main.Cells.Item($i, 2) = $W.VulnCount
    $Main.Cells.Item($i, 3) = $W.OS
    $Main.Cells.Item($i, 4) = $W.AuditID
    $Main.Cells.Item($i, 5) = $W.Name
    $Main.Cells.Item($i, 6) = $W.Fix
    $Main.Cells.Item($i, 7) = "Open"
    $Main.Cells.Item($i, 9) = $DateFunction
    $TBString = "{0},{1}" -f $W.Workstation, $W.AuditID
    $Main.Cells.Item($i, 12) = $TBString
    $i++
    $ActiveWorkbook.SaveAs($NewFile)
    $ExcelObject.Quit() | Out-Null
    [System.Runtime.Interopservices.Marshal]::ReleaseComObject($ExcelObject)
    Stop-Process -Id $ExcelId -Force -ErrorAction SilentlyContinue
    If someone can help me figure out how to add this custom excel function. When I run the function everything gets filled out but the date function.

    Try this instead:
    $DateFunction = "=IF (G$i = `"Mitigated`", TODAY(), IF (G$i = `"Escalated`", TODAY(), IF (G$i = `"Offline`", TODAY(), `"`")))"
    You can just escape the " with a backtick ` you don't need + [char](34) +
    You were also missing a double-quote at the end of the formula which is probably what was causing the problem.
    I hope this post has helped!

  • Save via Excel-Toolbar vs. Save via BEx-Toolbar (InfoCatalog)

    Hi all,
    in the last time I occupy oneself with BW and BEx to automate querys. I think there are two ways to save an Excel-Workbook:
    1. you can save it as workbook in the InfoCatalog (saveoption in the BEx toolbar)
    2. or save it classical as .xls by Excel
    Now my question: there are any reasons against Variant 2? I find it’s a little easier to write only one Excel-Workbook-Macro. For Variant 1 I need 2 Workbooks, one „Autostart-Workbook“ that opens the sapbex.xla and the second Workbook  from the InfoCatalog.
    Is the choice only a matter of taste?
    Best regards
    Tim
    Message was edited by:
            Tim Loeck

    Hello Sarhan,
    thank you for the answer.
    The security of the data storage is one site, but are there any reasons against Variant 2 because of missing functions? For example the option "refresh query after opening workbook" won’t work with Variant 2. It’s not a big problem, because you can manage it with a VBA-Code. Are with Variant 2 anticipate any trouble? Has anybody experience with Varinat 2?
    Best regards
    Tim

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

  • Cannot save the excel report in my application

    Hi I wrote a program which can save the data to an Excel report. It runs perfectly on my own computer. After I built the application (exe file), and run it in another computer, which can not save the excel report. On my own computer, it has LabVIEW 2011 and report generation toolkit for Microsoftoffice; and on the other computer, I installed the LabVIEW runtime engine. Did I miss installing some other support software? Can anyone tell me why this is not working?
    Thanks a lot,
    Jane

    Do you have Excel installed on the other computer?
    I also suggest that you read this page : Including Report Generation VIs in Stand-Alone Applications (Report Generation Toolkit)
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Why does Apple say that Numbers can open and save Excel files, when in actuality, it can only open .XLSX files and only Export to Excel (not save-as excel)?

    When attempting to open .XLS files in Numbers, the format is not recognized. When the format is .XLSX, the format is recognized. Why is it this way? It's still much more common for folks to have the .XLS file format on their excel files. Why would Numbers not be backwards-compatible?
    Additionally, to state in the benefits of this program that one can save to 'Excel' is a little misleading. You can't save to anything except .numbers. Sure, you can export to Excel (with file extension .XLS, I might add), but you can't save or save-as.
    Does anyone else see the irony in being able to export to .XLS but not be able to open an .XLS?
    There is something to be said for clarity.
    You can't expect folks to have Numbers and Excel on their systems, so how else are they supposed to open .XLS files in Numbers?
    And I don't need to see another advertisement for NeoOffice or OpenOffice here, thanks. I'd actually like Numbers to be a little more sensible.
    That is all.

    When the advertisements were written, there was no Lion so we were able to Save As Excel.
    At thiqs time there is no longer Save As command under Lion but the feature is always available.
    When your editing task is ended, you are free to use this scheme:
    File > Duplicate
    File > Save and in the dialog you will have the option save as Excel.
    Numbers isn't and I hope that it will not become an Excel editor.
    Its resources contain a flag defining it this way.
    I posted several times a script editing this resource.
    This morning I'm not in a mood allowing me to do your duty.
    Search by yourself in existing threads with a keystring like
    viewer AND editor
    Yvan KOENIG (VALLAURIS, France) jeudi 27 octobre 2011 09:40:23
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • 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,

Maybe you are looking for

  • Goods Receipt For Scheduling Agreement

    Dear Experts, Can anybody please explain, the step by step procedure for the Goods Receipt of Scheduling Agreement. I have created scheduling agreement (ME31L) and delivery schedule (ME38) with 15 schedule lines (e.g. from date 01.04.2008 to 15.04.20

  • HT1557 why am i not able to update itunes 10.6.3 on my MacBook pro, for me to backup my ios7 phone

    i have been trying to update itunes 10.6.3 on my MacBook pro, for me to backup my ios7 phone,i keep getting a message saying ( unable to update ), yet its no problem old windows computers, HELP PLEASE.

  • Not valid PDF error when opening PDF file

    I am trying to view a pdf and it starts opening with Adobe but then says it cannot open because it is not a valid pdf. But I have been able to view it on my laptop and other computers.   Please help! amanda

  • Webdynpro Layout Icons-- Not visible

    Hi Experts, We are having ECC6.0 implemented in our Organisation. I need to develop ABAP webdynpro Object.The layout is ready but Im not able to drag and drop the icons in the layout. What can be the problem?? Expecting your reply at the earliest.

  • Nokia lumia 610 mms

    I have a Nokia lumia 610 and since having it for a month I was unable to use my data I pay for on contract. Also am unable to send or recieve mms messages. I found the network support and did that. My internet is now working but my mms will still not