CreateDataElement
Create a new ABAP data element in an SAP system by specifying name, package, and optional attributes like data type, length, labels, and search help. This tool streamlines the initial creation step for dictionary objects.
Instructions
Operation: Create. Subject: DataElement. Will be useful for creating data element. Create a new ABAP data element in SAP system. Creates the data element object in initial state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_element_name | Yes | Data element name (e.g., ZZ_E_TEST_001). Must follow SAP naming conventions. | |
| description | No | Data element description. If not provided, data_element_name will be used. | |
| package_name | Yes | Package name (e.g., ZOK_LOCAL, $TMP for local objects) | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. | |
| data_type | No | Data type (e.g., CHAR, NUMC) or domain name when type_kind is 'domain'. | CHAR |
| length | No | Data type length. Usually inherited from domain. | |
| decimals | No | Decimal places. Usually inherited from domain. | |
| short_label | No | Short field label (max 10 chars). Applied during update step after creation. | |
| medium_label | No | Medium field label (max 20 chars). Applied during update step after creation. | |
| long_label | No | Long field label (max 40 chars). Applied during update step after creation. | |
| heading_label | No | Heading field label (max 55 chars). Applied during update step after creation. | |
| type_kind | No | Type kind: 'domain' (default), 'predefinedAbapType', 'refToPredefinedAbapType', 'refToDictionaryType', 'refToClifType'. If not specified, defaults to 'domain'. | domain |
| type_name | No | Type name: domain name (when type_kind is 'domain'), data element name (when type_kind is 'refToDictionaryType'), or class name (when type_kind is 'refToClifType') | |
| search_help | No | Search help name. Applied during update step after creation. | |
| search_help_parameter | No | Search help parameter. Applied during update step after creation. | |
| set_get_parameter | No | Set/Get parameter ID. Applied during update step after creation. |