generate-rap-logic
Installation
SKILL.md
Generate RAP Business Logic
Generate RAP determination, validation, and custom action implementations for an existing behavior definition. Reads the RAP stack, identifies empty method stubs (or missing handler signatures) in the behavior pool, and generates ABAP Cloud implementation code.
This skill replicates SAP Joule's "RAP Logic Prediction" capability by combining ARC-1 (SAP system access) with mcp-sap-docs (documentation & best practices).
Smart Defaults (apply silently, do NOT ask)
| Setting | Default | Rationale |
|---|---|---|
| Entity access | IN LOCAL MODE always |
Inside behavior pool, no auth check needed |
| Message style | Hardcoded text via new_message_with_text() |
Simplest for prototyping; use MSAG for production (see Notes) |
| Scope | All empty methods | User can narrow after seeing the list |
| Error handling | FAILED + REPORTED structures |
Standard RAP error propagation |
Input
The user provides a behavior definition name (e.g., ZI_TRAVEL).