AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

ABAP: internal tables, database round trips and slow reports

See why the kind of internal table you choose decides how fast a lookup is, why one database read inside a loop makes a report crawl, and fix a slow report by choosing the right table kind and reading data in one go.

ABAP is the programming language of SAP business systems. Most ABAP programs do the same two things: they read business data from the database and process it in memory in internal tables. Most slow ABAP reports are slow for the same two reasons: lookups on the wrong kind of internal table, and database reads placed inside a loop.

This course teaches those ideas with small Python programs you can run in your browser. Python stands in for ABAP here: the code is not ABAP, and no SAP system is used, but the costs you will count (comparisons, database round trips) are the real ones. Check SAP's documentation for exact ABAP syntax and for the current best practice in your system release. All numbers here are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

No SAP knowledge is assumed. Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample 🔒 AiTeky Pass Standard, sorted and hashed tables Model the three kinds of ABAP internal table (standard, sorted, hashed) by how they find a row, count the comparisons for lookups in each as the table grows, and learn which kind to choose for a table you read once and for a table you look up many times.
  2. 02 30 min 🔒 AiTeky Pass One read, not a thousand Count the database round trips of a report that reads a customer for every order inside a loop, compare it with reading all the needed customers at once and with a join, and see why the number of trips, not the amount of data, usually decides how long the report runs.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 35 min 🔒 AiTeky Pass On the job: fixing a report that misses its window A nightly stock valuation report now takes 4 hours 20 minutes and must finish in two. Break the run time into its causes, estimate each fix by time saved and effort, find the cheapest combination that meets the window, and write the change note for the SAP basis and finance leads.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in