analyze_module_pool
Analyzes combined ABAP source from Module Pool programs and returns structured JSON with screens, PAI/PBO modules, tables, LLM business analysis, and PAI-to-RAP mapping for migration planning.
Instructions
STEP 1 — Analyzes Module Pool source code fetched by mcp-abap-adt. IMPORTANT: First use mcp-abap-adt GetProgram to get program source, then GetInclude for each include, then pass combined source here. Returns structured JSON: screens, PAI/PBO modules, tables, LLM business analysis, PAI-to-RAP mapping.
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": {
"program_name": "<program_name>",
"source_code": "<source_code>"
},
"name": "analyze_module_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_code | Yes | Combined ABAP source from mcp-abap-adt GetProgram + GetInclude calls | |
| program_name | Yes | SAP Module Pool program name e.g. ZSALES_ORDER_VIEWER |