sap-run-abap-unit

Run ABAP Unit tests on SAP objects via GUI scripting and report per-method verdicts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Executes ABAP Unit tests on deployed SAP objects via SAP GUI Scripting and reports per-method pass/fail with a verdict. It opens the object in SE38/SE24, triggers the ABAP Unit run, and parses the result display. It supports an optional Unit Tests With Coverage run and works standalone on brownfield objects using GUI.

Core Features & Use Cases

  • GUI-based ABAP Unit execution for deployed objects with per-method verdicts
  • Supports PROGRAM (SE38) and CLASS (SE24) targets and integrates with the SAP testing workflow
  • Produces a final AUNIT_VERDICT and optional coverage data, suitable for automation pipelines
  • Works with active SAP GUI sessions; Phase 2 introduces RFC-based headless execution

Quick Start

Run ABAP Unit tests on an active SAP GUI session for a given object and review the UNIT_TEST_RUN output

Frequently Asked Questions about sap-run-abap-unit

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

FAQPage Schema
How do I run ABAP Unit tests on deployed SAP objects via SAP GUI?

ABAP Unit tests are executed by automating SAP GUI scripting to open PROGRAM or CLASS objects in SE38/SE24, triggering the unit test run, and parsing the result display to report per-method pass/fail verdicts. It works on deployed objects with an active SAP GUI session.

Can I execute ABAP Unit tests with code coverage for a class in SE24?

Yes, ABAP Unit testing with optional code coverage is supported for CLASS objects by automating SE24 in SAP GUI. The execution parses the result display to produce an AUNIT_VERDICT and coverage data suitable for automation pipelines.

What SAP authorizations do I need to automate ABAP Unit testing through SAP GUI?

Automating ABAP Unit testing through SAP GUI requires appropriate SAP authorizations and an active SAP GUI session to open objects in SE38 or SE24, trigger the unit run, and parse the result display for per-method verdicts.

Does ABAP Unit execution via SAP GUI scripting support headless RFC runs?

GUI-based execution operates in Phase 1 by opening SE38/SE24 directly, while Phase 2 introduces RFC-based headless execution to run ABAP Unit tests without relying on an active SAP GUI session display.

Why does my SAP GUI ABAP Unit test automation fail to report per-method results?

ABAP Unit test automation fails if the active SAP GUI session lacks appropriate authorizations or cannot properly open the object in SE38/SE24 to trigger the run and parse the per-method result display for the final AUNIT_VERDICT.

Is there a way to integrate SAP GUI ABAP Unit testing into an automation pipeline?

Yes, SAP GUI ABAP Unit testing integrates into automation pipelines by executing tests on deployed PROGRAM and CLASS objects, parsing the result display to produce a final AUNIT_VERDICT and optional coverage data.