Skip to main content

code: Navigation and intelligence

IDE-grade navigation and compiler-authoritative completion: go to definition, element info, where-used, usage snippets, and code completion.

Related guides: read-navigate, ai-agents.

5 commands.

abapctl code definition

READ IDEMP

Navigate to definition of symbol at cursor position

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--lineyesline number (1-based)
--colyescolumn number (1-based)
--connectionnoconnection profile name
--end-colnoend column (defaults to --col)
--implementationnofind implementation instead of definition
--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 code definition ZCL_FOO

abapctl code element-info

READ IDEMP

Get type, docs, and component info for symbol at cursor position

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--lineyesline number (1-based)
--colyescolumn number (1-based)
--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 code element-info ZCL_FOO

abapctl code references

READ IDEMP

Find all references (where-used list) for an object or symbol

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--linenoline number for position-specific lookup
--colnocolumn number for position-specific lookup
--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 code references ZCL_FOO

abapctl code snippets

READ IDEMP

Show code context at each reference site

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--connectionnoconnection profile name
--linenoline number for position-specific lookup
--colnocolumn number for position-specific lookup
--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 code snippets ZCL_FOO

abapctl code complete

READ IDEMP

Get valid completions at cursor position

OptionRequiredDescription
object (positional)yesobject (object/name argument)
--lineyesline number (1-based)
--colyescolumn number (1-based)
--connectionnoconnection profile name
--includenoclass include type
--sourcenouse a local file as the source buffer instead of fetching from SAP
--prefixnosplice this text at the cursor before querying (server filters by it)
--kindnofilter results to a specific kind
--maxnocap result count
--adt-typenoADT object type (e.g. PROG/P, DDLS/DF, CLAS/OC). Use when a name is shared by multiple object types
abapctl code complete ZCL_FOO --source ./ZCL_FOO.clas.abap