adt_create_dataelement
Create an ABAP DDIC data element by referencing a domain; the technical type is automatically derived from the domain.
Instructions
Create a DDIC data element (DTEL) that references an existing domain. The technical type (CHAR/length/decimals) is derived automatically from the referenced domain. Field-label lengths default to short 10 / medium 20 / long 40 / heading 55; a longer supplied label uses its actual length. Created in the given package (default $TMP, local/no transport) and optionally activated. Name must match Z*/Y* prefix. Returns the object URI, referenced domain, derived type and activation status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Data element name, e.g. YTESTDE_192637. Must match Z*/Y* prefix. | |
| domain | No | Existing domain to reference, e.g. YTEST_192637. | |
| package | No | Target devclass. Omit to be asked (create new package | use $TMP). | |
| activate | No | Activate after creation. Default true. | |
| longLabel | No | Long field label. Default length 40; a longer supplied text keeps its actual length. Defaults to description. | |
| transport | No | Transport request. Omit + non-$TMP package -> asked to create one. | |
| shortLabel | No | Short field label. Default length 10; a longer supplied text keeps its actual length. Defaults to description. | |
| description | No | Short text / description, e.g. 'AI测试用数据元素'. | |
| mediumLabel | No | Medium field label. Default length 20; a longer supplied text keeps its actual length. Defaults to description. | |
| headingLabel | No | Heading label. Default length 55; text keeps its actual length (SAP cap). Defaults to description. |