list_class_includes
Lists a class's separate ADT includes—local types, macros, test classes—and returns the exact includeType string before you patch one. Read-only and safe on any SAP profile.
Instructions
List a class's separate ADT includes - e.g. local types (the CCIMP include / 'Local Types' tab in ADT), macros, test classes - each a DIFFERENT source object from the class's own main source (/source/main = DEFINITION/IMPLEMENTATION only). Run this BEFORE patch_class_include: it reports the exact includeType string THIS system uses (never guessed) so you can target the right one. Read-only, safe on any profile including production.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"className": "<className>"
},
"name": "list_class_includes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | Class name, e.g. ZCL_ABL_PLANT_EMAIL |