Skip to main content

object: Browse and manage objects

Inspect, search, browse, activate, and delete existing ABAP objects.

Related guides: read-navigate.

9 commands.

abapctl object info

READ IDEMP

Show metadata for an ABAP object

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl object info ZCL_FOO

abapctl object tree

READ IDEMP

Browse objects in a package

OptionRequiredDescription
package (positional)yespackage (object/name argument)
--connectionnoconnection profile name
abapctl object tree ZFINANCE

abapctl object types

READ IDEMP

List creatable ABAP object types

OptionRequiredDescription
--connectionnoconnection profile name
abapctl object types

abapctl object inactive

READ IDEMP

List inactive objects in the SAP system

OptionRequiredDescription
--connectionnoconnection profile name
abapctl object inactive

abapctl object delete

DESTR

Delete an ABAP object from the SAP system

prompts for confirmation; read-only with --dry-run

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--transportnotransport request number
--yesnoskip confirmation prompt
--dry-runnoshow what would be deleted without deleting
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl object delete ZCL_FOO --dry-run

abapctl object history

READ IDEMP

Show revision history for an ABAP object

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--includenoclass include type
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl object history ZCL_FOO
READ IDEMP

Search for ABAP objects by name pattern

OptionRequiredDescription
query (positional)yesquery (object/name argument)
--connectionnoconnection profile name
--typenofilter by object type (e.g. CLAS, PROG, TABL)
--packagenofilter by package name
--max-resultsnomaximum number of results (default 50)
abapctl object search ZCL_*

abapctl object activate

IDEMP

Activate one or more ABAP objects (batch for multiple)

single uses sync, multiple uses batch activation; read-only with --dry-run

OptionRequiredDescription
objects (positional)yesobjects (object/name argument)
--connectionnoconnection profile name
--dry-runnoshow what would be activated without activating
--continue-on-errornoactivate each object individually, continuing past failures (multi-object only; trades the atomic batch for partial progress with no dependency reordering; auto-enabled on systems without batch activation, e.g. ECC)
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl object activate ZCL_FOO ZCL_BAR --dry-run

abapctl object path

READ IDEMP

Show the hierarchical path from root to an object

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl object path ZCL_FOO