UpdateDataElement
Updates an existing ABAP data element by locking, replacing its definition with supplied parameters, unlocking, and optionally activating it.
Instructions
Update an existing ABAP data element. Locks, updates with provided parameters (complete replacement), 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": {
"data_element_name": "<data_element_name>",
"package_name": "<package_name>"
},
"name": "UpdateDataElement"
}
}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 |
| length | No | Length - for predefinedAbapType or refToPredefinedAbapType | |
| activate | No | Activate data element after update (default: true) | |
| decimals | No | Decimals - for predefinedAbapType or refToPredefinedAbapType | |
| data_type | No | Data type (CHAR, NUMC, etc.) - for predefinedAbapType or refToPredefinedAbapType | |
| type_kind | No | Type kind: domain, predefinedAbapType, refToPredefinedAbapType, refToDictionaryType, refToClifType | domain |
| type_name | No | Type name: domain name, data element name, or class name (depending on type_kind) | |
| description | No | New data element description | |
| search_help | No | Search help name | |
| package_name | Yes | Package name | |
| field_label_long | No | Long field label (max 40 chars) | |
| data_element_name | Yes | Data element name to update | |
| field_label_short | No | Short field label (max 10 chars) | |
| set_get_parameter | No | Set/Get parameter ID | |
| transport_request | No | Transport request number, not a task. Required for transportable packages. | |
| field_label_medium | No | Medium field label (max 20 chars) | |
| field_label_heading | No | Heading field label (max 55 chars) | |
| search_help_parameter | No | Search help parameter |