UpdateDdl
Updates the DDL source code of an existing CDS or classic DDL view by locking, writing, unlocking, and optionally activating it outside batch mode.
Instructions
Updates the DDL source code of the existing CDS view or classic DDL view named by ddl_name to ddl_source. 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": {
"ddl_name": "<ddl_name>",
"ddl_source": "<ddl_source>"
},
"name": "UpdateDdl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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: false. | |
| ddl_name | Yes | DDL source name. | |
| ddl_source | Yes | Complete DDL source code. | |
| transport_request | No | Transport request number, not a task. Required for transportable packages. |