Skip to content

Databases & warehouses

SAP HANA analytics on calculation views and column tables

SAP HANA is SAP’s in-memory, column-oriented database, run on premises or as SAP HANA Cloud. It is the database under SAP S/4HANA and SAP BW/4HANA, and also hosts native data marts built with calculation views in HDI containers. Its tables and views often hold financial postings, sales orders, deliveries, materials and plant data at the most detailed grain the business records.

SAP HANA

Available now: Nexatron answers SAP HANA questions with user-level access that inherits your existing SAP HANA permissions.

Updated

Can Claude, ChatGPT or Copilot access SAP HANA data?

Yes. To connect Claude, ChatGPT or Copilot to SAP HANA, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own SAP HANA account (or your SSO), and Nexatron inherits their existing permissions.

What SAP HANA data a question reads

Schemas and column tables
Column-store tables such as S/4HANA’s ACDOCA (Universal Journal) or VBAK and VBAP (sales documents), and native tables in custom schemas.
Calculation views
Graphical or SQL-defined views with dimensions, measures, hierarchies and input parameters, deployed in HDI containers.
CDS views
ABAP Core Data Services views in S/4HANA, such as I_GLAccountLineItem, which expose business semantics over the base tables.
Analytic privileges
Row-level restrictions on calculation views, for example by company code or sales organization.
SYS catalog views
SYS.TABLES, SYS.VIEWS and SYS.TABLE_COLUMNS, which describe objects and columns.
Monitoring views
M_CS_TABLES for memory use per table, M_EXPENSIVE_STATEMENTS and M_SQL_PLAN_CACHE for heavy queries.

SAP HANA questions people ask

  • What was operating profit by company code and profit center last period, from the Universal Journal?
  • Which sales organizations had the largest gap between ordered and delivered quantities this month?
  • Which materials had the highest stock value at plants with no consumption in 180 days?
  • How did revenue by customer group compare with the same quarter last year, using the margin calculation view?
  • Which column tables use the most memory, and how much of it is in the delta store?
  • Which statements appear most often in M_EXPENSIVE_STATEMENTS this week?

Who asks SAP HANA questions

Finance and controlling
Profit center and cost center results at the line-item grain held in HANA, without waiting for a BW query.
Sales and supply chain analysts
Order, delivery and stock figures from calculation views, filtered to their sales organization or plant.
SAP Basis and HANA administrators
Memory per table, expensive statements and which views drive load.

How Nexatron connects to SAP HANA

API and sign-in
SQL access through the SAP HANA JDBC driver, ODBC or the hdbcli Python client, with database users authenticated by password, Kerberos, SAML or JWT assertions mapped to HANA users. SAP HANA Cloud supports the same clients with TLS and JWT-based single sign-on.
User-level access
Users sign in with their own SAP HANA account (or your SSO), and Nexatron inherits their existing permissions. Users only see data they are already authorized to see.
Read-only
Questions only read SAP HANA; asking a question never changes SAP HANA data.
Setup
An administrator enables SAP HANA in Nexatron. Users link their own SAP HANA account, or sign in through your SSO, the first time they ask. Queries run in SAP HANA, with no warehouse to load.

SAP HANA in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers SAP HANA questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect SAP HANA to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your SAP HANA questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

SAP HANA questions and answers

What is a calculation view in SAP HANA?
A modeled view that combines tables with joins, unions, aggregations and calculated columns, exposing measures and dimensions for reporting. Calculation views replaced the older attribute and analytic views.
Can I query S/4HANA tables directly in HANA?
Technically yes, but SAP licensing and support terms often restrict direct database access for runtime HANA licenses, and raw tables lack business semantics. Many teams use released CDS views, a full-use HANA license, or replicate data to a warehouse or SAP Datasphere.
What are analytic privileges?
HANA’s row-level security for calculation views. They restrict which values of attributes such as company code or region a user may see, either statically or through SQL-based dynamic conditions.
SAP HANA vs SAP Datasphere?
HANA is the database. SAP Datasphere is SAP’s cloud data warehouse service, built on SAP HANA Cloud, with business modeling, spaces and connections to SAP and non-SAP sources.