Using Live Office Connection

With SAP BusinessObjects Live Office it is possible to insert data from Crystal Reports documents and Web Intelligence reports into Microsoft Office products (Word, Excel, Outlook, PowerPoint). Since data can also be refreshed with this add-on, the Live Office Connection can be a very useful way to provide our dashboards with fresh data.

Getting ready

For this recipe you will need SAP BusinessObjects BI Platform to be installed on your machine and the Live Office Connection software installed on your client computer. You will also need a Crystal Reports document, a Web Intelligence report, or a Universe to connect to.

How to do it...

  1. Open a new SAP BusinessObjects Dashboards file and go to Preferences... in the File menu. In the Excel Options section, check if Live Office Compatibility is enabled.
    How to do it...

    Note

    For better tool stability, only enable this option when you are actually using Live Office in your dashboard.

  2. Go to the Live Office tab of the spreadsheet. Click the Crystal Reports or Web Intelligence button to insert a report.
    How to do it...

    Note

    In this recipe we will use a report as a data source. You can also choose Universe Query here to connect directly to a Universe.

  3. Log in to your SAP BusinessObjects BI Platform and choose a report.
    How to do it...
  4. If your report contains any parameters, a window will appear in which you can enter the parameter values to filter the dataset that should be retrieved. In the There's more... section of this recipe we will discuss how to connect these prompts to the dashboard.
  5. In the next window, the actual Crystal Reports document or Web Intelligence report is shown. With some mouse dragging and selecting you can select the data you want to import.
    How to do it...
  6. Click the Switch to Fields button to see an overview of all available fields. Here you can also select which fields you want to use.
    How to do it...
  7. If you want to set some more filters on fields, you can use the next window by clicking on Next.
    How to do it...
  8. In the final window, you can enter a name for the Live Office objects you just set up. Click Finish.
  9. As you will see, the spreadsheet is now populated with data from the report.
    How to do it...
  10. Go to the Data Manager and add a Live Office Connections connection.
  11. Change the Sessions URL to point to the SAP BusinessObjects BI Platform server. Ranges are already bound to the cells in which the data has been imported. As you can see, Headers and Data Grid are separated. Do not forget to set up the Usage tab (see the Creating a news ticker with Excel XML Maps recipe).

    How to do it...

How it works...

With the Live Office Connection we retrieve data from Crystal Reports documents, Web Intelligence reports, or connect directly to a Universe. In this way we can reuse the definitions that are created in these reports as a base for our dashboard data.

There's more...

Just like we have seen in the Using Query as a Web Service (QaaWS) recipe, it is possible to use prompts to select the data that we want to retrieve and use it in our dashboard with a Live Office Connection. Use the following steps to set this up:

  1. In the Live Office tab of the spreadsheet, select the Modify Object button and choose Prompt Setting....
    There's more...
  2. In the window that appears you will see the available parameters. After selecting the parameter you want to use, select Choose Excel data range.
  3. Bind the field to a spreadsheet cell.
  4. Follow step 6 until 9 of the There's more... section on Using prompts of the Using Query as a Web Service (QaaWS) recipe to use this prompt from within your dashboard.
    There's more...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset