generate_rap_skeleton
Generates complete ABAP code for CDS view, Behavior Definition, and metadata extensions from migration analysis, enabling human review before SAP deployment.
Instructions
STEP 2 — Given the analysis JSON from step 1, generates the full RAP migration plan: CDS view, Behavior Definition, Behavior Implementation class, metadata extensions. Returns ABAP code as strings — does NOT write to SAP yet. Human must approve.
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": {
"analysis_json": "<analysis_json>",
"target_package": "<target_package>",
"prefix": "<prefix>"
},
"name": "generate_rap_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | Z-prefix for generated objects e.g. ZR_ | |
| analysis_json | Yes | JSON string from analyze_module_pool | |
| target_package | Yes | SAP package for new objects e.g. ZMIGRATED |