Skip to main content
Glama

CreateFunctionModule

Create new ABAP function modules within existing function groups using a secure LOCK/UNLOCK workflow for source code upload and activation.

Instructions

Create a new ABAP function module within an existing function group. Uses stateful session with LOCK/UNLOCK workflow for source code upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
function_group_nameYesParent function group name (e.g., ZTEST_FG_001)
function_module_nameYesFunction module name (e.g., Z_TEST_FUNCTION_001). Must follow SAP naming conventions (start with Z or Y, max 30 chars).
source_codeYesABAP source code for the function module including signature (FUNCTION name IMPORTING/EXPORTING ... ENDFUNCTION).
descriptionNoOptional description for the function module
transport_requestNoTransport request number (e.g., E19K905635). Required for transportable packages.
activateNoWhether to activate the function module after creation (default: true)

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