Replicating data from SAP S/4HANA to BigQuery through SAP Datasphere
Stay organized with collections
Save and categorize content based on your preferences.
This document provides an overview about how you can replicate data from
SAP S/4HANA to BigQuery through SAP Datasphere.
SAP Datasphere offers robust data
transformation capabilities and ensures the data is loaded correctly into
BigQuery.
It uses the BigQuery Storage Write API
to write the data to BigQuery dataset in near-real time.
Replication methods
To read data from the SAP S/4HANA source system,
you can use one of the following replication methods:
CDS-based replication: This method uses Core Data Services (CDS)
views, which are semantically rich and offer predefined models of your business
data within SAP S/4HANA.
SLT-based replication: This method directly replicates underlying
database tables from your SAP S/4HANA system, typically using
SAP Landscape Transformation (SLT) as the replication technology.
The replicated tables can then be used as a data foundation for
Google Cloud Cortex Framework.
Key differences and considerations
The following table summarizes the key differences
between the two replication methods:
Feature
CDS-based replication
SLT-based replication
Data representation
Provides business-oriented data views, often combining
data from multiple tables into meaningful structures.
Provides direct access to raw table structures. If you require
granular control over data or need to replicate custom tables, then
this replication method is appropriate for your needs.
Ease of use
If you're using the pre-delivered CDS views in SAP Datasphere, then
setting up the replication becomes more straightforward.
Might require more technical configurations, especially
for initial setup of SLT and handling table dependencies.
Flexibility
Less flexible if you need to replicate custom tables or
tables not exposed through standard CDS views.
Offers greater flexibility to replicate any table,
including custom-developed ones.
Performance
Causes extra CPU consumption on the production database due
to business logic and delta calculations. This method can require
additional CPU resources for your SAP database.
Less data is transferred due to possible pre-aggregations
in CDS view logic.
Replicates entire tables, leading to increased network traffic,
and hence this method is networking-intensive. However, it requires
less consumption of the database CPU resources.
More data is transferred as full tables are
replicated without pre-aggregations.
Google Cloud Cortex Framework compatibility
To generate extractor-enabled CDS views that are compatible with
the Google Cloud Cortex Framework, you can use the community-developed
utility available at GitHub.
Fully compatible with pre-delivered technical accelerators.
Choose your replication method
The best replication method for you depends on several factors,
including the intended use case and other considerations, such as the following:
Business requirements: If you primarily need standard business data and want
a quick setup, then CDS-based replication is likely a good fit. If you require
more specialized data or have heavily customized tables, then
consider SLT-based replication.
Cortex Framework compatibility. If you want to use Cortex Framework, then
use SLT-based replication.
Technical expertise: CDS-based replication is easier to work with for
people with SAP Basis or data replication expertise.
Data volume and complexity: For multi-terabyte data or complex table
relationships, SLT-based replication might be more scalable.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Replicating data from SAP S/4HANA to BigQuery through SAP Datasphere\n\nThis document provides an overview about how you can replicate data from\nSAP S/4HANA to BigQuery through [SAP Datasphere](https://www.sap.com/india/products/technology-platform/datasphere.html).\nSAP Datasphere offers robust data\ntransformation capabilities and ensures the data is loaded correctly into\nBigQuery.\nIt uses the [BigQuery Storage Write API](/bigquery/docs/write-api)\nto write the data to BigQuery dataset in near-real time.\n\nReplication methods\n-------------------\n\nTo read data from the SAP S/4HANA source system,\nyou can use one of the following replication methods:\n\n- **CDS-based replication**: This method uses Core Data Services (CDS)\n views, which are semantically rich and offer predefined models of your business\n data within SAP S/4HANA.\n\n- **SLT-based replication** : This method directly replicates underlying\n database tables from your SAP S/4HANA system, typically using\n SAP Landscape Transformation (SLT) as the replication technology.\n The replicated tables can then be used as a data foundation for\n [Google Cloud Cortex Framework](/solutions/cortex).\n\n### Key differences and considerations\n\nThe following table summarizes the key differences\nbetween the two replication methods:\n\n### Choose your replication method\n\nThe best replication method for you depends on several factors,\nincluding the intended use case and other considerations, such as the following:\n\n- **Business requirements**: If you primarily need standard business data and want\n a quick setup, then CDS-based replication is likely a good fit. If you require\n more specialized data or have heavily customized tables, then\n consider SLT-based replication.\n\n- **Cortex Framework compatibility**. If you want to use Cortex Framework, then\n use SLT-based replication.\n\n- **Technical expertise**: CDS-based replication is easier to work with for\n people with SAP Basis or data replication expertise.\n\n- **Data volume and complexity**: For multi-terabyte data or complex table\n relationships, SLT-based replication might be more scalable.\n\n| **Note:** Irrespective of the replication method you choose, SAP Datasphere acts as a powerful tool for orchestrating the replication process, providing data transformations, and ensuring that the data is loaded correctly into BigQuery. You can set up replication using both methods, and choose to run your replication using the method that best suits your use case and requirements.\n\nWhat's next\n-----------\n\n- For information about how to set up CDS-based replication, see [Set up CDS-based replication: SAP S/4HANA to BigQuery through SAP Datasphere](/sap/docs/sap-datasphere-cds-replication-bigquery).\n- For information about how to set up SLT-based replication, see [Set up SLT-based replication: SAP S/4HANA to BigQuery through SAP Datasphere](/sap/docs/sap-datasphere-slt-replication-bigquery)."]]