# How to Integrate with SAP Using Claude Plugins: Complete Developer Guide

> Integrate SAP with Claude using the sap-dev-core plugin. Automate transactions, control ABAP development, and manage HANA DB operations with natural language. Get the developer guide.

- Repository: [Anthropic/claude-plugins-community](https://github.com/anthropics/claude-plugins-community)
- Tags: how-to-guide
- Published: 2026-09-09

---

**Claude integrates with SAP systems through the `sap-dev-core` plugin, which provides shared utilities for GUI scripting, BDC execution, and credential management, enabling natural-language control of ABAP development, transaction automation, and HANA database operations.**

The `anthropics/claude-plugins-community` repository maintains a comprehensive SAP plugin suite that allows developers to interact with SAP back-ends directly from Claude sessions. This integration eliminates context switching by embedding SAP GUI automation, code generation, and database querying capabilities within conversational AI workflows.

## Understanding the SAP Plugin Architecture

The SAP integration follows a three-tier architecture defined in [`.claude-plugin/marketplace.json`](https://github.com/anthropics/claude-plugins-community/blob/main/.claude-plugin/marketplace.json). Each layer builds upon the core foundation to provide specific functional capabilities.

### Core Layer: `sap-dev-core`

The foundation of all SAP integrations is the **`sap-dev-core`** plugin, referenced at line 115 of the marketplace configuration. This plugin supplies essential shared utilities including:

- SAP GUI scripting and BDC (Batch Data Communication) execution engines
- Connection management and secure credential storage
- Shared resources in `plugins/sap-dev-core/shared/scripts/` and `plugins/sap-dev-core/shared/tables/`

All downstream SAP plugins depend on this core layer, which must be installed before any other SAP components.

### Function-Specific Plugins

Building upon the core layer, specialized plugins handle distinct SAP workflows:

- **ABAP Code Generation**: Transforms design documents into ABAP artifacts and performs semantic security reviews (lines 127-130 of [`marketplace.json`](https://github.com/anthropics/claude-plugins-community/blob/main/marketplace.json))
- **Custom-Code Migration**: Inventories Z/Y objects, executes S/4HANA ATC checks, and automates remediation workflows (lines 139-142)
- **Transaction Automation**: Manages Business Partner, Material Master, and Sales Order transactions (such as **VA01**) using shared scripts from the core layer (lines 151-154)

### Database-Level Plugins

For direct database operations, the **SAP HANA tools** plugin (line 17090) exposes schema browsing, SQL query execution, data profiling, and backup management capabilities without requiring SAP GUI interaction.

## The SAP Integration Workflow

When Claude processes an SAP-related request, the system executes a four-phase workflow that bridges natural language to SAP system commands.

**Initialization**: Claude loads the `sap-dev-core` plugin and establishes a secure connection to the target SAP system using stored credentials. The plugin descriptor references external repositories such as `https://github.com/sapdev-ai/sap-dev.git` for additional runtime resources.

**Command Dispatch**: Claude maps your natural-language request to a specific skill implementation. For example, the phrase *"Create a new material master"* triggers the transaction automation skill.

**Script Execution**: The invoked skill calls the appropriate shared script from `plugins/sap-dev-core/shared/scripts/` or executes a BDC program. For GUI-based transactions, the plugin automates SAP GUI interactions through scripting APIs.

**Result Delivery**: Claude formats the SAP system response—whether confirmation messages, generated ABAP code, or query result sets—and presents them within the conversation context, prompting for additional parameters when required.

## Practical Implementation Examples

The following examples demonstrate how to invoke SAP capabilities once the relevant plugins are installed. These interactions assume the `sap-dev-core` plugin is active and properly configured with valid SAP credentials.

### Logging Into an SAP System

Request SAP authentication through natural language:

```text
User: "Log in to the SAP system at sap.example.com with user ABAP_USER."
Claude: "✅ Logged in as ABAP_USER."

```

The `sap-dev-core` plugin handles the connection establishment and credential validation automatically.

### Creating Business Partners

Automate Business Partner creation using the transaction automation skill:

```text
User: "Create a new Business Partner with name Acme Corp and company code 1000."
Claude: "BP 1000 Acme Corp created successfully (ID 10001234)."

```

This invocation executes the BP transaction code using the shared automation scripts.

### Generating ABAP Code

Transform requirements into executable ABAP:

```text
User: "Generate an ABAP class that implements a simple CRUD service for Z-TABLE Z_SALES."
Claude: [Returns full class source code with option to save to SAP repository]

```

The ABAP code generation skill (lines 127-130) processes the design intent and produces syntactically correct artifacts.

### Querying SAP HANA

Execute direct database queries without ABAP intermediaries:

```sql
User: "Show the top 10 rows of table SCHEMA1.CUSTOMERS."
Claude:
| ID | NAME  | COUNTRY |
|----|-------|---------|
| 1  | Alice | DE      |
| 2  | Bob   | US      |

```

The SAP HANA tools plugin manages the database connection and result formatting.

## Key Configuration Files

Understanding the plugin file structure helps with troubleshooting and advanced customization:

- **[`plugins/sap-dev-core/.claude-plugin/plugin.json`](https://github.com/anthropics/claude-plugins-community/blob/main/plugins/sap-dev-core/.claude-plugin/plugin.json)**: Defines the core plugin metadata and dependency requirements (line 115 reference)
- **`plugins/sap-dev-core/shared/scripts/`**: Contains reusable BDC and GUI automation scripts used across all SAP plugins
- **`plugins/sap-dev-core/shared/tables/`**: Stores metadata definitions for SAP table structures
- **[`plugins/sap-dev-abap/codegen/SKILL.md`](https://github.com/anthropics/claude-plugins-community/blob/main/plugins/sap-dev-abap/codegen/SKILL.md)**: Documents the ABAP generation skill implementation
- **[`plugins/sap-dev-txautomation/SKILL.md`](https://github.com/anthropics/claude-plugins-community/blob/main/plugins/sap-dev-txautomation/SKILL.md)**: Details transaction automation capabilities including VA01 and MM01 support
- **[`plugins/sap-hana-tools/.claude-plugin/plugin.json`](https://github.com/anthropics/claude-plugins-community/blob/main/plugins/sap-hana-tools/.claude-plugin/plugin.json)**: Configures HANA database connectivity (line 17090 reference)

Because these plugins use pure JSON descriptors coupled with external repositories, no additional runtime dependencies are required beyond network access to your SAP system and valid user credentials.

## Summary

- Install the **`sap-dev-core`** plugin first to establish the foundation for all SAP integrations, providing GUI scripting, BDC execution, and credential management.
- Layer function-specific plugins—such as ABAP generation, transaction automation, and custom-code migration—to expose specific SAP capabilities.
- Use the **SAP HANA tools** plugin for direct database schema browsing and SQL execution without GUI automation overhead.
- Reference shared resources in `plugins/sap-dev-core/shared/scripts/` and `plugins/sap-dev-core/shared/tables/` for cross-plugin automation consistency.
- No local runtime dependencies are required; plugins connect to external repositories and require only valid SAP system credentials.

## Frequently Asked Questions

### What is the minimum plugin required to start SAP integration?

You must install the **`sap-dev-core`** plugin before any other SAP-related plugins. As defined in [`.claude-plugin/marketplace.json`](https://github.com/anthropics/claude-plugins-community/blob/main/.claude-plugin/marketplace.json) at line 115, this core component provides the shared utilities, credential handling, and GUI scripting foundation that all other SAP plugins depend upon.

### How does Claude handle SAP authentication securely?

The `sap-dev-core` plugin manages credential storage and connection establishment during the initialization phase. When you request a login, the plugin establishes the connection using stored credentials without exposing sensitive information in the conversation transcript.

### Can Claude automate custom Z-Code migration to S/4HANA?

Yes, the custom-code migration plugin inventories Z and Y objects, runs S/4HANA ATC (ABAP Test Cockpit) checks, and automates remediation workflows. This functionality is available as a function-specific plugin built on top of the core layer (referenced at lines 139-142 of the marketplace configuration).

### Which SAP transaction codes are supported for automation?

The transaction automation plugin supports common logistics and master data transactions including **VA01** (Create Sales Order), **MM01** (Create Material Master), and Business Partner maintenance. These automations leverage shared scripts located in `plugins/sap-dev-core/shared/scripts/` to drive SAP GUI interactions.