Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 5

The SAP HANA database in business terms

11 min

Listen to this lesson

0:00 / 7:17

In the last course you learned that SAP S/4HANA runs only on SAP HANA. This lesson explains what that means for people who use the system, without assuming you know anything about databases. You do not need to administer HANA. You need to know what it makes possible, because that shapes the reports, apps and processes you will test.

A database, in one paragraph

Every SAP document you create, whether a sales order, a goods receipt or a journal entry, is stored as rows in tables in a database. Traditional databases keep those tables mainly on disk and read them into memory when needed. They are very good at saving one record quickly, but slow when a report has to read and add up millions of rows.

Two ideas: in-memory and columns

SAP HANA does two things differently. First, it is an in-memory database: it keeps the working data in the server’s main memory, which is far faster to read than disk. Second, it stores tables by column rather than by row. A sales report that totals the "net value" column only has to read that column, not every field of every order. Column storage also compresses well, because a column such as "plant" contains the same few values over and over.

Traditional databaseSAP HANA
Where working data livesMainly on disk, read into memory when neededIn the server’s main memory
How a table is storedRow by row: all fields of one order togetherColumn by column: all values of one field together
Total the net value of all ordersReads every field of every orderReads only the net value column
Repeated values such as plantStored again in every rowCompressed, because a few values repeat over and over
The two ideas behind SAP HANA: keep working data in memory and store tables by column.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-102
Question a user asksRow-based database (classic ECC)SAP HANA (S/4HANA)
Save one sales orderFastFast
Total revenue for plant 1710 this monthSlow on detail, so pre-built totals tables were keptFast, calculated from line items on request
Drill from a total to the documents behind itOften a separate report or a batch jobUsually immediate in the same app
Report on a new combination of fieldsMay need a new totals table or data warehouse loadOften possible directly on the line items
What changes for business users when the database can total line items on the fly.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-102

What you actually notice

The visible result is real-time reporting on line items. In older systems, many reports read pre-calculated totals that were updated with each posting, or worse, loaded overnight into a separate data warehouse. With HANA, an app can read the individual postings and total them when you ask. That brings three practical changes.

On SAP HANA the analytical app totals the line items when it is opened, so a goods receipt posted minutes ago is already in the number.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-102
  • Fewer overnight jobs. Reports that once waited for a batch run can show current numbers. At Contoso, the plant controller in Detroit can see today’s production variances today.
  • Analytics inside the transaction system. Many Fiori apps combine a list of documents with charts and key figures, because the same database can do both jobs.
  • Drill-down to the source. From a total, you can usually drill straight to the journal entries or documents that make it up.

HANA does not make every screen instant, and it does not fix bad data. A report that totals wrongly coded postings will show the wrong number very quickly. Speed changes how fast you can check; it does not change what is correct.

When a fast report shows a wrong number, drill to the line items to decide whether the posting or the report is at fault.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-102

Why testers should care

Real-time reporting changes what you can check during a test. You no longer have to wait for tomorrow’s report to confirm that a test posting landed in the right place. Post the document, open the report, filter for your test data, and look. That makes tests faster and makes it reasonable to ask for reporting evidence, not just transaction evidence, before sign-off.

  1. Post the test documentFor example a goods receipt at Chicago plant 1720.
  2. Open the reportThe relevant analytical app, with no wait for an overnight job.
  3. Filter for your test dataYour document numbers or test material.
  4. Check the attributesCompany code 1710, plant, profit center and period.
  5. Drill to the sourceFrom the total down to the journal entries and material documents.
  6. Record the evidenceReport name, filters used and the values you saw.
Real-time reporting lets a report check happen in the same test session as the posting.
The Sign-Off Table · thesignofftable.com/academy/sap-fnd-102

It also changes what can break. When reports read line items directly, a wrong field on a posting (a missing profit center, a wrong segment) shows up immediately in management reports. That is good if someone looks, and painful if nobody does until the CFO opens a dashboard.

What would you do?

Contoso’s plant controller asks IT for a nightly job that copies inventory values for plants 1710 and 1720 into a spreadsheet, "like we had in ECC," so she can check them each morning. What is the best advice on S/4HANA?

Key points
  • SAP HANA keeps working data in memory and stores tables by column.
  • The business result is fast reporting directly on line items, without pre-built totals.
  • Analytics and transactions can live in the same app, with drill-down to source documents.
  • Speed does not fix wrong data; use real-time reports as test evidence.

Check your understanding · not graded

Lesson check

  1. 1. What are the two main design ideas behind SAP HANA?

  2. 2. What is the most visible business result of SAP HANA?

  3. 3. A posting is missing a profit center. On S/4HANA, when does this show up in reports that read line items?