UpdateDdl
Update the DDL source of an existing CDS or classic DDL view, with optional activation and transport recording, to keep view definitions in sync with your SAP system.
Instructions
Updates the DDL source of an existing CDS view (DDLS) or classic DDL view, 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": {
"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) 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: 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. |