setDomainProperties
Modify an existing SAP DDIC domain by updating its data type, length, fixed values, and other properties, with automatic lock and transport handling, and optional activation.
Instructions
Change the definition of an existing DDIC domain. The backend PUT replaces the whole definition, so anything not passed here is kept as the system currently has it - read, merge, write happens on this side. 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 | Domain name. | |
| style | No | Output style. | |
| length | No | Field length. | |
| 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 | DDIC data type, e.g. CHAR, NUMC, DEC, DATS. | |
| decimals | No | Decimal places. | |
| metaData | No | Escape hatch: the complete DomainMetaData document, sent as it is with no merge. | |
| domainUrl | No | Object URL instead of the name. | |
| fixValues | No | Fixed values, replacing the current list: [{low, high, text}]. Pass [] to clear them. | |
| lowercase | No | Lower case allowed. | |
| transport | No | Transport request number - the request itself, not a developer task. | |
| ampmFormat | No | AM/PM time format. | |
| 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 DomainProperties document, sent as it is with no merge. | |
| signExists | No | Value can be negative. | |
| valueTable | No | Value table for the check. | |
| description | No | Short description. | |
| outputLength | No | Output length; defaults to the field length. | |
| conversionExit | No | Conversion exit, e.g. ALPHA. |