DeleteLocalMacros
Removes local macros from an ABAP class by clearing the macros include, with automatic locking and optional activation.
Instructions
Delete local macros from an ABAP class by clearing the macros include. Manages lock, update, unlock, and optional activation. Note: Macros are supported in older ABAP versions but not in newer ones.
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": {
"class_name": "<class_name>"
},
"name": "DeleteLocalMacros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | Parent class name (e.g., ZCL_MY_CLASS). | |
| transport_request | No | Transport request number. | |
| activate_on_delete | No | Activate parent class after deleting. Default: false |