setDataElementProperties
Update an existing DDIC data element by changing its labels, type, domain, length, or other properties. Writes an inactive version; optionally activates it or uses a transport request.
Instructions
Change the definition of an existing DDIC data element. The backend PUT replaces the whole definition, so anything not passed is kept as the system has it. The type is either a domain or a built-in ABAP type, not both. The lock is taken and released here unless you pass a handle or this server already holds one; outside $TMP a transport request is needed. Writes the inactive version - pass activate to finish the job, or run activateSafe afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Data element name. | |
| label | No | Fills all four field labels at once. Each is cut to the length SAP allows (10/20/40/55) and the answer says which were cut. | |
| domain | No | Domain the element takes its type from, e.g. ZAPP_STATUS. Alternative to dataType. | |
| length | No | Length, for a built-in type. | |
| activate | No | Activate after the write (default false). Only possible when this tool took the lock itself - activation is refused while a session holds one. | |
| dataType | No | Built-in ABAP type for an element without a domain, e.g. CHAR, NUMC, DEC. Alternative to domain. | |
| decimals | No | Decimal places, for a built-in type. | |
| metaData | No | Escape hatch: the complete DataElementMetaData document, sent as it is with no merge. | |
| longLabel | No | Long label, up to 40 characters. | |
| transport | No | Transport request number - the request itself, not a developer task. | |
| lockHandle | No | Lock handle. Omit it: the one this server holds for the object is used, and with none held the lock is taken and released here. | |
| properties | No | Escape hatch: the complete DataElementProperties document, sent as it is with no merge. | |
| searchHelp | No | Search help name. | |
| shortLabel | No | Short label, up to 10 characters. | |
| description | No | Short description. | |
| mediumLabel | No | Medium label, up to 20 characters. | |
| headingLabel | No | Heading, up to 55 characters. | |
| changeDocument | No | Log changes in change documents. | |
| dataElementUrl | No | Object URL instead of the name. | |
| setGetParameter | No | SET/GET parameter id. | |
| searchHelpParameter | No | Search help parameter. | |
| defaultComponentName | No | Default component name. | |
| leftToRightDirection | No | Left-to-right direction. | |
| deactivateInputHistory | No | Switch off the input history. | |
| deactivateBIDIFiltering | No | Switch off BIDI filtering. |