CreateTableType
Creates ABAP table types with defined row, access, and primary key settings, optionally activates them, and records changes in the specified transport request.
Instructions
Creates an ABAP table type (TTYP), with the type it holds, its access type and primary key, activating it when asked, 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": {
"table_type_name": "<table_type_name>",
"package_name": "<package_name>"
},
"name": "CreateTableType"
}
}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 | Length of the built-in row type (ttyp:builtInType/ttyp:length). | |
| activate | No | Activate the table type after creation (default: true). | |
| decimals | No | Decimal places of the built-in row type (ttyp:builtInType/ttyp:decimals). | |
| key_kind | No | Kind of the primary key (ttyp:primaryKey/ttyp:kind). | |
| data_type | No | Built-in data type of the row (ttyp:builtInType/ttyp:dataType). | |
| access_type | No | Access type of the table (ttyp:accessType). | |
| description | No | Table type description. When left out, table_type_name is used. | |
| package_name | Yes | Package the table type is created in. | |
| row_type_kind | No | Kind of the row type (ttyp:rowType/ttyp:typeKind). | |
| row_type_name | No | Dictionary type used as the row type (ttyp:rowType/ttyp:typeName). | |
| key_definition | No | Definition of the primary key (ttyp:primaryKey/ttyp:definition). | |
| table_type_name | Yes | Table type name. | |
| transport_request | No | Transport request number, not a task. Required for transportable packages. |