UpdateFunctionModule
Updates the source code of an existing ABAP function module by locking, modifying, unlocking, and optionally activating it outside batch mode.
Instructions
Update source code of an existing ABAP function module. Locks, updates, unlocks, and optionally activates. Runs outside batch mode.
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>",
"source_code": "<source_code>"
},
"name": "UpdateFunctionModule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| activate | No | Activate function module after source update. Default: false. Set to true to activate immediately. | |
| source_code | Yes | Complete ABAP function module source code, from FUNCTION to ENDFUNCTION. | |
| transport_request | No | Transport request number, not a task. Required for transportable function modules. | |
| function_group_name | Yes | Function group name containing the function module. | |
| function_module_name | Yes | Function module name. Function module must already exist. |