sap-gen-abap

Generate ABAP source code from process text files.

7|1|Updated May 11, 2026
One-click install
npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-gen-abap
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sap-gen-abap
Source: https://github.com/sapdev-ai/sap-dev/tree/main/plugins/sap-gen-code/skills/sap-gen-abap
Command: npx skills add https://github.com/sapdev-ai/sap-dev --skill sap-gen-abap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts process-text specifications into ABAP source code, reducing manual translation work and ensuring consistency with project briefs and naming rules.

Core Features & Use Cases

  • Reads customer brief and naming rules to drive ABAP release decisions, OOP scaffolding, and unit-test planning.
  • Parses {doc_name}_process.txt to identify program type (Dialog/Module Pool, Report, Function Module) and to assemble ABAP artifacts.
  • Pre-fetches FM signatures and injects them into generated code to avoid parameter-name hallucinations.
  • Generates ABAP sources with modern syntax, performance considerations, and authorization checks, then writes {doc_name}.abap to the work folder.

Quick Start

Invoke the skill with the path to the {doc_name}_process.txt file, for example: /sap-gen-abap C:\sap_dev_work\Spec_20260501\Spec_process.txt

Frequently Asked Questions about sap-gen-abap

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

FAQPage Schema
How do I generate ABAP source code from a process specification file?▼

To generate ABAP code from a process specification, you provide a process text file to the generator. It parses the file to identify program types like Dialog, Report, or Function Module and assembles production-ready ABAP sources with modern syntax.

What is the best way to ensure generated ABAP code follows customer naming rules and project briefs?▼

To ensure generated ABAP code follows customer naming rules, the generator reads the customer brief and naming rules before driving ABAP release decisions. This process guarantees consistency and enforces project-specific naming conventions across the generated sources.

Can I automatically create ABAP unit tests and OOP scaffolding for Module Pool programs?▼

Yes, you can automatically create ABAP unit tests and OOP scaffolding for Module Pool programs. The generator reads process specifications to drive OOP scaffolding and unit-test planning while enforcing modern ABAP syntax and authorization checks.

Does the ABAP generator prevent function module parameter-name hallucinations?▼

The ABAP generator prevents function module parameter-name hallucinations by pre-fetching FM signatures. It injects these exact signatures into the generated code, ensuring accurate parameter mapping and reducing manual verification overhead.

What types of ABAP programs can be generated from process text files?▼

ABAP program types that can be generated from process text files include Dialog and Module Pool programs, Reports, and Function Modules. The generator outputs a formatted ABAP source file to the work folder after applying performance gates and authorization checks.

Do I need a specific process text format to generate production-ready ABAP sources?▼

You need a specific process text format produced by sap-docs-extract to generate production-ready ABAP sources. The generator parses this process text file to assemble ABAP artifacts, enforce release-specific configurations, and apply performance considerations.