UpdateMetadataExtension
Updates the source code of an existing CDS metadata extension (DDLX), optionally activates it, and records the change in a transport request.
Instructions
Updates the source code of an existing CDS metadata extension (DDLX), activating it 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": {
"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) 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 |
| activate | No | Activate after update. Default: true | |
| source_code | Yes | New source code | |
| transport_request | No | Transport request number (required for transportable packages), not a task. |