UpdateStructure
Updates DDL source code of an existing ABAP structure, locking, modifying, unlocking, and optionally activating it to apply schema changes to a database table definition.
Instructions
Update DDL source code of an existing ABAP structure. 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": {
"structure_name": "<structure_name>",
"ddl_code": "<ddl_code>"
},
"name": "UpdateStructure"
}
}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 structure after source update. Default: true. | |
| ddl_code | Yes | Complete DDL source code for structure. Example: '@EndUserText.label : \'My Structure\' @AbapCatalog.tableCategory : #TRANSPARENT define structure zz_s_test_001 { client : abap.clnt not null; id : abap.char(10); name : abap.char(255); }' | |
| structure_name | Yes | Structure name. Structure must already exist. | |
| transport_request | No | Transport request number, not a task. Optional if object is local or already in transport. |