Skip to content

Class Overview

A short reference of the public classes shipped by abap-util and what they are good for.

Public Classes

ClassKindDescription
zabaputil_cl_utilFaçadeStatic helpers grouped by prefix (json_, xml_, rtti_, c_, time_, url_param_, filter_, itab_, …). Start here.
zabaputil_cl_util_apiAdapterRelease-neutral system API (UUIDs, BAL, callstack, Base64, XLSX). Called via the façade.
zabaputil_cl_util_api_cAdapterABAP Cloud implementation of _api.
zabaputil_cl_util_api_sAdapterStandard ABAP implementation of _api.
zabaputil_cl_util_extHelpersNon-cloud helpers (DDIC reading, transport handling, search helps, conversion exits). Standard ABAP only.
zabaputil_cl_util_dbServiceGeneric key/value persistence on top of ZABAPUTIL_T_91.
zabaputil_cl_util_logService (instance)Fluent log builder with CSV/XLSX/BAL export.
zabaputil_cl_util_httpService (instance)HTTP handler abstraction for on-prem and ABAP Cloud.
zabaputil_cl_util_msgHelpersExtracts messages from structures, exceptions and BAL.
zabaputil_cl_util_rangeBuilder (instance)Builds SQL WHERE fragments from ABAP ranges and tokens.
zabaputil_cl_util_xmlBuilder (instance)Fluent XML builder.
zabaputil_cl_util_json_fltrHelperFilters for ajson serialization (e.g. drop empty values).
zabaputil_cx_util_errorExceptionSingle, 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:

PrefixTopicPage
c_Character / stringsStrings
json_JSONJSON
xml_, xml_srtti_XML / typed XMLXML
conv_Conversion (string ↔ xstring, base64, dates, XLSX)Conversion
time_Timestamps and date arithmeticTime & Date
rtti_Type reflectionRTTI
boolean_Boolean helpersBooleans
url_param_URL query handlingURL Parameters
filter_Filter / token / range conversionFilters
itab_Internal-table helpersInternal Tables
msg_Message extractionMessages
x_Exception helpersErrors
ui5_UI5 message formattingUI5 Messages
context_Runtime contextContext
source_, app_Source code & app URL helpersSource & Apps
uuid_UUID generationUUIDs

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 a RETURNING VALUE(result) parameter.
  • Methods that mutate an internal table use a CHANGING parameter (e.g. itab_corresponding, filter_itab).
  • Methods that may fail raise zabaputil_cx_util_error — an unchecked exception, so wrap them in TRY/CATCH only 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.

Released under the MIT License.