From Copilot Chat to connected ABAP development with MCP and reusable workflows
When I started exploring AI-assisted coding for ABAP, I began with Copilot Chat in Eclipse. Like many developers, I first used the AI coding agent for straightforward generation tasks: creating an ABAP program, drafting an ALV report, preparing a Fiori elements list report, adding a validation, or defining a service. That was useful, but SAP development quickly exposed a bigger challenge. The objects still have to reach the correct SAP development package, activate in the right order, survive diagnostics, expose the intended behavior, and produce a result that can actually be inspected.
That led to the question behind this article: how can I move beyond one-off AI-generated code, keep the convenience of Copilot Chat in Eclipse, connect the coding agent safely to the SAP development environment, and avoid re-explaining the same RAP engineering process every time I start a new business object?
My experiment uses GitHub Copilot Chat and Agent Mode in Eclipse as the concrete AI coding experience, together with the ABAP/ADT MCP server and a reusable RAP development skill. I use an Equipment Request example throughout the article, not to present a magic generator, but to show how the pieces fit together from the first development request to activation diagnostics and the Fiori elements preview.
Figure 1. The connected ABAP development workflow: requirement, reusable skill, Copilot, MCP, SAP, and verification.The important shift is that the AI coding agent is no longer working only from an isolated chat request. The reusable skill supplies the development method, MCP exposes the permitted SAP operations, and SAP supplies the evidence that tells us whether the work actually succeeded.
What You Will Learn
- How GitHub Copilot Chat and Agent Mode, reusable skills, project inputs, and ABAP/ADT MCP fit together
- How to connect the MCP client from Eclipse or Visual Studio Code without publishing environment secrets
- How to run read-only discovery before allowing SAP repository changes
- How to reuse the sap-rap-development skill for an Equipment Request RAP object
- How to define completion through activation, diagnostics, metadata, and preview evidence
1. Why MCP Changes the Copilot Experience
Without a connected tool, Copilot can generate source. It cannot prove that an SAP repository object exists, activate it, read an activation error, or verify a service. MCP provides a standard way for the development client to discover and invoke supported tools.
|
Component |
Responsibility |
|
GitHub Copilot |
Understands the request, plans the work, selects instructions, and invokes permitted tools. |
|
Reusable skill |
Describes how RAP development should be performed repeatedly. |
|
Task prompt |
Defines the specific business-object or Fiori elements development task. |
|
Project inputs |
Provide business fields, naming, package, transport, validations, and target details. |
|
ABAP/ADT MCP |
Exposes supported SAP development operations. |
|
SAP |
Enforces authorization and supplies the actual repository and runtime state. |
The skill tells Copilot how to work. MCP gives Copilot tools with which to work. SAP remains the source of truth.
Prerequisites for Eclipse, ADT, and Copilot
Before importing the starter project, prepare the Eclipse workspace and connected SAP development environment:
- Eclipse (2026-06 or later) with ABAP Development Tools (ADT) installed and a supported ABAP project created for the target SAP system.
- A user authorized to read the target ABAP project and to create or modify objects in the development package used for the example.
- GitHub Copilot for Eclipse installed, authorized with GitHub, and able to open Copilot Chat / Agent Mode. .
Keep the authenticated ABAP project and the imported skill project in the same Eclipse workspace so Copilot can use the repository instructions while MCP operates against the authorized SAP target.
2. Enable the ADT MCP Server
Start with an authenticated ABAP project in Eclipse/ADT and authorization for the intended development package. In the ADT MCP Server preferences, enable the server and configure the permitted project and package scope. The server provides the endpoint and authentication information required by the client.
Figure 2. GitHub Copilot MCP configuration in Eclipse. Use the actual endpoint and authentication mechanism from the approved ADT setup.
On the ADT side, the MCP Server settings expose the local endpoint, token-based authorization, ABAP edit support, and access restrictions for approved projects and packages.
Figure 3. ADT MCP Server configuration with edit support and package-level access restrictions.
The exact screen and tool set can vary by ADT version, SAP release, MCP server implementation, and GitHub Copilot plugin version. Treat the configuration as a workflow pattern rather than a universal value to copy.
Security note: Mask tokens, credentials, internal hostnames, and sensitive target details in screenshots, repositories, prompts, and logs.
{
"servers": {
"abap-mcp": {
"url": "<ABAP_MCP_ENDPOINT>",
"requestInit": {
"headers": {
"Authorization": "Bearer <MASKED_TOKEN>"
}
}
}
}
}
3. Discover Before Changing SAP Objects
The first connected request should be read-only. This exposes target and permission problems before the workflow attempts any repository change.
Discover the available ABAP MCP tools and SAP development target.
Check the connected ABAP project, package access, ABAP release,
language compatibility, and available RAP development operations.
Report unresolved target details.
Do not create or modify SAP objects.
- Confirm the ABAP project and development package
- Identify the available read, create, edit, check, activate, and diagnostic operations
- Detect existing objects and naming conflicts
- Confirm release and package-language compatibility
- Keep missing permissions and unsupported operations visible as blockers
Figure 4. Verify ABAP MCP connectivity and capabilities with Copilot
Discover first. Develop second. Verify last.
4. Import the Starter Skill Project into Eclipse
The starter repository is a normal Eclipse project that can sit beside the ABAP project in the same workspace. After cloning or downloading the repository, import it into Eclipse:
- Open Eclipse and select File > Import.
- Choose General > Existing Projects into Workspace, then select Next.
- Choose Select root directory and browse to the local sapdevcopilotskill repository. If you downloaded an archive, use Select archive file instead.
- Select the detected project. Choose Copy projects into workspace only if you want Eclipse to make a separate workspace copy; leave it cleared if you want to work directly from the cloned Git repository.
- Select Finish. Confirm that .github/skills, .github/prompts, docs, examples, scripts, and tests are visible in Project Explorer.
- Keep the authenticated ABAP development project open in the same workspace.
- Open .github/skills/sap-rap-development/SKILL.md and the Equipment Request example once to confirm that Eclipse can read the skill assets.
- Open GitHub Copilot Chat. Reference the imported project using the context/custom-instruction capabilities available in your installed Copilot plugin, then select or request the sap-rap-development skill for the RAP task.
Why General Project? The repository mainly contains Markdown instructions, prompts, JSON project inputs, examples, scripts, and tests. The actual ABAP repository objects remain in the separate authenticated ADT project and are accessed through the allowed MCP operations.
Use the Same Workflow from Visual Studio Code
The same MCP-and-skill pattern can also be used from Visual Studio Code. In this setup, Visual Studio Code becomes the GitHub Copilot MCP client, while Eclipse/ADT continues to host the authenticated ABAP project and the ADT MCP Server. Visual Studio Code does not replace ADT for SAP repository management; it connects to the SAP development tools exposed by ADT MCP.
Prerequisites
- Visual Studio Code with GitHub Copilot Chat and Agent mode enabled.
- The sapdevcopilotskill repository opened as the current workspace folder so the project skill under .github/skills can be discovered.
- Eclipse/ADT running with the authenticated ABAP project and ADT MCP Server enabled.
- Network access from Visual Studio Code to the ADT MCP endpoint. A localhost endpoint works when Visual Studio Code and Eclipse/ADT run on the same machine.
- The approved authentication mechanism from ADT MCP. Do not commit credentials to the workspace.
Configure the ABAP MCP Server in Visual Studio Code
- Open the repository folder in Visual Studio Code.
- Open Copilot Chat and select Agent mode.
- Run Chat: Open Customizations, select MCP Servers, and choose Add Server.
- Choose an HTTP server type and enter the endpoint shown by the ADT MCP Server.
- Store required authorization using a protected input or local secret mechanism rather than a committed token.
- Start the server, review the discovered tools, and enable only the ABAP operations required for the task.
- Run the same read-only discovery prompt before allowing SAP changes.
Visual Studio Code can store workspace MCP configuration in .vscode/mcp.json. User-level MCP configuration is stored outside the repository. Use workspace configuration only for details that are safe to share.
Example workspace configuration
{
"servers": {
"abap-mcp": {
"type": "http",
"url": "<ABAP_MCP_ENDPOINT>"
}
}
}
Authentication is intentionally omitted from the example. Apply the authorization mechanism required by the ADT MCP environment without committing credentials to Git.
Reuse the Same Skill
Visual Studio Code Agent mode supports project skills stored under .github/skills. Once the repository is open, Copilot can load .github/skills/sap-rap-development/SKILL.md when the skill description matches the request or when the request explicitly names the skill.
Use the sap-rap-development skill.
Read the Equipment Request example and rap-project.json.
Discover the connected ABAP MCP tools and SAP target first.
Create or update compatible RAP objects only after target confirmation.
Activate, diagnose, and return SAP verification evidence.
The practical difference is the client surface: Eclipse uses the GitHub Copilot MCP preferences, while Visual Studio Code uses Agent mode and .vscode/mcp.json. The project inputs, SAP authorization boundaries, and verification requirements remain unchanged.
5. Move the Repeated RAP Workflow into a Skill
A direct prompt is appropriate for a small one-time task. A skill becomes useful when the same development sequence, standards, and acceptance checks recur across multiple business objects.
Prompt: What should be built?
Skill: How should this kind of development be performed?
MCP: Which operations can Copilot execute in this environment?
The starter project separates the reusable workflow from task and application details:
.github/
skills/
sap-rap-development/
SKILL.md
prompts/
rap-business-object.prompt.md
rap-list-report.prompt.md
rap-object-page.prompt.md
rap-overview-page.prompt.md
rap-analytical-page.prompt.md
docs/
generation-contract.md
examples/
rap-project.json
SKILL.md captures target discovery, tool discovery, object sequencing, activation, diagnostics, verification, and reporting. Task prompts describe the current RAP or Fiori elements task. The generation contract contains shared naming, authorization, compatibility, and guardrail rules. Project configuration holds the business model and SAP target inputs.
The reusable workflow is stored with the project. SKILL.md describes the RAP development sequence, while task prompts cover business objects and Fiori elements scenarios.
Figure 5. The sap-rap-development skill and task-specific RAP prompts opened in Eclipse.
6. Configure the RAP Project JSON
The skill describes the reusable development method, but it should not hard-code the business object, package, field model, or validation rules. Those application-specific inputs belong in rap-project.json. This keeps the same skill reusable across EquipmentRequest, TravelRequest, CostCenterRequest, and other RAP scenarios.
The JSON file is configuration for this starter project. JSON is not a requirement of ABAP RAP or MCP. It is simply a structured way to give Copilot the inputs that change from one business object to another.
{
"project": {
"name": "EquipmentRequestHub",
"developmentMode": "connected",
"abapProject": "<CONFIRMED_ADT_PROJECT>",
"package": "<AUTHORIZED_PACKAGE>",
"transport": "<TRANSPORT_OR_LOCAL_OBJECT>",
"languageVersion": "discover"
},
"businessObject": {
"name": "EquipmentRequest",
"shortName": "EQR",
"prefix": "ZRC",
"managed": true,
"draftEnabled": true,
"uuidKey": true,
"etag": true
},
"fields": [
{ "name": "RequestId", "type": "UUID", "key": true },
{ "name": "RequestNumber", "type": "CHAR", "length": 20, "required": true },
{ "name": "EquipmentType", "type": "CHAR", "length": 30, "required": true },
{ "name": "Office", "type": "CHAR", "length": 20, "required": true },
{ "name": "Quantity", "type": "INT4", "required": true },
{ "name": "EstimatedAmount", "type": "CURR", "length": 15, "decimals": 2 },
{ "name": "Currency", "type": "CUKY", "length": 5 },
{ "name": "RequiredDate", "type": "DATS" },
{ "name": "Priority", "type": "CHAR", "length": 1 },
{ "name": "Status", "type": "CHAR", "length": 1 }
],
"validations": [
{ "rule": "Quantity > 0", "message": "Quantity must be greater than zero" },
{ "rule": "EstimatedAmount >= 0", "message": "Estimated amount cannot be negative" },
{ "rule": "requiredFields", "fields": ["EquipmentType", "Office", "Quantity"] }
],
"service": {
"definition": "ZRC_UI_EQR",
"binding": "ZRC_UI_EQR_O4",
"protocol": "ODataV4",
"ui": "FioriElements"
},
"verification": {
"activate": true,
"checkServiceMetadata": true,
"checkADTPreview": true,
"loadSampleData": false
}
}
The example above is illustrative. Use the property names and schema included in the repository version you import, and validate the file against rap-project.schema.json before running connected development.
What each section controls
- project: Identifies the connected execution mode and the confirmed ADT project, authorized package, transport handling, and language-version strategy. Keep placeholders unresolved until the target is confirmed.
- businessObject: Defines the reusable object identity and RAP model: prefix, short name, managed or unmanaged implementation, draft support, UUID key, and ETag behavior.
- fields: Defines the business data model. Each field should specify a name and a target-compatible ABAP type or semantic type, plus length, decimals, key, required, currency, or unit relationships where applicable.
- validations: Captures business rules separately from the generic skill. For Equipment Request, this includes required fields, Quantity greater than zero, and EstimatedAmount greater than or equal to zero.
- service: Defines the intended service definition, service binding, OData version, and Fiori elements exposure.
- verification: Defines what the connected run must check before reporting success. This is where activation, metadata, preview, tests, and sample-data policy can be made explicit.
How to prepare the JSON before running Copilot
- Copy the Equipment Request example configuration rather than editing the generic root configuration blindly.
- Replace only confirmed target values. Do not guess the ADT project, package, transport, or ABAP language version.
- Keep package and transport values consistent with the access restrictions configured in the ADT MCP Server.
- Check object names against package naming rules and the target repository before creation.
- Validate rap-project.json against rap-project.schema.json and fix structural errors before invoking the skill.
- Keep secrets out of JSON. MCP tokens and credentials belong in the Eclipse/MCP client configuration, not in project inputs.
- Use source-only mode when you are intentionally generating drafts without changing SAP; use connected mode only after target discovery succeeds.
Example Copilot request using the JSON
Use the sap-rap-development skill.
Read examples/equipment-request-hub/rap-project.json.
Validate the configuration and resolve required target placeholders.
Use connected ABAP MCP only after the ADT project, package,
transport, and available tools are confirmed.
Create or update compatible RAP objects, activate them,
and return SAP evidence for every verification requested in JSON.
Important: The configuration expresses intent. It does not grant authorization, guarantee that a generator exists, or prove that the configured object names are available. The skill must still discover the target, inspect existing objects, and report conflicts or unsupported operations.
7. Use the Skill for Equipment Request
The example business object includes Request Number, Equipment, Office, Requested Units, Estimated Cost, Currency, Required Date, Priority, and Status. Its intended base object set includes active and draft persistence, interface and projection data-model entities, behavior, a service definition, and an OData V4 UI service binding.
Use the sap-rap-development skill.
Follow the Equipment Request example and project configuration.
Use connected ABAP MCP to develop and activate the EquipmentRequest
RAP business object in the configured SAP development target.
Resolve essential missing target details before making changes.
Verify activation, service metadata, and supported ADT preview.
The skill does not remove RAP complexity. It moves reusable complexity out of the chat and into version-controlled instructions that can be reviewed and improved.
8. What the Example Produces
After Copilot reads the skill, task prompt, and rap-project.json, it can use the permitted ABAP MCP tools to create the requested RAP artifacts in the authorized SAP package. The resulting Equipment Request service can then be opened through the supported Fiori elements preview.
The main value is reuse: the developer supplies the business request and project inputs, while the repository carries the repeatable development instructions.
Figure 6. Generated RAP Artifacts9. Guardrails for Connected Development
- Do not guess the SAP target, package, or transport.
- Do not assume ABAP Cloud language mode.
- Do not overwrite incompatible existing objects.
- Do not expose authentication secrets.
- Do not claim activation without reading the SAP result.
- Do not claim a working service without checking real metadata.
- Report unsupported tools and missing permissions as blockers.
Instructions and platform controls serve different purposes. The skill encodes the development method; SAP authorization and MCP access restrictions enforce the boundaries.
10. Verify the Fiori Elements Result
The Equipment Request example exposes the RAP service through a Fiori elements list-report preview. The preview includes filters for request number, equipment, office, priority, status, currency, and required date, together with request rows and standard create and navigation actions.
Figure 6. Equipment Request RAP service displayed in the SAP Fiori elements list-report preview.
This provides a verification point beyond source generation. The development flow has reached an exposed application model that can be inspected through the supported SAP preview.
Navigation from the list report opens the Equipment Request object page, where request details, delivery and priority, estimated cost, and tracking are presented as sections.
Figure 8. Equipment Request object page displayed through the Fiori elements preview.
Try the Starter Project
The starter project is available at MonaDevAI/sapdevcopilotskill on GitHub. It provides reusable prompts and a RAP development skill for ABAP RAP business objects and RAP-based SAP Fiori elements scenarios.
Useful community contributions include managed and unmanaged RAP patterns, draft compositions, actions, authorization, analytical scenarios, release-specific guidance, ATC and ABAP Unit checks, and stronger verification contracts.
Final Thought
GitHub Copilot in Eclipse or Visual Studio Code
+
Reusable SAP development workflow
+
ABAP / ADT MCP tools
+
SAP authorization boundaries
+
Evidence-based verification
=
Repeatable connected SAP development workflow
The useful shift is from asking Copilot to generate isolated ABAP snippets to giving Copilot a repeatable development method, approved tools, project context, guardrails, and verifiable completion criteria.
References
- GitHub Docs: Install the GitHub Copilot extension in Eclipse
- GitHub Docs: Quickstart for GitHub Copilot in Eclipse
- GitHub Docs: Set up an MCP server in Eclipse
- GitHub Docs: Adding agent skills for GitHub Copilot
- SAP Help: Enabling ADT MCP Server
- SAP Help: ABAP Development Tools for Eclipse
- Eclipse Help: Importing Existing Projects
- Starter project: MonaDevAI/sapdevcopilotskill on GitHub
- GitHub Docs: Agent skills in Visual Studio Code and supported IDEs
Published Nov 27, 2026
Version 1.0MonalisaBiswal
Microsoft
Joined October 20, 2023
Microsoft Developer Community Blog
Follow this blog board to get notified when there's new activity