get_function_module_source
Read the ABAP source of an existing function module to inspect current logic before updating or patching it; pass the function group name without the SAPL prefix.
Instructions
Read the source of an existing ABAP function module. Use this before update_function_module or patch_function_module to see what is already there. Pass the function group WITHOUT the SAPL prefix (e.g. ZFOO, not SAPLZFOO). Read-only, safe on any profile including production.
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": {
"functionGroup": "<functionGroup>",
"functionModule": "<functionModule>"
},
"name": "get_function_module_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionGroup | Yes | Function group WITHOUT the SAPL prefix, e.g. ZABLMM_QCF_WF. Tip: look up PNAME in TFDIR - SAPL<GROUP> means group <GROUP>. | |
| functionModule | Yes | Function module name, e.g. ZABLMM_QCF_WF_APPROVE |