abap news

Practical ABAP and SAP examples

Copy a working pattern, see the expected result and know its limits.

Topics

Latest posts

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…

Paste Excel Data into a UI5 Table

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…

Fix CX_SY_ITAB_LINE_NOT_FOUND in ABAP

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…