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
- Enter SAP system URL
- Provide username and password
- Select client number
OAuth (SAP Cloud)
OAuth available for SAP Cloud Platform.
Configuration
| Setting | Description |
|---|---|
| System URL | SAP OData endpoint |
| Client | SAP client number |
| Entities | OData entities to sync |
| Protocol | OData v2 or v4 |
Setup Steps
- Add Connector: Knowledge → Add Data Source → SAP
- Enter Credentials: System URL and auth
- Select Entities: Choose OData entities
- Configure Options: Protocol and filters
- Test & Create: Verify and save
Common Entities
| Entity | Content |
|---|---|
| A_BusinessPartner | Customer/vendor data |
| A_SalesOrder | Sales orders |
| A_PurchaseOrder | Purchase orders |
| A_Product | Material master |
Best Practices
- Start with key entities
- Filter by date for efficiency
- Include related entities
- Monitor OData limits
Troubleshooting
Connection failed: Verify OData service is exposed
Authentication error: Check user permissions
Missing data: Verify entity authorizations