π AI@Excel Query
The Query tab of the AI@Excel pane brings SAP S/4HANA data into Excel in one click: analytical queries and CDS views, read over OData, with the totals calculated by SAP.
Demo data
The screenshots show the 4IT SAP S/4HANA CAL demo system β no customer data.
A SAP Table in One Clickβ

- Figures and totals come from SAP. Each amount keeps its currency in the cell; the Total row is the one calculated by SAP.
- The pane keeps the query and its variables. Change a date, click Execute, and the sheet is rewritten. Refresh re-reads SAP with the same settings.
- Right-click a cell of the table to filter, drill down, expand or sort β as in Analysis for Office. The sheet is rewritten and the linked chart follows.
Queries, Variables and Variantsβ
| Element | Description |
|---|---|
| Source | SAP analytical queries (for example Finance) or CDS views; Change selects another source |
| Designer | Choose the rows, columns and key figures of the query |
| Variables | Mandatory variables (marked *) such as the posting date range, optional ones such as the G/L account hierarchy |
| Variants | Save a set of variable values with Save as variant⦠and reuse it |
| Max. rows | Limit the number of rows read from SAP (default 10 000) |
Hierarchies and Cell Formulasβ
- Hierarchies β expand and collapse SAP hierarchies (for example the G/L account hierarchy) directly in the table.
- Cell formulas β bring a single SAP value into any cell with an AI@Excel formula, to build your own report layouts around the SAP figures.
Native Excel Charts, Linked to the Tableβ

- The title says where the figures come from: query, dates, company code, ledger, currency.
- The 8 largest accounts, without an "Others" step. In an analytical query the amounts of the other accounts do not simply add up, so the Total shown is the SAP total, all accounts included.
- A real Excel chart: it follows the table at every refresh, is saved with the workbook and pastes into PowerPoint.