SAP ABAP Performance Tuning Interview Questions
Performance Tuning comes up in SAP ABAP interviews because it is one of the few areas where an interviewer can tell, in two questions, whether you have worked with the process or only read about it.
Master ABAP performance tuning with SQL optimization, ST05, SAT, SQL Monitor, internal table strategy, buffering, package processing and real production debugging.
This page carries 22 reviewed SAP ABAP performance tuning interview questions, each with a complete written answer and no sign-in required. The set breaks down into 4 foundational, 13 mid-level and 5 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.
The fastest way to use this page is to read the question, answer it yourself, and only then read the answer. The gap between your version and the written one is your actual revision list for performance tuning.
22 Performance Tuning questions with answers
2. An MM report occasionally reads nearly all purchase order items and runs for hours. What is the likely cause?
3. A slow finance report is blamed on the ALV display. How do you prove where the time really goes?
4. What is the risk of using FOR ALL ENTRIES with an empty internal table?
5. Why is SELECT inside LOOP considered bad for performance?
6. A nested LOOP AT itab1 / LOOP AT itab2 WHERE key = itab1-key is a hotspot. How do you refactor it?
7. A report filtered only by posting date and returned millions of rows slowly. How do you use indexes and WHERE conditions to fix it?
8. A month-end job takes three hours and must finish in 30 minutes. How do you run this tuning task?
9. How do you optimise a LOOP AT itab WHERE ... on a large standard table?
10. A sales order enhancement added one MARA SELECT per item, and order saves became slow for large orders. How do you fix it?
11. A large sales report repeatedly searches a standard internal table inside a loop. How do you optimise it?
12. A report loads five million billing rows into ABAP and aggregates them by customer and month. How would you improve it on HANA?
13. A report selects order headers and then selects items inside the header loop. What alternatives exist, and how do you choose?
14. A memory dump (TSV_TNEW_PAGE_ALLOC_FAILED) occurs in a report processing 3M rows. What do you change?
15. What is code push-down and how does it change your ABAP performance mindset on HANA?
16. A report takes 30 minutes. How would you start performance analysis?
17. Explain buffered vs non-buffered DB tables and when buffering hurts more than it helps.
18. How would you use parallel processing (aRFC or bgRFC) to shorten a batch run, and what risks do you plan for?
19. A report runs for 2 hours on production and 5 seconds in DEV. How do you approach tuning?
20. A nightly job loads more than ten million records into one internal table and fails with a memory dump. How do you redesign it?
21. A job is fast in DEV/QA but slow in production only during month-end. Where do you start?
22. How would you assess the performance regression of a transport before releasing it to production?
Related lesson
Performance Part 5: FOR ALL ENTRIES — Correct Use and Hidden RisksRelated topics
Next practice step
Go deeper on this topic
- Performance Tuning — lessons, mock tests and code lab
- ABAP Core
- Internal Tables
- Open SQL
- Modularization
- OOP ABAP
- ALV Reports
- SAP ABAP Debugging Interview Questions
- SAP ABAP ABAP Core interview questions
- SAP ABAP Workflow interview questions
- SAP ABAP Adobe Forms interview questions
- SAP ABAP ALV Reports interview questions
- SAP ABAP BAPI interview questions