SAPinsider

articles

ChatGPT SAP Integration: Connect OpenAI ChatGPT to ECC and S/4HANA

ChatGPT SAP Integration: Connect OpenAI ChatGPT to ECC and S/4HANA

Watch ChatGPT Connect to SAP ECC

This demo shows the Datawiza MCP for SAP plugin installed by a ChatGPT workspace administrator. The plugin connects to Datawiza Agent Gateway, with Microsoft Entra ID authentication.

https://www.youtube.com/embed/f7zp9_eVtmU

ChatGPT discovers the available SAP Gateway OData services, retrieves a supplier's five most recent purchase orders, and reports their net values, SAP status, and total. It then encounters a read-only boundary: a request to change a purchase order's delivery date leaves SAP unchanged.

The demo uses a shared, read-only SAP technical account. Datawiza also supports per-user SAP access through principal propagation, allowing SAP to enforce each user's permissions when delegated user identity and the required SAP configuration are in place. That mode is not shown in this demo. Response waits are shortened in the recording.

How ChatGPT Reaches SAP Through an MCP Plugin

The plugin gives ChatGPT access to configured tools rather than an unrestricted database connection. Each tool maps to an operation exposed through selected SAP OData APIs, using SAP Gateway or the SAP BTP API Management layer.

The flow is:

  1. Select the SAP integration. The user invokes the configured plugin in ChatGPT and asks a business question.

  2. Verify identity and policy. Datawiza Agent Gateway checks the authenticated caller and whether the requested tool call is allowed.

Vendors mentioned

Fill in the form on this page to read the full article.