SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Reference

odbc-driver-for-abap-examples

SAP's example programs for the ODBC driver for ABAP, one subfolder per programming language, with the ABAP objects they use and a unixodbc configuration template for Unix clients.

Every example here needs the ODBC driver for ABAP installed on the client, which is downloaded from the SAP Marketplace; on Windows the standard ODBC driver manager is used, and on Unix unixodbc is required for almost all of them, with no other driver manager supported. The repository holds the examples sorted into a subfolder per language, a unixodbc configuration template, and a top-level ABAP folder with text representations of the ABAP objects most examples use, also released as an ABAP package. Features carry their own minimum versions: select from SAP system version 2021 FPS01 and driver 01.00.0000, call from 2025 / 2502 and driver 01.00.0018, insert and delete from 2025 / 2508 and driver 01.00.0021.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Database connectorsABAPDatabase connectorscapabilityConnecting an application’s data model and queries to a database, including the differences in supported queries, types and schema management between database implementations. Changing an existing schema belongs to [schema evolution](capability:schema-evolution).

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerHaasFrankMartinPersonContributes to this
In the atlas: contributes to 1
@D024110
Guilherme DellagustinPersonContributes to this
In the atlas: contributes to 27
@dellagustin-sap
erlerbPersonContributes to this
In the atlas: contributes to 1
@erlerb
Leon SternPersonContributes to this
In the atlas: contributes to 1
@leonstern
4 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP
Use as
A reference

As a sample

Form
Code snippets

Connections1

odbc-driver-for-abap-examples connectionsodbc-driver-for-abap-examplesPROVIDES→ demonstrates1demonstrates authoredDatabase connectors

README

quoted from SAP-samples/odbc-driver-for-abap-examples under Apache-2.0, read
SAP-samples/odbc-driver-for-abap-examples/README.mdOn GitHub

Examples for the ABAP ODBC driver

REUSE status

Description

This repository contains examples for using the ODBC driver for ABAP in various programming languages. Information on how to run the example programs and prerequisites can be found either as comments in the code or in readme.md files in the respective directories.

The folder examples contains the actual examples, most are sorted in subfolders for each programming language, the folder unix contains a configuration template for the unixodbc driver manager.

The top-level folder ABAP contains text representations of ABAP objects used in most examples. The contents is also released as the ABAP package BASIS/SABP_MAIN/SABP/SABP_DBC2ABAP/SABP_DBC2ABAP_TEST, but some objects might not be available in older releases.

Additional ABAP folders may be present in sub-projects (e.g., devtoberfest_2025), each containing their own scenario. These are not necessarily included in the ABAP package mentioned above.

Requirements

All examples require the ODBC driver for ABAP to be installed on the client. It can be downloaded from the SAP Marketplace.

On Windows, the standard ODBC driver manager is used. For Unix systems, the ODBC driver manager unixodbc is required for almost all examples. Other driver managers are not supported.

Some features showcased in the examples have minimum version requirements:

FeaturesSAP system versionODBC driver version
select2021 FPS0101.00.0000
call2025 / 250201.00.0018
insert, delete2025 / 250801.00.0021

Download and Installation

The examples in this repository are provided as source code. They can be obtained by cloning the repository or by downloading individual files via the browser.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

The official documentation for the ODBC driver for ABAP exists in three flavours:

There is a number of SAP Technology blog posts discussing the various aspects of the ODBC driver for ABAP:

Contributing

Please see our guideline for contributions to SAP Open Source Software Projects.

Code of Conduct

Please see the SAP Open Source Code of Conduct.

License

Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/odbc-driver-for-abap-examplestree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainabap, data-and-persistence
Contributors4

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-odbc-driver-for-abap-examples
JSON
/artifacts/sap-samples-odbc-driver-for-abap-examples.json
MCP
Connecting an agent