sap-unused-code

Official

Identify unused SAP custom code for retirement

Authorarc-mcp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify unused SAP custom code (Z/Y objects) that are never called at runtime, facilitating code cleanup and retirement projects.

Core Features & Use Cases

  • Combined Analysis: Combines SAP call monitor (SCMON) usage data with static where-used analysis to classify code as UNUSED, LIKELY_UNUSED, USED, or INDETERMINATE.
  • Scope Filtering: Allows users to filter by package, namespace prefix, object list, or specific intent statements.
  • Option Selection: Provides options to use direct SCMON table join, aggregated SUSG via CDS views, or manual SUSG XML export.
  • Prerequisites Check: Verifies necessary system configurations and authorizations before execution.
  • Runtime Usage Query: Offers different approaches to querying runtime usage based on system state.
  • Static Where-Used Check: Performs a static where-used check for objects not in the runtime usage set.
  • Classification: Classifies objects based on runtime and static analysis.
  • Reporting: Generates a report with classification details, usage data, and deletion candidates.
  • Error Handling: Provides comprehensive error handling and guidance for troubleshooting common issues.

Quick Start

To find unused custom code in the Z_FI_CUSTOM package, use the command: sap-unused-code --package Z_FI_CUSTOM

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sap-unused-code
Download link: https://github.com/arc-mcp/arc-1/archive/main.zip#sap-unused-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.