create_data_element
Creates a new SAP DDIC data element from a domain or built-in type, configures field labels, and can activate it; refuses production profiles.
Instructions
Create a new DDIC data element (DTEL/DE) and optionally activate it. Either point it at a domain (typeKind='domain', typeName=) or give a built-in type (typeKind='predefinedAbapType' with dataType/length). Field labels are what users see on screens. Refuses to run on production profiles.
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": {
"dataElementName": "<dataElementName>",
"description": "<description>",
"packageName": "<packageName>"
},
"name": "create_data_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Length when typeKind='predefinedAbapType' | |
| activate | No | Activate after creating | |
| dataType | No | DDIC type when typeKind='predefinedAbapType', e.g. CHAR | |
| decimals | No | Decimals when typeKind='predefinedAbapType' | |
| typeKind | No | 'domain' to reference a domain, or 'predefinedAbapType' for a built-in type | domain |
| typeName | No | Domain name when typeKind='domain', e.g. ZDOM_PLANT | |
| longLabel | No | Long field label (max 40 chars) | |
| transport | No | Transport request. Omit only for $TMP. | |
| shortLabel | No | Short field label (max 10 chars) | |
| description | Yes | Short description | |
| mediumLabel | No | Medium field label (max 20 chars) | |
| packageName | Yes | Package, e.g. ZABAP. Use $TMP for a local throwaway. | |
| headingLabel | No | Heading field label (max 55 chars) | |
| dataElementName | Yes | Data element name, e.g. ZDE_PLANT |