Class Overview
A short reference of the public classes shipped by abap-util and what they are good for.
Public Classes
| Class | Kind | Description |
|---|---|---|
zabaputil_cl_util | Façade | Static helpers grouped by prefix (json_, xml_, rtti_, c_, time_, url_param_, filter_, itab_, …). Start here. |
zabaputil_cl_util_api | Adapter | Release-neutral system API (UUIDs, BAL, callstack, Base64, XLSX). Called via the façade. |
zabaputil_cl_util_api_c | Adapter | ABAP Cloud implementation of _api. |
zabaputil_cl_util_api_s | Adapter | Standard ABAP implementation of _api. |
zabaputil_cl_util_ext | Helpers | Non-cloud helpers (DDIC reading, transport handling, search helps, conversion exits). Standard ABAP only. |
zabaputil_cl_util_db | Service | Generic key/value persistence on top of ZABAPUTIL_T_91. |
zabaputil_cl_util_log | Service (instance) | Fluent log builder with CSV/XLSX/BAL export. |
zabaputil_cl_util_http | Service (instance) | HTTP handler abstraction for on-prem and ABAP Cloud. |
zabaputil_cl_util_msg | Helpers | Extracts messages from structures, exceptions and BAL. |
zabaputil_cl_util_range | Builder (instance) | Builds SQL WHERE fragments from ABAP ranges and tokens. |
zabaputil_cl_util_xml | Builder (instance) | Fluent XML builder. |
zabaputil_cl_util_json_fltr | Helper | Filters for ajson serialization (e.g. drop empty values). |
zabaputil_cx_util_error | Exception | Single, predictable exception type used by the library. Inherits from cx_no_check. |
Sub-API of the façade
The façade groups helpers by prefix. You will rarely need anything outside of these groups:
| Prefix | Topic | Page |
|---|---|---|
c_ | Character / strings | Strings |
json_ | JSON | JSON |
xml_, xml_srtti_ | XML / typed XML | XML |
conv_ | Conversion (string ↔ xstring, base64, dates, XLSX) | Conversion |
time_ | Timestamps and date arithmetic | Time & Date |
rtti_ | Type reflection | RTTI |
boolean_ | Boolean helpers | Booleans |
url_param_ | URL query handling | URL Parameters |
filter_ | Filter / token / range conversion | Filters |
itab_ | Internal-table helpers | Internal Tables |
msg_ | Message extraction | Messages |
x_ | Exception helpers | Errors |
ui5_ | UI5 message formatting | UI5 Messages |
context_ | Runtime context | Context |
source_, app_ | Source code & app URL helpers | Source & Apps |
uuid_ | UUID generation | UUIDs |
Conventions
- All façade helpers are
CLASS-METHODS— call them statically without instantiating the façade. - Methods that return data are named with a verb-or-
get_prefix and use aRETURNING VALUE(result)parameter. - Methods that mutate an internal table use a
CHANGINGparameter (e.g.itab_corresponding,filter_itab). - Methods that may fail raise
zabaputil_cx_util_error— an unchecked exception, so wrap them inTRY/CATCHonly when you want to handle the failure locally.
Discoverability
Open the façade class in your IDE and trigger code completion after zabaputil_cl_util=> — the prefix groups make it easy to find what you need without leaving the editor.
