create_domain
Creates an SAP DDIC domain with datatype, length, decimals, and optional fixed values, then activates it; blocks creation on production profiles.
Instructions
Create a new DDIC domain (DOMA/DD) and optionally activate it. A domain defines the technical type (datatype/length/decimals) and optional fixed values. Refuses to run on production profiles.
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": {
"domainName": "<domainName>",
"description": "<description>",
"packageName": "<packageName>",
"datatype": "<datatype>",
"length": "<length>"
},
"name": "create_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | Field length, e.g. 10 | |
| activate | No | Activate after creating | |
| datatype | Yes | DDIC data type, e.g. CHAR, NUMC, DEC, DATS, TIMS, INT4, STRING | |
| decimals | No | Decimal places (for DEC/QUAN/CURR) | |
| lowercase | No | Allow lower case | |
| transport | No | Transport request. Omit only for $TMP. | |
| domainName | Yes | Domain name, e.g. ZDOM_PLANT | |
| description | Yes | Short description | |
| fixedValues | No | Optional fixed value list, e.g. [{value:'X',description:'Yes'}] | |
| packageName | Yes | Package, e.g. ZABAP. Use $TMP for a local throwaway. |