UpdateView
Update existing CDS or Classic View by locking, checking, uploading new DDL source, unlocking, and optionally activating the change.
Instructions
Update DDL source code of an existing CDS View or Classic View. Locks the view, checks new code, uploads new DDL source, unlocks, and optionally activates.
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": {
"view_name": "<view_name>",
"ddl_source": "<ddl_source>"
},
"name": "UpdateView"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate after update. Default: false. | |
| view_name | Yes | View name (e.g., ZOK_R_TEST_0002). | |
| ddl_source | Yes | Complete DDL source code. | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. |