CreateFunctionModule
Create an empty ABAP function module in an existing function group by providing the function group and module name, with optional transport request.
Instructions
Create a new ABAP function module within an existing function group. Creates the function module in initial state. Use UpdateFunctionModule to set source code afterwards.
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": {
"function_group_name": "<function_group_name>",
"function_module_name": "<function_module_name>"
},
"name": "CreateFunctionModule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Optional description for the function module | |
| transport_request | No | Transport request number (e.g., E19K905635). Required for transportable packages. | |
| function_group_name | Yes | Parent function group name (e.g., ZTEST_FG_001) | |
| function_module_name | Yes | Function module name (e.g., Z_TEST_FUNCTION_001). Must follow SAP naming conventions (start with Z or Y, max 30 chars). |