Skip to main content

enho: Enhancement implementations

Source-level read of enhancement implementations (ENHO) on a base object, plus a system- or package-scoped inventory.

Related guides: read-navigate, clean-core.

2 commands.

abapctl enho on

READ IDEMP

List enhancement implementations active on the given base object (programs, FUGRs, classes)

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--adt-typenoADT object type (e.g. PROG/P, CLAS/OC). Auto-discovered if omitted
--includenoclass include type (only valid for CLAS/OC)
--no-decodenoreturn base64-encoded source instead of decoded UTF-8
abapctl enho on ZCL_FOO

abapctl enho list

READ IDEMP

List enhancement implementations on the system, optionally filtered by type, package, or customer-only

OptionRequiredDescription
--connectionnoconnection profile name
--typenoenhancement type filter (source-code=ENHO/XHH, badi-impl=ENHO/XHB, enhancement=ENHO/XH, enhancement-spot=ENHS/XS, badi-spot=ENHS/XSB). When omitted, aggregates the 3 enhancement-implementation types (excludes spots; use --type enhancement-spot or --type badi-spot to opt in).
--customer-onlynofilter to customer-authored ENHOs (Z*/Y* prefix queries; namespaced customers like /ACME/* require --package or downstream JSON filtering)
--packagenofilter by package name
--max-resultsnomaximum results per search bucket (default 200, NOT a total cap)
abapctl enho list