UpdateLocalMacros
Updates local macros in an existing ABAP class and records the change in a transport request, with an option to activate the parent class after the update.
Instructions
Updates the local macros of an existing ABAP class (CLAS), activating the class when asked, recorded in the transport given.
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>",
"macros_code": "<macros_code>"
},
"name": "UpdateLocalMacros"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | terse |
| class_name | Yes | Parent class name. | |
| macros_code | Yes | Updated source code for local macros. | |
| transport_request | No | Transport request number (required for transportable objects), not a task. | |
| activate_on_update | No | Activate parent class after updating local macros. Default: false |