
ABAP Unit: Test an Exception’s PREVIOUS Cause
To test an exception’s previous cause in ABAP Unit, catch the expected wrapper, assert that previous is bound, and check its exception type. Also call CL_ABAP_UNIT_ASSERT=>FAIL…
Copy a working pattern, see the expected result and know its limits.

To test an exception’s previous cause in ABAP Unit, catch the expected wrapper, assert that previous is bound, and check its exception type. Also call CL_ABAP_UNIT_ASSERT=>FAIL…

Both sap.ui.table.Table and sap.m.Table fire a paste event since UI5 1.60. The event gives you the clipboard as a two-dimensional array, but it does not write…

Kor is a free, open-source component library for OpenUI5 and SAPUI5 1.108 and higher. Its controls are written in XML views and bound to your models…

This page shows classic ABAP next to the modern form. Most of it needs ABAP 7.40; the release column tells you when a feature became available.…

CX_SY_ITAB_LINE_NOT_FOUND is raised when a table expression such as itab[ id = 5 ] finds no matching row. If nobody catches it, the program ends with…

Code that reads sy-datum gives a different result every day, so a test that passes today may fail tomorrow. Put the date behind a small interface…

CL_OSQL_TEST_ENVIRONMENT redirects ABAP SQL in your test session from a real table to an empty test double. You insert the rows you need, run the code…

FILTER copies the rows of an internal table that match a condition. It requires a sorted or hashed key for the fields in WHERE. A standard…

Use INNER JOIN @itab when your ABAP release (7.52 or higher) supports it and the database connection can receive internal tables. Otherwise use FOR ALL ENTRIES,…

When processing queued tasks, sort by priority while keeping arrival order among tasks with the same priority. Add STABLE to SORT so tied rows retain their…