GetObjectsList
Recursively lists all child repository objects of ABAP programs, function groups, classes, packages, and composite objects, including nested includes and subcomponents, for one or multiple parents.
Instructions
[read-only] Recursively lists every child repository object of the program (PROG), function group (FUGR), class (CLAS), package (DEVC) or other composite object named by parent_name, parent_tech_name and parent_type, nested includes and subcomponents included. Takes parent_name, parent_tech_name and parent_type (one parent: its list) or objects (several parents: one entry per parent, in the order given, each { parent_name, parent_type, total_objects, objects } or { parent_name, parent_type, error }). Each level of the node tree is read in one ADT batch envelope. Runs on an ABAP session of its own. Optional timeout (seconds): when it passes, the read is cancelled, its ABAP session logged off, and the system stays as it was. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a client's cancel ends only the client's wait, and SAP runs the read on. Runs outside batch mode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "GetObjectsList"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | [read-only] Several parents, read together (give this or parent_name) | |
| timeout | No | Seconds to wait for the answer: a whole number, at least 1, no default — without it the call waits until SAP answers. When it passes, the read is cancelled (its ABAP session is logged off) and the call answers that nothing was changed. Set it below your MCP client's request limit — the TypeScript SDK's client cancels at 60 s; a cancel does nothing to SAP. | |
| parent_name | No | [read-only] Parent object name (with parent_tech_name and parent_type; or give objects) | |
| parent_type | No | [read-only] Parent object type (e.g. PROG/P, FUGR) | |
| parent_tech_name | No | [read-only] Parent technical name | |
| with_short_descriptions | No | [read-only] Include short descriptions (default: true) |