sc4sap:program-to-spec

Extract ABAP object structure and semantics into Markdown or Excel specs.

46|15|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/babamba2/superclaude-for-sap --skill sc4sap-program-to-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc4sap:program-to-spec
Source: https://github.com/babamba2/superclaude-for-sap/tree/main/skills/program-to-spec
Command: npx skills add https://github.com/babamba2/superclaude-for-sap --skill sc4sap-program-to-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reverse-engineer an ABAP program into a Functional/Technical Specification artifact (Markdown or Excel). Socratic scope narrowing from "everything" to "only what the user needs".

Core Features & Use Cases

  • Reads ABAP objects (Report / Module Pool / FM Group / Class / CDS / RAP) via MCP, runs structural + semantic + where-used analysis, and produces a formal spec.
  • Outputs in Markdown or Excel with a negotiated depth (Overview to Audit-grade) and localization support, enabling handover, audits, and compliance artifacts.
  • Provides a multi-step workflow (trust-session, inventory, analysis/writing, and rendering) to ensure isolation of data access, context, and artifact generation.

Quick Start

Provide an ABAP object and choose the desired output format and depth; the system will generate a spec accordingly.

Frequently Asked Questions about sc4sap:program-to-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reverse-engineer an ABAP program into a functional specification?

You can generate documentation for ABAP objects including Reports, Module Pools, Function Groups, Classes, CDS Views, and RAP objects. The tool runs structural, semantic, and where-used analysis to capture inputs, screens, data models, and authorization details.

Can I export ABAP specifications to Excel for compliance audits?

A Socratic scope narrowing workflow tailors the documentation depth from a general overview to an audit-grade artifact. This interactive process negotiates the exact requirements, ensuring the generated spec matches the specific audience and project scope.

Do I need MCP to extract cross-reference data from SAP?

The generated specification includes a complete Functional and Technical breakdown featuring program inputs, screen layouts, data models, and authorization details. It serves as a comprehensive vendor-ready artifact for system handovers.

What is the best way to document ABAP where-used analysis for an AMS transition?

The workflow involves a trust-session, inventory, analysis and writing, and rendering steps. This multi-step process isolates data access and artifact generation, ensuring the final specification accurately reflects the extracted structural data.