UpdateTable
Updates DDL source code for an existing ABAP table, handling lock, modification, unlock, and optional activation outside batch mode.
Instructions
Update DDL source code of an existing ABAP table. 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": {
"table_name": "<table_name>",
"ddl_code": "<ddl_code>"
},
"name": "UpdateTable"
}
}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 table after source update. Default: true. | |
| ddl_code | Yes | Complete DDL source code for table. Example: '@EndUserText.label : \'My Table\' @AbapCatalog.tableCategory : #TRANSPARENT define table ztst_table { key client : abap.clnt not null; key id : abap.char(10); name : abap.char(255); }' | |
| table_name | Yes | Table name. Table must already exist. | |
| transport_request | No | Transport request number, not a task. Optional if object is local or already in transport. |