list_system_users
List SAP system users to check transport ownership and perform user lookups. Specify a system ID or use the default system.
Instructions
List SAP system users. Useful for transport ownership and user lookups.
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": "list_system_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_id | No | SAP system ID (e.g. DEV). Omit to use default system. |
Implementation Reference
- src/mcp-server.ts:1135-1138 (handler)Handler for the list_system_users tool. Parses no input args (only optional system_id), calls client.getSystemUsers(), and returns the raw response text.
case "list_system_users": { const result = await client.getSystemUsers(); return { content: [{ type: "text", text: result }] }; } - src/adt-client.ts:223-229 (helper)Helper method in AdtClient that performs an HTTP GET to /sap/bc/adt/system/users to list SAP system users. Returns the raw XML response from the SAP ADT API.
async getSystemUsers(): Promise<string> { const response = await this.http.get<string>( "/sap/bc/adt/system/users", { headers: { Accept: "*/*" }, responseType: "text" } ); return response.data; } - src/mcp-server.ts:522-529 (registration)Registration of list_system_users tool in the ListToolsRequestSchema handler. Defines no required inputs beyond optional system_id.
name: "list_system_users", description: "List SAP system users. Useful for transport ownership and user lookups.", inputSchema: { type: "object" as const, properties: { ...SYSTEM_ID_PROP }, required: [], }, }, - src/mcp-server.ts:168-170 (schema)Shared schema constant SYSTEM_ID_PROP used by list_system_users input schema to allow an optional system_id parameter.
const SYSTEM_ID_PROP = { system_id: { type: "string", description: "SAP system ID (e.g. DEV). Omit to use default system." }, } as const;