In the world of SAP, runtime errors (also called short-dumps, or simply dumps) are typically viewed as a source of dread and something you should avoid altogether. The prevailing wisdom is clear: Catch every exception, log it quietly, and keep the system running without alarming users or halting processes. After all, who wants a production system grinding to a halt over an unhandled issue? But what if this zero-tolerance policy toward dumps is a little […]
Weiter lesenKategorie-Archive: High-Class Development
Background Processing in ABAP Made Simple
Using Uncontrolled bgPF to Boost ABAP Performance In today’s SAP development landscape, performance and responsiveness are critical for a great user experience. Users expect applications to deliver results quickly, even when the backend is doing heavy lifting like complex data processing or background validations. This is where the Background Processing Framework (bgPF) comes in — a modern tool that enables asynchronous execution of tasks, improving user experience without compromising system integrity. In this article, we’ll […]
Weiter lesenABAP SQL Host Expressions
Mit dem ABAP Release 7.50 führte SAP die SQL Host Expressions ein. Damit ist es möglich, direkt im SQL Statement ABAP Ausdrücke bzw. ABAP Coding zu verwenden. SELECT … @( HOST-EXPRESSION ) … Verwendung Host Expressions können überall im SQL Statement verwendet werden, wo auch Host Variablen verwendet werden können. Und damit ist auch der primäre Nutzen klar: Wir können Variablendeklarationen einsparen und damit kompakteren Code schreiben. Aus 2 Kommandos wird eines: Und das funktioniert […]
Weiter lesenABAP: Pass by Value vs. Pass by Reference
In modern ABAP Object Oriented Programming, we define method parameters using the IMPORTING, EXPORTING keywords, each of which can use pass by value or pass by reference, as well as the RETURNING keyword, which always uses pass by value, and the CHANGING keyword, which always uses pass by reference. Let’s understand the difference between them. 1. Pass by Value When a parameter is passed by value, a copy of the data is made. This means […]
Weiter lesenUI5/Fiori und der Cache!
Viele kennen die Situation. Man hat im Entwicklungssystem eine super coole UI5/Fiori App für ein S/4HANA System gebastelt, aber nach dem Import in das Produktivsystem (oder Q-System) geht erstmal gar nix. Target was not found, Type Error, Unknown Setting, Cannot read properties, … Sehr oft liegen die Gründe der Probleme am Cache! Nicht nur am Browser Cache, auch im SAP Backend gibt es mehrere zu berücksichtigende Caches. Nachfolgend eine Auflistung der Cache Themen, die mir […]
Weiter lesenHow to send emails from ABAP® with CL_BCS
Usage of the class CL_BCS in order to send eMails from ABAP™ applications via the Business Communication Service. With our development tips we address special, related to praxis topics around the exciting and inexhaustible topic software development. Valid for: SAP NetWeaver ABAP Web AS from 6.10 Index General e-mail dispatch from SAP Class CL_BCS Method CREATE_PERSISTENT – compile of a sending task Method SET_DOCUMENT – attach text, data files and other objects Method ADD_ATTACHMENT of the […]
Weiter lesen