ERP & accounting
SAP MCP server for SAP S/4HANA: orders, deliveries and billing
SAP S/4HANA is SAP’s current ERP, run in SAP’s cloud or in a company’s own landscape. It records the order-to-cash and procure-to-pay processes end to end, from the sales order to the delivery, the billing document and the journal entry, with the business partner and product master data around them.
SAP S/4HANA
Available now: Nexatron answers SAP S/4HANA questions through SAP’s OData services, with user-level access that inherits your existing SAP S/4HANA permissions.
Updated
Can Claude, ChatGPT or Copilot access SAP S/4HANA data?
Yes. To connect Claude, ChatGPT or Copilot to SAP S/4HANA, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own SAP S/4HANA account (or your SSO), and Nexatron inherits their existing permissions.
What SAP S/4HANA data a question reads
- A_SalesOrder and A_SalesOrderItem
- Sales orders from the Sales Order API (API_SALES_ORDER_SRV): sold-to party, sales organization, requested quantities, net amounts and overall delivery status.
- A_OutbDeliveryHeader and A_OutbDeliveryItem
- Outbound deliveries from the Outbound Delivery API, with picked and delivered quantities and goods issue dates, linked to their reference sales order items.
- A_BillingDocument
- Billing documents and their items from the Billing Document API, which turn deliveries into customer invoices and credit memos.
- PurchaseOrder and PurchaseOrderItem
- Purchase orders and their items from the Purchase Order API (OData V4, API_PURCHASEORDER_2), with supplier, plant, ordered quantity and net price.
- A_BusinessPartner, A_Customer and A_Supplier
- Business partner master data from the Business Partner API, including customer and supplier roles and their company code data.
- A_Product
- Product master data from the Product Master API: product type, base unit of measure, product group and plant data.
SAP S/4HANA questions people ask
- Which sales order items are still not fully delivered past their requested delivery date, by sales organization?
- What was billed net amount by sold-to party last month, after credit memos?
- How many outbound deliveries had goods issue later than planned this quarter, and for which plants?
- Which suppliers have open purchase order items older than 60 days?
- What share of last quarter’s sales order value was delivered in full on the first delivery?
- Which product groups had the largest drop in ordered quantity compared with the prior quarter?
Who asks SAP S/4HANA questions
- Order management and logistics
- Backlog, late deliveries and partial shipments by plant, sales organization and customer.
- Finance
- Billed amounts, credit memos and open purchasing commitments, reconciled at the document level.
- SAP centers of excellence
- A governed way to let business users ask SAP questions in Claude or Copilot without granting new SAP roles or building another extract.
How to set up SAP S/4HANA in Nexatron
Your SAP administrator enables the released APIs
The administrator sets up communication arrangements for the released OData APIs the questions need, such as sales order, outbound delivery and billing document, as listed on the SAP Business Accelerator Hub.
A Nexatron administrator enables the connector
The workspace administrator turns the connector on, chooses who may ask, and approves definitions. Setup reads only the APIs' $metadata, never record values.
Users authorize as their business user
Users authorize with OAuth 2.0 (or your SSO), so their token belongs to their own business user and their business roles decide what answers read.
SAP S/4HANA permissions model
| Authentication | OAuth 2.0 with a token for the user’s own S/4HANA business user. |
|---|---|
| What the administrator grants | Communication arrangements for the released OData APIs, the Nexatron connector, who may ask, and approved definitions. |
| What each user sees | What their business roles and restrictions allow, such as by sales organization, plant or company code. |
| Masking and restrictions | Records outside a user’s restrictions stay out of their answers, and Nexatron’s own access rules apply on top. |
| Audit | Governed answers are written to Nexatron’s hash-chained audit log with the OData requests behind them. |
Worked example: a governed SAP S/4HANA answer
One question, and everything the answer shows so you can check it. The figures are invented sample data.
Which open purchase order items are past their delivery date, by plant?
Approved definition: Overdue purchase order item
A purchase order item that is not completely delivered and not deleted, with a schedule line delivery date before today, counted by plant.
Source
- PurchaseOrderItem (Plant, IsCompletelyDelivered)
- PurchaseOrderScheduleLine (ScheduleLineDeliveryDate)
Query (OData request (shortened))
GET API_PURCHASEORDER_2/PurchaseOrderItem
?$filter=IsCompletelyDelivered eq false
and PurchasingDocumentDeletionCode eq ''
&$expand=_PurchaseOrderScheduleLineTP
→ keep items with ScheduleLineDeliveryDate before today
→ count per PlantResult
| Plant | Overdue items | Open value |
|---|---|---|
| 1010 | 14 | €182,400 |
| 1020 | 9 | €96,750 |
| 1710 | 5 | $41,300 |
SAP S/4HANA questions and what Nexatron returns
- Which sales order items are not fully delivered past their requested date, by sales organization?
- A table by sales organization from A_SalesOrderItem and delivery items, the OData requests, and its trust level.
- What was billed net amount by sold-to party last month, after credit memos?
- A table by sold-to party from A_BillingDocument, with the credit memo types netted stated.
- How many outbound deliveries had goods issue later than planned this quarter, by plant?
- A bar chart by plant with planned and actual goods issue dates compared.
- Which suppliers have open purchase order items older than 60 days?
- A table of suppliers with item counts and oldest date, linked to the purchase orders.
- What share of last quarter’s order value was delivered in full on the first delivery?
- One rate with its definition and the delivery documents read.
- Which product groups had the largest drop in ordered quantity versus the prior quarter?
- A ranked table of product groups with both quarters and the change.
- What is open sales order value by sold-to party due in the next 30 days?
- A table by sold-to party with open value and requested dates, and the OData requests behind it.
Common pitfalls when asking SAP S/4HANA questions
Each one is settled once in an approved definition, so every person and every assistant gets the same answer.
Company code, plant and controlling area
Financial, logistics and controlling questions roll up differently. "By site" needs a definition that says whether it means plant or company code.
Document, local and group currency
S/4HANA stores amounts in several currencies at once. Summing document currency across company codes mixes euros and dollars.
Fiscal year variants and special periods
Fiscal years need not match the calendar, and special periods 13 to 16 hold closing entries. The definition says whether they are included.
Ask SAP order questions at the right grain
Which approved sales-order lines have an outstanding quantity at the agreed checkpoint? Begin with the approved source reference and intended user permissions. Confirm that the configured connection exposes the required objects before evaluating the answer.
A question becomes a decision
Which order lines still have an outstanding quantity?
- 01
Connect
Authorized SAP S/4HANA sales-order lines
- 02
Resolve meaning
Line grain + quantity units + checkpoint date
- 03
Review the answer
An order-line exception list to compare with the operations reference.
Illustrative workflow. Results depend on configured sources, definitions, and permissions.
A business question worth testing
Which approved sales-order lines have an outstanding quantity at the agreed checkpoint?
Bring the person who owns the decision and the person who owns the source. Agree on a known answer, a meaningful exception and a restricted request. A sample-data walkthrough illustrates the method; it is not evidence of a customer’s results.
Prepare the source and reference
Identify the SAP edition, authorized APIs or views, sales-organization scope and released fields with the system owner. Bring an order-line reference containing a partial delivery and a rejected line. Confirm the available quantity units and date conventions.
Check the boundaries
Sales orders, delivery records and billing documents represent different stages. Access to one S/4HANA API does not imply every SAP module or edition is supported. Product and order-line mapping must be reviewed before a cross-source question.
What Nexatron adds to the evaluation
The walkthrough puts a conversational question beside its business definition, configured source access and result evidence. Test whether the supported workflow gives the intended user a useful answer and explains missing context. Review metric ownership and any proposed cross-source mapping with the relevant teams.
Book a demo using the button on this page. Describe the source, the decision and the questions in the inquiry; do not include credentials or sensitive records. Connection setup and any access to customer data require a separately approved process.
How Nexatron connects to SAP S/4HANA
- API and sign-in
- SAP’s released OData APIs for S/4HANA Cloud, listed on the SAP Business Accelerator Hub and enabled through communication arrangements. Users authorize with OAuth 2.0, so the token belongs to their own business user.
- User-level access
- Questions run under each user’s own OAuth token, so the business roles and restrictions S/4HANA already assigns to that user, such as by sales organization, plant or company code, decide what each answer can read. Nexatron’s own access rules apply on top.
- Read-only
- Questions only read SAP S/4HANA; asking a question never changes SAP S/4HANA data.
- Setup
- An administrator enables SAP S/4HANA in Nexatron. Users link their own SAP S/4HANA account, or sign in through your SSO, the first time they ask. Queries run in SAP S/4HANA, with no warehouse to load.
SAP S/4HANA in Claude’s connector directory
Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers SAP S/4HANA questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.
- Connect SAP S/4HANA to your Nexatron workspace.
- In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
- Sign in with your own Nexatron identity (OAuth 2.1), then ask your SAP S/4HANA questions.
Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp
SAP S/4HANA questions and answers
- Is there an SAP MCP server for S/4HANA?
- Nexatron’s MCP server answers S/4HANA questions once S/4HANA is connected to your workspace; it is listed in Claude’s connector directory and works with ChatGPT and Copilot as a custom connector. It is Nexatron’s server, not one published by SAP, and it reads SAP’s released OData APIs.
- Which S/4HANA APIs does the connector read?
- Released OData APIs such as Sales Order (API_SALES_ORDER_SRV), Outbound Delivery, Billing Document, Purchase Order, Business Partner and Product Master. Only reads: GET requests, with filters, projections and counts sent to SAP where they translate exactly.
- Does it work with S/4HANA on-premise or private cloud?
- The connector is built against S/4HANA Cloud’s released APIs. A private cloud or on-premise system that exposes the same OData services through SAP Gateway is similar in principle; tell us your release and landscape when you contact us.
- Why not query the SAP HANA database directly?
- Reading through released APIs keeps SAP’s own authorization checks in force for every user and survives upgrades. Direct table access bypasses the business roles that decide who may see which sales organization or company code.
- Can Claude read SAP S/4HANA data?
- Yes, through Nexatron with S/4HANA Cloud connected. Claude adds Nexatron from its connector directory, and each user’s questions run under their own business user through SAP’s released OData APIs.
- Do S/4HANA business roles apply to AI answers?
- With Nexatron, yes. Users authorize with OAuth 2.0 as their own business user, so restrictions by sales organization, plant or company code decide what each answer reads.
- Can S/4HANA answers include Salesforce data?
- Yes, with Salesforce connected too. Each side is read with the requesting user’s existing access, S/4HANA through their own business user and Salesforce through their own account, and the answer lists both sources with the requests behind them.
- Can ChatGPT answer S/4HANA sales order questions?
- Yes. Add Nexatron’s MCP server as a custom connector in ChatGPT; once S/4HANA is connected, people can ask about open order items, late deliveries and billing, with the OData requests shown in each answer.
- Does Nexatron write back to S/4HANA?
- No. The connector only reads S/4HANA through released OData APIs. Asking a question never creates or changes a sales order, delivery or billing document.
- Do I need SAP Analytics Cloud or a warehouse before asking SAP questions?
- No. Nexatron queries S/4HANA through SAP’s APIs when a question is asked, with no warehouse to load. If you already run an SAP analytics tool or warehouse, keep it; definitions can match the figures it reports.
- Can SAP reporting questions use our company codes and fiscal year?
- Yes. Company code, plant and fiscal period are standard dimensions, and definitions record your fiscal year variant so "this quarter" means your quarter.
- How is Nexatron different from SAP’s own AI assistant?
- SAP’s AI features work inside SAP applications. Nexatron answers from Teams, Slack, the web app or a connected assistant, applies the same definitions across SAP and non-SAP systems, and shows the request behind each answer.
Try Nexatron with your SAP S/4HANA
Tell us the SAP S/4HANA questions you want answered and who asks them, and we plan the demo around them. Do not include credentials or confidential records.
Book a demo for SAP S/4HANA
Tell us the SAP S/4HANA questions you want answered and who asks them, and we plan the demo around them. Do not include credentials or confidential records.
- User-level access: Nexatron inherits your existing SAP S/4HANA permissions
- Read-only: questions only read SAP S/4HANA
- SOC 2 Type I
- ISO 27001 Certified
- GDPR Aligned
SAP S/4HANA is a trademark of its owner.