UpdateMetadataExtension
Updates the source code of an existing ABAP Metadata Extension (DDLX) by locking it, applying changes, unlocking, and optionally activating it.
Instructions
Update source code of an existing ABAP Metadata Extension (DDLX). Locks, updates, unlocks, and optionally activates. Runs outside batch mode.
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": {
"name": "<name>",
"source_code": "<source_code>"
},
"name": "UpdateMetadataExtension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Metadata Extension name | |
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| activate | No | Activate after update. Default: true | |
| lock_handle | No | Lock handle from LockObject. If not provided, will attempt to lock internally. | |
| source_code | Yes | New source code | |
| transport_request | No | Transport request number (required for transportable packages), not a task. |