Introduction One of the most common causes of performance issues in SAP systems is executing SELECT statements on fields that are neither part of the primary key nor supported by an index. When such queries are executed on large tables, they may lead to: Long response times Work process blocking Background job delays Overall production system performance degradation In this article, we will examine step by step: Why SELECT statements on non-key fields are slow How the databas
1. The Importance of Logging and Error Handling in Production Systems In SAP projects, code that simply works is often considered sufficient. However, the real test begins once the solution is moved to the production system. The number of users increases, data volume grows, and processes are no longer limited to dialog programs; background jobs, integrations, and chained flows come into play. In production environments, a significant portion of errors never appear on the user
Introduction In SAP ABAP development, FOR ALL ENTRIES (FAE) is one of the most well-known techniques for performance optimization. Its main purpose is to eliminate repetitive database access inside loops and to reduce the number of database round trips. For this reason, it is often assumed to be faster by default . However, in real-life scenarios, FOR ALL ENTRIES does not always improve performance. When it is used without proper checks, data volume analysis, or consideratio