Skip to main content

πŸ“Š 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​

Trial balance of company 1010 in Excel, with the AI@Excel pane (demo data)

  1. Figures and totals come from SAP. Each amount keeps its currency in the cell; the Total row is the one calculated by SAP.
  2. 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.
  3. 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​

ElementDescription
SourceSAP analytical queries (for example Finance) or CDS views; Change selects another source
DesignerChoose the rows, columns and key figures of the query
VariablesMandatory variables (marked *) such as the posting date range, optional ones such as the G/L account hierarchy
VariantsSave a set of variable values with Save as variant… and reuse it
Max. rowsLimit 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​

Waterfall chart of the debit balance by account (demo data)

  1. The title says where the figures come from: query, dates, company code, ledger, currency.
  2. 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.
  3. A real Excel chart: it follows the table at every refresh, is saved with the workbook and pastes into PowerPoint.