So far, in our course, we have used SAP Analysis for Microsoft Excel in the following ways:
- Launching SAP Analysis for Microsoft Excel
- Open Data Source
- Connect to the SAP BW/4HANA system.
- Select and execute a Data Source (query or query view)
- Navigate in the displayed query result (for example, drill down and filter)
You can also use SAP Analysis for Microsoft Excel to create workbooks.
A SAP Analysis for Microsoft Excel workbook has the following features:
- The workbook can feature multiple queries and query views.
- Queries and query views within the workbook can have specific navigation states.
- The workbook allows for simultaneous refreshing of all queries and query views upon opening.
- Individual queries and query views can also be refreshed independently.
- Workbooks can be saved with or without data.
- Excel design elements such as charts and formatting can be incorporated into the workbook.
Instead of executing individual queries or query views, reporting users rather execute SAP Analysis for Microsoft Excel workbooks.
To grant authorizations for working with SAP Analysis for Microsoft Excel workbooks, the authorization object S_RS_AO is used.
(1) The authorization object S_RS_AO.
(2) The authorization object S_RS_AO has four fields: Analysis Client Technical Name, Analysis Client Object Type, Owner of a Reporting Component, and Activity.
In the authorization example shown here:
- (3) The user is allowed to Execute (16) SAP Analysis for Excel workbooks 00.
- (4) The workbooks must begin with U00_CC.
- (5) Any user can own the workbook. The owner is the creator of the workbook.
Note
- Other values for Activity: Add or Create (01), Change (02), Display (03), Delete (06)
- Another relevant Analysis Client Object Type value: Microsoft PowerPoint (01).
When saving an analysis workbook, which typically contains data generated from executed queries or query views, various security considerations come into play. These include the interactions between authorizations for S_RS_AO, authorizations for S_RS_COMP and S_RS_COMP1, and analysis authorizations assigned to the reporting user.
Interplay of Authorizations
S_RS_AO | S_RS_COMP(1) | Analysis Authorization | Data Display |
---|
yes | no | no | display of data saved with the workbook (snapshot data) |
yes | yes | no | display of data saved with the workbook (snapshot data) |
yes | yes | yes | data can be refreshed |
These authorizations must be cleanly aligned with each other.
As already pointed out, a workbook can consist of several queries and query views. To ensure users access data for specific queries and views according to their authorizations, set workbooks to refresh automatically upon opening. Saved data (snapshot data) from a previous execution will not be displayed.
Also, this security setting can be enhanced by saving a workbook without any data at all. These security settings can be found in the Design Panel under the Components tab:
- Refresh Workbook on Opening: Saved data is not displayed because all queries and query views are refreshed together immediately. The disadvantage is that the refresh can take a long time.
- Remove Data Before Saving: The workbook is saved empty (without data). This option can be combined with the option Refresh Workbook on Opening so that all queries and query views are refreshed together immediately, or can be refreshed individually.