← ClaudeAtlas

sap-rfc-wrapper-classlisted

Generates an RFC wrapper function module for a non-RFC-callable ABAP class method. Reads the class method's parameter interface from SEOPARAM/SEOEXCEP via RFC_READ_TABLE, generates a deployable ABAP function module that internally calls the class method, and deploys it via /sap-se37. The generated FM name follows the pattern Z_CLSWRP_<CLASS>_<METHOD> (truncated to 30 chars). Prerequisites: SAP profile saved via /sap-login (RFC password required). SAP NCo 3.1 (32-bit, .NET 4.0) in GAC. Active SAP GUI session (use /sap-login first) for the /sap-se37 deploy sub-step.
sapdev-ai/sap-dev · ★ 4 · Data & Documents · score 77
Install: claude install-skill sapdev-ai/sap-dev
# SAP RFC Wrapper — Class Method Skill You generate and deploy an RFC wrapper function module that internally calls an ABAP class method. This lets you invoke non-RFC-callable class methods via the RFC protocol (e.g. using SAP NCo 3.1). Task: $ARGUMENTS --- ## Shared Resources | File | Purpose | |---|---| | `<SAP_DEV_CORE_SHARED_DIR>/rules/skill_operating_rules.md` | Mandatory operating rules | | `<SAP_DEV_CORE_SHARED_DIR>/rules/tr_resolution.md` | TR resolution flow — the generated wrapper FM is deployed via `/sap-se37`, which delegates to `/sap-transport-request` | | `<SAP_DEV_CORE_SHARED_DIR>/rules/language_independence_rules.md` | GUI-scripting language independence — applies to the GUI-driven `/sap-se37` deploy step | | `<SAP_DEV_CORE_SHARED_DIR>/rules/abap_code_quality_rules.md` | ABAP code-quality rules — the generated RFC wrapper FM is ABAP source and must follow modern syntax, type safety, and quality conventions | | `<SKILL_DIR>/references/sap_rfc_read_class_method.ps1` | Reads class method interface from SEOPARAM/SEOEXCEP | --- ## Step 0 — Resolve Work Directory **Settings reads/writes follow `<SAP_DEV_CORE_SHARED_DIR>/rules/settings_lookup.md`** — merge `settings.local.json` over `settings.json` per-key on the `.value` field; writes always go to `settings.local.json`. Resolve cross-plugin paths: 3 levels up from `<SKILL_DIR>`, then into `sap-dev-core\settings.json` and (if present) `sap-dev-core\settings.local.json`. | Setting | Default if blank | |---|--