CreateDomain
Creates an ABAP domain with data type, length, decimals, conversion exit, value table, fixed values, and records it in the specified transport request.
Instructions
Creates an ABAP domain (DOMA), with its data type, length, decimals, conversion exit, value table and fixed values, recorded in the transport given.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_name": "<domain_name>",
"package_name": "<package_name>"
},
"name": "CreateDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent. | 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 | Yes | Package the domain is created in. | |
| conversion_exit | No | (optional) Conversion exit routine name (without CONVERSION_EXIT_ prefix) | |
| master_language | No | Original language of the created object (e.g. EN, DE). Absent, the session language (SAP_LANGUAGE or x-sap-language) is used; with none, SAP's logon language applies. | |
| transport_request | No | (optional) Transport request number, not a task. Required for transportable packages. |