
ABAP replace( ): Fix Only the First Occurrence Changing
If ABAP replace( ) changes only the first match, add occ = 0 to replace all occurrences. The default is occ = 1; a positive value…
Copy a working pattern, see the expected result and know its limits.

If ABAP replace( ) changes only the first match, add occ = 0 to replace all occurrences. The default is occ = 1; a positive value…

sap.ui.comp.valuehelpdialog.ValueHelpDialog is part of SAPUI5 and is not shipped with OpenUI5. In OpenUI5 you can open a sap.m.TableSelectDialog from the valueHelpRequest event of sap.m.Input. F4 triggers…

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…