sap-compare

Diff ABAP objects between two SAP systems via RFC, outputting structured JSON and summaries.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diff ABAP objects between two SAP systems by comparing the pinned LEFT profile with a RIGHT profile, producing a field-by-field diff and an AI-generated summary while keeping both sides read-only.

Core Features & Use Cases

  • Field-by-field DDIC and source comparisons across RFC-connected systems, outputting diff.json, a unified diff, and an AI reasoning summary.
  • Supports DDIC objects (table, structure, data element, domain, table type) and program sources (includes, function modules) with release-marker awareness to classify differences.
  • Safe, read-only operation requires both systems to be saved via sap-login; uses DPAPI for secure RIGHT password handling.

Quick Start

Provide an OBJECT and an --against profile to run a cross-system ABAP diff.

Frequently Asked Questions about sap-compare

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

FAQPage Schema
How do I diff ABAP objects across two SAP systems?▼

To diff ABAP objects across two SAP systems, provide an OBJECT and an --against profile to compare a pinned LEFT profile with a RIGHT profile. It produces a structured field diff, a unified source diff, and an AI-generated summary.

What ABAP object types can I compare between SAP systems?▼

You can compare DDIC objects like tables, structures, data elements, domains, and table types, alongside program sources such as includes and function modules. Release-marker awareness classifies differences between the two systems.

Do I need saved RFC credentials to compare ABAP source code?▼

Yes, you need saved RFC credentials for both SAP systems established via sap-login. The diff operation uses DPAPI to securely decrypt the RIGHT password while maintaining read-only access on both sides.

What outputs does an SAP cross-system DDIC comparison generate?▼

A cross-system DDIC comparison generates a diff.json file containing the structured field-by-field differences, a unified source diff, and an explanatory AI reasoning report summarizing the variations.

Can I perform a read-only ABAP diff without modifying either SAP system?▼

Yes, the cross-system ABAP diff operates entirely in read-only mode on both the LEFT and RIGHT profiles. This ensures safe comparison of DDIC and program-source objects without modifying either SAP system.

Why does my cross-system ABAP diff require DPAPI for password handling?▼

DPAPI is required to securely decrypt the saved RIGHT profile password during the RFC connection process. This ensures secure credential handling when accessing the second SAP system for comparison.