Categories
SAP Products

Kafka Adapter for ABAP

SAP ABAP

Kafka Adapter for ABAP

Native, bidirectional connectivity between your ABAP applications and Apache Kafka — over TCP/TLS, without a separate Kafka REST proxy.

Integration architecture

ABAP applications
Publish / Consume
KaTe GmbHKaTe Kafka Adapter for ABAPNative TCP/TLS
Kafka records
Apache Kafka
TCP/TLSConnectionAvroSchema RegistryJSONData formats
Technical building blocks
IDocs
Custom ABAP types
JSON
Avro
Schema Registry

Architecture overview

ABAP applications, KaTe Kafka Adapter for ABAP and Apache Kafka

ABAP applications
KaTe GmbHKaTe Kafka Adapter for ABAPNative ABAP integration
Apache Kafka
Publish / ConsumeNative TCP/TLS
Direct connection between ABAP and Kafka

Features

All features at a glance

Bring native Kafka connectivity into your ABAP applications with native producer and consumer APIs, configurable data binding and central administration.

Core functions: publish and consume

Publish application data as Kafka records and consume incoming records directly in standard S/4HANA and ECC functions and ABAP.

  • Flexible publishing: publish Kafka records from IDocs, RAP Events (TBA) or custom ABAP programs, using blocking sends or non-blocking outbox enqueueing with Kafka broker acknowledgements (acks).
  • Controlled consumption: read Kafka records and submit them to SAP integration objects, such as IDocs and ABAP calls, through managed consumer channels with consumer groups. Consumers process partitions in parallel and commit Kafka offsets only after successful SAP receiver processing, with retries for failed records within their partition.
  • Configurable setup: use one or more topics, control offsets and work with Kafka keys, values and headers.

Security and connection management

Secure your Kafka connections with TLS encryption, protected credentials and centrally managed connection profiles.

  • Native TCP/TLS connectivity with SASL/PLAIN authentication.
  • Encrypted credentials for Kafka brokers and Schema Registry.

Advanced features: SAP integration, data formats and error handling

SAP integration, data formats and error handling

SAP integration and data formats

Integrate SAP objects with Kafka

  • IDocs: exchange complete IDocs as Kafka records, with SAP acting as sender or receiver.
  • Custom ABAP data types and tables: bind application data to explicitly configured or generic ABAP types, structures and internal tables.
  • RAP Events (TBA): integration with events and powerful reference data lookup from the ABAP RESTful Application Programming Model.

Supported serializers and deserializers

  • Standard Kafka formats: String, Boolean, Short, Integer, Long, Float, Double, UUID, Void and binary formats (ByteArray, ByteBuffer and Bytes).
  • Confluent Avro: native binary encoding and decoding, Schema Registry integration and supported schema evolution.
  • Confluent JSON Schema: serialization and validation with Schema Registry integration within a documented Draft 7 subset.

Key and Value formats can be freely configured with respective serializers/deserializers and binding to data structures.

Configurable error handling and retries

Keep processing failures visible and control how failed records are retried.

  • Configure retry limits and delays.
  • Review retry status and failure details in monitoring.
  • Retry failed records within their partition while other partitions continue.
  • Review uncertain producer delivery outcomes before deciding on recovery.

Advantages

Why connect to Kafka directly from ABAP?

1 · Connect directly to Kafka brokers

Use Kafka’s binary protocol from ABAP. A separate Kafka REST proxy is unnecessary for broker communication; Schema Registry uses its own HTTPS API.

2 · Work with your application’s data

Integrate IDocs and RAP Events (TBA), or use generic and typed interfaces for custom ABAP data. Select the serialization format independently for keys and values.

3 · Keep configuration and diagnostics together

Manage connection profiles and channels in one user-friendly web console, and investigate operational failures through correlated runtime diagnostics.

Comparison

Choose the integration approach that fits your scenario

Kafka Adapter for ABAP

Direct ABAP APIs and SAP data binding

Application-controlled table extraction

Integration logic within your SAP application

Kafka Adapter for SAP Integration Suite

Integration through Cloud Integration iFlows

Orchestration of data exposed by SAP interfaces

Central transformation and routing across systems

Setup

Set up your Kafka integration in three steps

1

1 · Discuss your scenario

Identify your SAP environment, Kafka topics, data formats and processing requirements with our team.

2

2 · Configure the adapter

Prepare the SAP prerequisites, configure protected connection profiles and define producer or consumer channels with the required data bindings.

3

3 · Validate and start processing

Check connectivity, test your application integration and use the administration console to control and monitor processing.

Compatibility

Find the right setup for your SAP environment

Contact us to discuss your SAP release, Kafka environment and installation prerequisites. Avro, Schema Registry and JSON Schema support follow documented mapping, schema and resource limits.

Administration console

More control during setup and operations

Operations and monitoring

Manage Kafka channels centrally and investigate processing issues with runtime status, application logs and targeted diagnostics.

  • Start, stop, pause and resume managed channels from the administration console, with consumer startup from the beginning or latest position of the stream.
  • Inspect consumer group offsets, processing progress and partition status.
  • Monitor producer outbox entries and review uncertain delivery outcomes.
  • Investigate failures through correlated application logs and temporary Kafka protocol traces.

FAQ

Frequently asked questions

Answers to common questions about the Kafka Adapter for ABAP.

What is the Kafka Adapter for ABAP?

The adapter connects SAP applications directly to Kafka using native ABAP producer and consumer APIs. It brings IDocs and custom ABAP data into Kafka integration, with configurable serialization and a web console for administration. RAP Events integration is TBA.

How are Kafka connections secured?

Broker communication uses TCP/TLS with SASL/PLAIN authentication. Broker and Schema Registry credentials are stored under separate encrypted aliases, keeping connection configuration separate from secrets.

How does the adapter preserve processing order?

Records are processed in order within each assigned partition. A failed record is retried before later records in that partition proceed, while other partitions can continue. Ordering across different partitions is determined by your application design.

Can consumers process records in parallel?

Managed consumer groups distribute partitions across configured consumers. This allows parallel processing across partitions while retaining ordered processing within each partition. Capacity depends on partition count, SAP resources and receiver workload.

Can I choose where consumption starts?

You can configure consumption from the beginning or latest position of the stream. Explicit-offset read APIs also support selected stream positions. Existing consumer-group offsets affect where an established group resumes.

How can I monitor and troubleshoot my integration?

The web console brings channel controls, processing progress, consumer offsets and producer outbox inspection together. Application logs show error and retry details; temporary Kafka protocol traces support targeted troubleshooting. Retry limits and delays are configurable.

When should I use the ABAP adapter instead of a Kafka adapter on middleware?

Use the ABAP adapter when integration logic belongs in SAP — for example, application data integration or custom ABAP extraction of table data to Kafka. Publish and consume Kafka records directly within your ABAP applications, with control over data binding and processing, without routing each exchange through a middleware layer. Use the KaTe Kafka Adapter for SAP Integration Suite when you need central orchestration, transformations or routing across multiple systems. The two adapters complement each other within your integration landscape.

Do I need a Kafka REST proxy?

Unlike other solutions, no separate Kafka REST proxy is needed for broker communication. The adapter speaks Kafka’s binary protocol directly over TCP/TLS from ABAP. Schema Registry integration uses HTTPS separately.

Can I replicate tables to Kafka?

Yes. Publish table data to Kafka using generic or explicitly typed ABAP serialization and a simple custom ABAP program that reads and sends data through a Kafka channel. This enables straightforward data integration tailored to your requirements.

Can I exchange IDocs through Kafka?

Yes. Send and receive complete IDocs as Kafka records using standard SAP IDoc integration. Outbound IDocs are confirmed after Kafka acknowledges the record.

Which Confluent serializers are supported?

The adapter provides serializers and deserializers compatible with Confluent Avro and Confluent JSON Schema, including Schema Registry integration. Avro supports schema evolution; JSON Schema supports validation within a documented Draft 7 subset.

How does the adapter support reliable delivery?

The adapter commits Kafka consumer offsets only after successful receiver processing. Failed records are retried before processing continues within their partition, helping ensure records are not skipped when processing fails.

Contact

Planning Kafka integration from ABAP?

Tell us about your SAP environment, data formats and processing requirements. We can discuss the integration approach and supported configuration with you.

Categories
SAP Products

RESTful Adapter for SAP PO

RESTful Adapter for SAP PO – OpenAPI 3.0, JWT, OAuth2 REST Integration | KaTe GmbH
REST / API Adapter

RESTful Adapter
for SAP PO

Advanced REST API Connectivity for SAP Process Orchestration

The KaTe RESTful Adapter significantly reduces development times when creating and using REST APIs according to the OpenAPI 3.0 standard with SAP PO. Supports all HTTP methods, JWT, OAuth2, NTLM and more – deployed worldwide.

Verified SAP Partner 30 Days Free Trial Available Worldwide

Integration Flow

SAP PO / PI
Process Orch.
GET / POST
PUT / DELETE
KaTe
KaTe
Adapter
OpenAPI
JSON / XML
REST APIs
OpenAPI 3.0
OpenAPI 3.0 / Swagger 2.0 JWT · OAuth2 · NTLM All HTTP Methods
Verified SAP Partner
SSL / OAuth2 / JWT
All HTTP Methods
XML / JSON Transformation

Sender & Receiver Adapter for SAP PO

The KaTe RESTful Adapter covers both directions: publishing REST services (Sender) and invoking REST services (Receiver) – bidirectional and fully integrated in SAP PO.

Publishing REST Services with the Sender Adapter
KaTe RESTful Adapter – Sender Adapter Architecture: REST Clients to SAP PO
Invoking REST Services with the Receiver Adapter
KaTe RESTful Adapter – Receiver Adapter Architecture: SAP PO to REST APIs

Core Technical Features

  • Native support for OpenAPI 3.0 and Swagger 2.0 as an API-first approach for publishing and consuming RESTful APIs
  • Integration of open identity management solutions (KeyCloak, Auth0, Okta, Azure AD) with JWT and OAuth2 for APIs published via SAP PO
  • Full-featured testing capabilities: invoke, build, test and publish web APIs with an interactive console – like a web developer (API console, WADL for published PO services)
  • Supports all HTTP methods: GET, PUT, POST, PATCH, DELETE, TRACE, HEAD
  • All typical API authentication mechanisms: SSL, OAuth2, OAuth1, Digest, Basic, NTLM 1/2
  • First-class support for established data formats (XML / JSON conversion)
  • Flexible mapping of HTTP return codes for errors, exceptions or responses
  • Support for typical website technologies: file upload, form & multipart posting, hyperlinks
  • Runs with SAP PI 7.1/7.11/7.3, SAP PO 7.31/7.4/7.5 and higher
  • Built on SAP's Adapter Framework – full support for monitoring and configuration

Proven & Versatile Experience

Our RESTful Adapter is deployed in many demanding customer installations and supports successful integration of REST APIs and SaaS providers such as:

  • Salesforce API (REST API with PATCH method and OAuth2)
  • Mailchimp API (JSON / newsletters with attachments and dynamic content)
  • SharePoint REST API with NTLMv2
  • Concur API (extracting expenses and updating data / OAuth2)
  • Basecamp API (access to objects for project management)
  • Twilio Shortmessage API (sending short messages)
  • JIRA JSON API (Create / Read Tickets / Tasks)
  • LinkedIn API (OAuth1) and many more
  • POST, PUT and PATCH with Attachments (Multi Part Request)

RESTful Adapter – All Features

Powerful features for professional SAP integration in enterprise environments – deployable worldwide.

OpenAPI 3.0 & Swagger 2.0
Full support of the OpenAPI standard for automatic API configuration as an API-first approach.
  • OpenAPI 3.0 Import
  • Swagger 2.0 compatible
  • Automatic Channel Generation
  • Integrated API Documentation
Security & Authentication
All common REST authentication mechanisms including open identity management solutions.
  • JWT (JSON Web Token)
  • OAuth2 (Client Credentials, Auth Code)
  • NTLM 1 and 2
  • Basic, Digest, OAuth1, SSL
  • KeyCloak, Auth0, Okta, Azure AD
All HTTP Methods
Complete HTTP method support for maximum API compatibility.
  • GET, POST, PUT, PATCH
  • DELETE, TRACE, HEAD
  • Custom Headers
  • Query Parameter Mapping
  • File Upload / Multipart
XML / JSON Transformation
Automatic transformation between SAP PO XML and REST JSON formats with flexible mapping.
  • JSON to XML Transformation
  • XML to JSON Transformation
  • Schema Validation
  • Custom Mapping Rules
  • HTTP Return Code Mapping
Multi-Cloud Support
Connects SAP PO with REST APIs on all major cloud platforms worldwide.
  • AWS API Gateway
  • Azure API Management
  • Google Cloud Endpoints
  • On-Premise REST Services
SAP PO Integration
Complete integration into the SAP Adapter Framework with full monitoring and configuration support.
  • SAP PI 7.1/7.11/7.3
  • SAP PO 7.31/7.4/7.5+
  • SAP Integration Suite ready
  • Migration path from SAP PO

KaTe Launchpad – More than just an adapter

The KaTe Launchpad extends the adapter with additional tools that significantly simplify the development and operation of RESTful scenarios.

Generator

Automatic generation of REST API configurations from OpenAPI 3.0 specifications. SAP PO channel definitions are created directly from the API specification – significant time savings in configuration.

Service List Display & Tester

Overview of all configured REST API connections. Integrated API tester to send HTTP requests and check responses directly from SAP PO – like an interactive API console for developers.

Start easily – scale flexibly

1

Request Free Trial

Contact us – within 48 hours you will receive access to the adapter for your test environment.

2

Install Adapter

Installation in your SAP PO environment in a few steps. Our team supports you during onboarding.

3

Go Live

Initial productive scenarios run quickly. Scale as needed – without upfront investments.

All KaTe adapters are designed to be ready for use quickly – from inquiry to productive operation.

Request Free Trial now

RESTful Adapter – Compatibility

The RESTful Adapter is available for all current SAP PO versions and compatible target systems.

SAP Process Orchestration (PO/PI)

  • SAP PI 7.1, 7.11, 7.3
  • SAP PO 7.31, 7.4, 7.5 and higher
  • OpenAPI 3.0 and Swagger 2.0
  • JWT, OAuth2, NTLM, Basic, Digest

REST API Targets

  • AWS, Azure, GCP REST APIs
  • On-Premise REST Services
  • SAP Integration Suite (CPI)
  • All OpenAPI-compliant APIs

Frequently Asked Questions about RESTful Adapter

What is the KaTe RESTful Adapter for SAP PO?

The KaTe RESTful Adapter enables publishing and consuming REST APIs according to the OpenAPI 3.0 standard with SAP PO. It supports all HTTP methods, JWT, OAuth2, NTLM, XML/JSON transformation and is deployed in many demanding customer installations worldwide.

Which OpenAPI versions are supported?

The adapter supports OpenAPI 3.0 and Swagger 2.0 as an API-first approach. APIs can be imported directly from OpenAPI specifications and automatically configured as SAP PO channels.

Which authentication methods are supported?

The adapter supports JWT, OAuth2 (Client Credentials and Authorization Code), NTLM 1 and 2, Basic Authentication, Digest Authentication, and OAuth1. Open identity management solutions such as KeyCloak, Auth0, Okta, and Azure AD are also supported.

Which HTTP methods are supported?

The adapter supports all HTTP methods: GET, POST, PUT, PATCH, DELETE, TRACE, and HEAD. Custom headers, query parameter mapping, as well as file upload and multipart posting are also possible.

Can the adapter be used with AWS, Azure, and GCP?

Yes, the RESTful Adapter connects SAP PO with REST APIs on all major cloud platforms: AWS API Gateway, Azure API Management, and Google Cloud Endpoints as well as on-premise REST services.

How does the XML/JSON transformation work?

The adapter offers first-class support for XML/JSON conversion with automatic bidirectional transformation, schema validation, and custom mapping rules. HTTP return codes can be mapped flexibly.

Is the adapter compatible with SAP Integration Suite?

Yes, the RESTful Adapter is available for SAP PO and the SAP Integration Suite. Existing REST interfaces can be migrated with minimal effort.

How can I test the adapter?

KaTe offers a free 30-day trial. Contact us via kate-group.de/kontakt/ to test the adapter in your environment.

Which SAP PO versions are supported?

The adapter runs with SAP PI 7.1, 7.11, 7.3 as well as SAP PO 7.31, 7.4, 7.5 and higher.

Does KaTe GmbH also offer REST API consulting?

Yes, KaTe GmbH offers SAP REST API integration consulting – from API architecture to implementation and optimization of your REST integration landscape.

REST API Integration and SAP Migration

KaTe GmbH supports you in planning and implementing your REST API integration strategy – from the initial API analysis to productive operation.

Consulting Services

KaTe GmbH supports you in planning, implementing, and operating your SAP integration landscape – from initial analysis to go-live.

Request Consulting

30 Days Free
Test RESTful Adapter

Test the KaTe RESTful Adapter free of charge for 30 days in your own SAP PO environment. No risk, no prepayment.