Table
This section shows how to set up a reusable SAP Table extraction.
Supported SAP Objects
- Transparent tables
- Views
- ABAP CDS Views - CDS Views based on entities are not supported
- HANA CDS Views
- Pool tables
- Cluster tables
Prerequisites
Before creating extractions, make sure to meet the following requirements:
- A valid connection to an SAP system is available.
- The SAP user of the SAP connection has sufficient user rights, see Knowledge Base Article: SAP Authorization Objects
- A valid connection to a data destination is available.
- You know the technical name of the SAP table you want to extract.
Tip
You can fetch the names and descriptions of the tables in your SAP source system using the Xtract Core API.
Create Table Extractions
Use the following endpoint to create a new table extraction:
POST /v1/extractions/table/mara HTTP/1.1
Host: localhost:1337
Content-Type: application/json
Content-Length: 190
{
"Table": "MARA",
"Where": "MATNR = 000000000001",
"Source": "s4hana",
"Destination": "azure",
"Columns": ["MATNR", "MANDT"],
"ResultName": "materials",
"FunctionModule": "/THEO/READ_TABLE"
}
[Content-Type: application/json] [Content-Length: 190]
Tip
The Content-Length
property in the header represents the byte size of the JSON string in the request body. When using curl, the Content-Length
can be determined automatically. The -v
(verbose) option returns the request details, including Content-Length
.
For more information about mandatory and optional parameters, refer to the API Reference: Table Extraction.
Related Links
- Xtract Core API Reference: Table Extraction
- Knowledge Base: WHERE Clause Syntax
- Knowledge Base: Custom Function Module /THEO/READ_TABLE
- Knowledge Base: Extraction Mechanism of Table
Last update: September 1, 2025