CreateDomain
Define a new ABAP domain in an SAP system by specifying its name, data type, length, and fixed values. The domain is created in initial state and can optionally be activated.
Instructions
Create a new ABAP domain in SAP system. Creates the domain object in initial state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| length | No | (optional) Field length (max depends on datatype) | |
| activate | No | (optional) Activate domain after creation (default: true) | |
| datatype | No | (optional) Data type: CHAR, NUMC, DATS, TIMS, DEC, INT1, INT2, INT4, INT8, CURR, QUAN, etc. | CHAR |
| decimals | No | (optional) Decimal places (for DEC, CURR, QUAN types) | |
| lowercase | No | (optional) Allow lowercase input | |
| description | No | (optional) Domain description. If not provided, domain_name will be used. | |
| domain_name | Yes | Domain name. | |
| sign_exists | No | (optional) Field has sign (+/-) | |
| value_table | No | (optional) Value table name for foreign key relationship | |
| fixed_values | No | (optional) Array of fixed values for domain value range | |
| package_name | No | (optional) Package name | |
| conversion_exit | No | (optional) Conversion exit routine name (without CONVERSION_EXIT_ prefix) | |
| master_language | No | Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN. | |
| transport_request | No | (optional) Transport request number, not a task. Required for transportable packages. |