CreateDomain
Create new ABAP domains in SAP systems by defining data types, lengths, fixed values, and activation parameters to establish consistent data structures.
Instructions
Create a new ABAP domain in SAP system with all required steps: lock, create, check, unlock, activate, and verify.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_name | Yes | Domain name (e.g., ZZ_TEST_0001). Must follow SAP naming conventions. | |
| description | No | (optional) Domain description. If not provided, domain_name will be used. | |
| package_name | No | (optional) Package name (e.g., ZOK_LOCAL, $TMP for local objects) | |
| transport_request | No | (optional) Transport request number (e.g., E19K905635). Required for transportable packages. | |
| datatype | No | (optional) Data type: CHAR, NUMC, DATS, TIMS, DEC, INT1, INT2, INT4, INT8, CURR, QUAN, etc. | CHAR |
| length | No | (optional) Field length (max depends on datatype) | |
| decimals | No | (optional) Decimal places (for DEC, CURR, QUAN types) | |
| conversion_exit | No | (optional) Conversion exit routine name (without CONVERSION_EXIT_ prefix) | |
| lowercase | No | (optional) Allow lowercase input | |
| sign_exists | No | (optional) Field has sign (+/-) | |
| value_table | No | (optional) Value table name for foreign key relationship | |
| activate | No | (optional) Activate domain after creation (default: true) | |
| fixed_values | No | (optional) Array of fixed values for domain value range |