ODP
This page shows how to use the ODP extraction type.
The ODP extraction type can be used to extract data via the SAP Operational Data Provisioning (ODP) framework.
About ODP
Operational data provisioning (ODP) is a framework in SAP ABAP applications for transferring data between systems. ODP provides a technical infrastructure for data extraction and replication from different SAP (ABAP) Systems, e.g.:
- ECC
- S/4 HANA
- BW
- BW/4 HANA
The ODP extraction type acts as a subscriber (consumer) and subscribes to a data provider. ODP supports mechanisms to load data incrementally from data providers. For SAP BW/4HANA, ODP is the central infrastructure for data extraction and replication from SAP (ABAP) applications to an SAP BW/4HANA Data Warehouse.
The ODP extraction type provides data transfer from the following providers (also called Provider Context):
Provider Context | SAP Source Objects |
---|---|
ABAP Core Data Services [ABAP_CDS] | - CDS Views |
SAP NetWeaver Business Warehouse or BW4/HANA [BW] | BW/4HANA: - DSO / aDSO - CompositeProvider - InfoObjects - Query as InfoProvider BW systems: - CompositeProvider - InfoCubes - Semantically partitioned objects - HybridProviders - MultiProviders - InfoSets |
SAP HANA Information Views [HANA] | - Analysis Views - Calculation Views - Associated Attribute Views |
DataSources/Extractors [SAPI] | - DataSources and Extractors |
SAP LT Queue Alias [SLT~your_queue_alias] | - SAP Tables - Cluster tables - Pool tables |
Depending on the connected SAP source system there are differences in available provider contexts.
For more information on SAP ODP, see SAP Wiki: Operational Data Provisioning (ODP) and Delta Queue (ODQ).
Prerequisites
- A connection to an SAP system is available, see SAP Connection.
- The SAP user has sufficient user rights, see SAP Authority Objects.
- Implement the following SAP notes to use ODP:
- DataSources have to be activated in SAP, see SAP Help: Activating DataSources in the SAP OLTP System.
- Before creating ODP extractions, test the ODP source in SAP using the ABAP report RODPS_REPL_TEST to rule out and troubleshoot ODP problems in the ODP source. For more information, see SAP Wiki: Replication test with RODPS_REPL_TEST.
Note
The ODP API 1.0 has limitations compared to ODP API 2.0, e.g., ODP API 1.0 does not support the extraction of Hierarchy DataSources. For more information, see SAP Wiki: Limitation of ODP API 1.0.
Warning
Missing Authorization.
To use the ODP extraction type, access to the designated authority objects (RFC) in SAP must be available. Adjust SAP Authority Objects accordingly.
Create an ODP Extraction
- In the main window of the Designer, click [New] to create a new extraction. The window "Create Extraction" opens.
- Select an SAP Connection from the drop-down menu in Source and enter a unique name for your extraction.
- Select the extraction type ODP and click [OK]. The main window of the extraction type opens automatically.
The majority of the functions of the extraction type can be accessed in the main window.
Look up Data Objects
- In the main window of the extraction type, click [ ]. The window “Operational Data Provider Lookup” opens.
- In the field Name, enter the name of an extractor . Use wildcards (*), if needed.
- Select a Context . Depending on the connected SAP source system there are differences in available Provider Contexts.
- Click [ ]. Search results are displayed.
- Select an extractor and click [OK] to confirm.
The application now returns to the main window of the extraction type.
Note
To find DataSources, they have to be activated in SAP.
Define the ODP Extraction Type
The ODP extraction type offers the following options for data extractions:
-
In the section Fields, select the items you want to extract.
Note
TS_SEQUENCE_NUMBER is a technical primary key that can be added to the output. When working with identical data sets, the data set with the highest sequence number is the most current data set.
-
Optional: edit a selection you want to change or dynamize. For more information, see Edit Selections.
Note
If your data source is a Hierarchy, see Hierarchy Segments for filter options.
-
Select an Update Mode, e.g., to initialize delta extractions.
- Click [Load live preview] to display a live preview of the first 100 records.
- Check the Extraction Settings and the General Settings before running the extraction.
- Click [OK] to save the extraction type.
You can now run the extraction, see Execute and Automate Extractions.