Skip to main content

get_callees_of

Find all callees (downward call hierarchy) of an ABAP method, function module, or subroutine.

Defined in packages/adt-mcp/src/lib/tools/call-hierarchy.ts.

Input schema

{
baseUrl: string; // SAP system base URL
client?: string; // SAP client number
username?: string; // Username for basic auth
password?: string; // Password for basic auth
objectName: string; // Name of the ABAP object (class, function group, program)
objectType?: string; // Object type (e.g. CLAS, FUGR, PROG)
objectUri?: string; // Direct ADT URI of the object (skips name resolution if provided)
maxResults?: number; // Maximum number of results (default: 50)
}

Output

JSON object with shape { objectName, objectUri, callees }. Returned inside content[0].text.

Example invocation

{
"name": "get_callees_of",
"arguments": {
"baseUrl": "https://sap.example.com:44300",
"username": "DEVELOPER",
"password": "***",
"client": "100",
"objectName": "ZCL_MY_CLASS",
"objectType": "CLAS"
}
}

Underlying contract

  • GET /sap/bc/adt/repository/informationsystem/callees (via client.fetch)

See also