Workflows
Blocks
Integrations
SAP Integration

SAP Integration Block

The SAP Integration block connects your workflows to SAP ERP systems, enabling data exchange and automation with SAP Business applications.

Key Features

  • Multi-Module Support - Connect to various SAP modules
  • Flexible Authentication - OAuth, API Key, or Basic Auth
  • Data Synchronization - Read and write SAP data
  • Process Automation - Trigger SAP workflows and transactions

SAP integration requires proper credentials and API access configured in your SAP system. Contact your SAP administrator for access details.

Supported SAP Modules

  • SAP S/4HANA - Core ERP functionality
  • SAP Ariba - Procurement and supply chain
  • SAP SuccessFactors - Human resources
  • SAP Concur - Travel and expense management
  • SAP Customer Experience - CRM and commerce
  • SAP Business Technology Platform - Integration services

Configuration

ParameterTypeRequiredDescription
CredentialsSelectYesSAP API credentials
ModuleSelectYesSAP module to connect to
OperationSelectYesThe operation to perform
Authentication TypeSelectYesOAuth, API Key, or Basic Auth
EndpointTextYesSAP API endpoint URL
Request BodyJSONFor POST/PUTData to send to SAP

Setup Guide

  1. Obtain SAP API credentials from your SAP administrator
  2. Configure SAP credentials in workspace settings
  3. Add the SAP block to your workflow
  4. Select the SAP module and operation
  5. Configure authentication and endpoint details
  6. Map data fields as needed

Example Usage

Create Purchase Order (SAP S/4HANA)

{
  "module": "S4HANA",
  "operation": "CreatePurchaseOrder",
  "data": {
    "vendor": "{{vendor_id}}",
    "items": [
      {
        "material": "{{material_number}}",
        "quantity": {{quantity}},
        "plant": "{{plant_code}}"
      }
    ],
    "deliveryDate": "{{delivery_date}}"
  }
}

Get Employee Data (SuccessFactors)

{
  "module": "SuccessFactors",
  "operation": "GetEmployee",
  "employeeId": "{{employee_id}}",
  "fields": ["firstName", "lastName", "email", "department"]
}

Submit Expense Report (SAP Concur)

{
  "module": "Concur",
  "operation": "SubmitExpense",
  "data": {
    "reportName": "{{report_name}}",
    "amount": {{total_amount}},
    "currency": "USD",
    "expenses": "{{expense_items}}"
  }
}

Authentication Types

OAuth 2.0

Recommended for production use. Requires OAuth client credentials from SAP.

API Key

Simple authentication using an API key. Good for testing and development.

Basic Authentication

Username and password authentication. Use only with HTTPS connections.

Output

The block returns:

  • success (boolean) - Whether the operation succeeded
  • data (object) - Response data from SAP
  • message (string) - Status or error message
  • transactionId (string) - SAP transaction reference (if applicable)

Best Practices

  • Use OAuth - Prefer OAuth 2.0 for secure authentication
  • Handle Errors - Implement proper error handling for SAP responses
  • Map Fields Carefully - Ensure data types match SAP requirements
  • Test in Sandbox - Use SAP test environments before production
  • Monitor Quotas - Track API usage to avoid rate limits

Error Handling

ErrorCauseSolution
Authentication failedInvalid credentialsVerify credentials with SAP admin
Resource not foundInvalid endpoint or IDCheck the endpoint URL and resource IDs
Validation errorInvalid data formatReview data field requirements
Rate limit exceededToo many requestsImplement request throttling
Service unavailableSAP system downCheck SAP system status and retry
Indite Documentation v1.4.0
PrivacyTermsSupport