Skip to main content

SAP S/4HANA Connector

Connect to SAP S/4HANA to index ERP data including business partners, sales orders, and master data.

Overview

The SAP connector allows you to:

  • Access OData v2/v4 services
  • Index business partner data
  • Sync sales and purchasing documents
  • Query master data tables

Prerequisites

  • SAP S/4HANA system access
  • OData service exposure
  • API credentials

Authentication

Basic Authentication

  1. Enter SAP system URL
  2. Provide username and password
  3. Select client number

OAuth (SAP Cloud)

OAuth available for SAP Cloud Platform.

Configuration

SettingDescription
System URLSAP OData endpoint
ClientSAP client number
EntitiesOData entities to sync
ProtocolOData v2 or v4

Setup Steps

  1. Add Connector: Knowledge → Add Data Source → SAP
  2. Enter Credentials: System URL and auth
  3. Select Entities: Choose OData entities
  4. Configure Options: Protocol and filters
  5. Test & Create: Verify and save

Common Entities

EntityContent
A_BusinessPartnerCustomer/vendor data
A_SalesOrderSales orders
A_PurchaseOrderPurchase orders
A_ProductMaterial master

Best Practices

  1. Start with key entities
  2. Filter by date for efficiency
  3. Include related entities
  4. Monitor OData limits

Troubleshooting

Connection failed: Verify OData service is exposed

Authentication error: Check user permissions

Missing data: Verify entity authorizations