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.
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 |