sc4sap:analyze-code

Review ABAP objects for structural and semantic quality using AST and where-used data.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ABAP code quality relies on detailed analysis that combines source reading, structural AST checks, semantic validation, and where-used data. The skill delegates heavy analysis to the sap-code-reviewer while the main thread handles orchestration and reporting, enabling faster, more reliable code reviews for SAP ABAP objects.

Core Features & Use Cases

  • Delegated ABAP review workflow: main thread handles intake and reporting, while the sap-code-reviewer performs source reads (GetClass/GetProgram/GetProgFullCode/etc.), AST/semantic analysis, and where-used evaluation.
  • Branching, actionable reports: canned summaries or rich briefings via sap-writer depending on findings, with clear next steps for fixes.
  • Team-Mode readiness: activates business-alignment review when the object touches multiple modules, coordinating module consultants as needed.

Quick Start

Dispatch the analyze-code skill with the object name and type to trigger a full ABAP code review.

Frequently Asked Questions about sc4sap:analyze-code

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

FAQPage Schema
How do I perform an automated ABAP code review for SAP ECC or S/4HANA objects?

Automated ABAP code review evaluates classes, programs, function modules, interfaces, and CDS views by orchestrating source reads, AST structural checks, semantic validation, and where-used data to generate actionable findings and metrics.

What does AST and semantic analysis reveal about ABAP code quality?

AST and semantic analysis reveals structural patterns and logical validation issues within ABAP objects, combining where-used data to identify dependencies and potential risks across SAP ECC or S/4HANA environments.

Can I review CDS views and ABAP interfaces using automated code analysis?

Yes, automated code analysis supports CDS views and ABAP interfaces alongside classes, programs, and function modules, applying structural and semantic checks to ensure quality across SAP environments.

What is the best way to handle ABAP code review for objects spanning multiple SAP modules?

For ABAP objects touching multiple modules, Team-Mode activates business-alignment review, coordinating module consultants to ensure comprehensive evaluation across all affected SAP functional areas.

How are ABAP code review findings and metrics reported?

ABAP code review findings and metrics are rendered as canned summaries or rich briefings with clear next steps for fixes, branching the output format depending on the severity and scope of discovered issues.

Do I need a specific workflow to run SAP MCP code analysis?

Yes, SAP MCP code analysis requires the sap-code-reviewer workflow to perform source reads, AST evaluation, and where-used checks, while the main thread handles orchestration and briefing generation.