update_table
Overwrite the complete DDL source of an existing DDIC database table, with optional activation and production write protection, to apply full definition changes.
Instructions
Overwrite the source (field definitions) of an EXISTING DDIC database table. Locks, PUTs the whole new DDL source, unlocks, then optionally activates. Refuses to run on production profiles. IMPORTANT: this REPLACES the whole table definition - read it first, edit that text, and send the complete result back. Activating a structure change triggers a DATABASE CONVERSION when the table holds data, so activate defaults to false; review and activate in SE11. Prefer patch_table for small edits.
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": {
"tableName": "<tableName>",
"source": "<source>"
},
"name": "update_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete new DDL source - REPLACES the entire table definition | |
| activate | No | Activate after writing. Default false - a structure change may convert the DB; activate in SE11 yourself. | |
| tableName | Yes | Table name, e.g. ZKIT_PRODUCT | |
| transport | No | Transport request. Omit only for local/$TMP tables. |