UpdateStructure
Update DDL source of an existing ABAP structure. Locks, uploads new source, and unlocks. Optionally activate after update.
Instructions
Update DDL source code of an existing ABAP structure. Locks the structure, uploads new DDL source, and unlocks. Optionally activates after update. Use this to modify existing structures without re-creating metadata.
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 |
|---|---|---|---|
| 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 (e.g., ZZ_S_TEST_001). Structure must already exist. | |
| transport_request | No | Transport request number (e.g., E19K905635). Optional if object is local or already in transport. |