adt_create_domain
Creates an ABAP DDIC domain with a specified data type, length, and decimals, and allows activation. Domain names must start with Z or Y.
Instructions
Create a DDIC domain (DOMA) with a technical type (CHAR/NUMC/DEC/...), length and decimals. The domain is created in the given package (default $TMP, local/no transport) and optionally activated. Name must match the allowed Z*/Y* prefix. Returns the object URI and activation status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Domain name, e.g. YTEST_192637. Must match Z*/Y* prefix. | |
| length | No | Field length (number of characters/positions). | |
| package | No | Target devclass. Omit to be asked (create new package | use $TMP). | |
| activate | No | Activate after creation. Default true. | |
| datatype | No | ABAP elementary data type. | |
| decimals | No | Decimal places (DEC/CURR/QUAN/FLTP only). Default 0. | |
| transport | No | Transport request. Omit + non-$TMP package -> asked to create one. | |
| description | No | Short text / description, e.g. 'AI测试用'. |