Skip to main content
Glama

UpdateFunctionModule

Modify existing ABAP function module source code by locking, uploading new code, and optionally activating changes without recreating metadata.

Instructions

Update source code of an existing ABAP function module. Locks the function module, uploads new source code, and unlocks. Optionally activates after update. Use this to modify existing function modules without re-creating metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
function_group_nameYesFunction group name containing the function module (e.g., ZOK_FG_MCP01).
function_module_nameYesFunction module name (e.g., Z_TEST_FM_MCP01). Function module must already exist.
source_codeYesComplete ABAP function module source code. Must include FUNCTION statement with parameters and ENDFUNCTION. Example: FUNCTION Z_TEST_FM IMPORTING VALUE(iv_input) TYPE string EXPORTING VALUE(ev_output) TYPE string. ev_output = iv_input. ENDFUNCTION.
transport_requestNoTransport request number (e.g., E19K905635). Required for transportable function modules.
activateNoActivate function module after source update. Default: false. Set to true to activate immediately.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fr0ster/mcp-abap-adt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server