SAP BW/4HANA

SAP BW/4HANA Data Extraction Basics: Source Systems, DataSources, and Load Troubleshooting

Learn how SAP BW/4HANA data extraction works, how to configure source system connections and DataSources, how to select targets, and how to troubleshoot incomplete or failed loads.

SAP BW/4HANA extraction flowShow how source data moves from a DataSource through transformation and persistence into the BW/4HANA modelSAP BW/4HANA extraction flowShow how source data moves from a DataSource through transformation and persistence into theBW/4HANA modelprovidesextractsprocesseswritesSourcesystemOperationalapplication o…DataSourceDefinesfields,…Inbounddata flowReceives theextracted…TransformationMaps,converts,…PersistenttargetStores theprocessed…CertPas original visual explanation
Process diagram showing source system data moving through a DataSource, inbound data flow, transformation, and persistent target in SAP BW/4HANA
On this page
  1. What SAP BW/4HANA extraction does
  2. How the extraction flow fits together
  3. Configure a source system extraction
  4. Choose the right target object
  5. Troubleshoot failed or incomplete loads
  6. Operate extraction reliably

What SAP BW/4HANA extraction does

SAP BW/4HANA data extraction moves structured data from an operational source into the BW/4HANA data flow for staging, transformation, persistence, and reporting. The extraction design starts with the source system, the available DataSource, the extraction method, and the target object that receives the data.

A reliable design keeps source extraction separate from business transformation. The source layer should deliver the required fields and a dependable delta mechanism, while transformations apply mappings, cleansing, derivations, and business rules. The SAP BW/4HANA overview provides the broader relationship between these objects and the overall platform structure.

BW/4HANA extraction troubleshooting pathHelp operators isolate whether a failed or incomplete load originates in connectivity, metadata, extraction, transformation, or target processingBW/4HANA extraction troubleshooting pathHelp operators isolate whether a failed or incomplete load originates in connectivity, metadata,extraction, transformation, or target processingfails before extractionconnection succeedsmetadata is validrecords are extractedmapping succeedsCheckrequest…Identify thefirst step…Validatesource…Confirmreachability…CheckDataSourc…Verify thatthe…Reviewselections…Confirm theselection…Inspecttransforma…Tracerejected or…Confirmtarget…Verify thatthe target…CertPas original visual explanation
Troubleshooting flow for SAP BW/4HANA extraction failures, covering request status, source connection, DataSource metadata, delta selections, transformations, and target activation

How the extraction flow fits together

A typical flow follows this sequence:

  1. Identify the source application and the business data required.
  2. Create and test the source system connection.
  3. Select or create the relevant DataSource.
  4. Replicate the DataSource metadata into BW/4HANA.
  5. Create an inbound data flow and connect the DataSource to a target.
  6. Run an initialization or full load when required.
  7. Schedule delta loads after the initial data is available.
  8. Monitor requests, transformations, and target data.

The source system supplies records through its extraction interface. BW/4HANA then processes the request through the inbound data flow, applies the transformation logic, and writes the result to the target object. Each stage should be testable independently so that a missing record can be isolated to the source, request, transformation, or target.

Configure a source system extraction

Start by documenting the source, business object, expected volume, required fields, and update frequency. For SAP application sources, Operational Data Provisioning is a common extraction framework. The available DataSources and their delta behavior depend on the source application and its extraction content.

Create the source system connection in the BW/4HANA modeling environment, then validate connectivity with a controlled test. Replicate the required DataSource metadata before building the complete data flow. Check the field list, data types, semantic meaning, selection fields, and delta capability during this step.

A useful validation sequence is:

  • Run a small extraction with restrictive selections.
  • Compare the extracted record count with the source.
  • Inspect key fields and timestamps.
  • Confirm that the request reaches the intended inbound target.
  • Repeat the extraction with the planned delta settings.

For source-specific setup, keep the connection user, authorizations, RFC or ODP configuration, and technical destination details in the system operations record. The extraction can be technically reachable while still failing because the source user lacks access to the required DataSource or delta queue.

Choose the right target object

Use an inbound target that matches the required persistence and reporting behavior. An Advanced DataStore Object is suitable when the flow needs persisted records, key-based activation behavior, change handling, or a stable layer for further transformations. The article Advanced DataStore Objects in SAP BW/4HANA covers the target object's role in more detail.

Use a transformation when source fields must be renamed, converted, validated, derived, or mapped into target fields. Keep complex rules in a dedicated transformation rather than embedding unrelated logic in source extraction. See SAP BW/4HANA transformations for transformation design and runtime considerations.

A CompositeProvider is generally a consumption and integration layer that combines providers for analytical use. It is not a substitute for a source extraction target. Build and validate the persisted inbound flow first, then expose the modeled data through the appropriate provider. The guide to CompositeProviders in SAP BW/4HANA explains how this layer fits into the model.

Troubleshoot failed or incomplete loads

Begin with the request status and identify the first failing processing step. A request that never starts usually points to scheduling, source connectivity, authorization, or an unavailable extraction process. A request that starts but ends with rejected records usually points to field conversion, key mapping, transformation logic, or target validation.

Use this isolation sequence:

  1. Confirm that the source system is reachable.
  2. Check whether the DataSource is active and replicated.
  3. Verify the selection range and request parameters.
  4. Compare source and target record counts.
  5. Inspect rejected records and transformation errors.
  6. Check whether the target activation or load step completed.
  7. Review the delta position before repeating a delta request.

An empty delta request can be valid when the source has no changes in the selected interval. Treat it differently from a request that failed before extraction. Record the last successful delta position before resetting or reinitializing a flow, because an incorrect reset can create duplicates or leave a data gap.

When a field is missing, compare the active DataSource metadata with the source definition and the target mapping. When values are incorrect, trace one business key through the source record, transformation, and target record. This narrows the investigation faster than reviewing the entire request log.

Operate extraction reliably

Schedule full loads and delta loads according to the source application's update behavior. Avoid overlapping requests for the same flow unless the design explicitly supports concurrent processing. Coordinate dependent flows so that downstream transformations start only after the inbound request and target activation have completed.

Monitor request status, runtime, record counts, rejected records, and delta continuity. Establish baseline runtimes after a successful load and investigate material changes rather than waiting for a complete failure. The BW/4HANA process chains article is useful when extraction needs to run as part of a controlled sequence.

Keep an operational record containing the source system, DataSource, target, load type, selection criteria, schedule, last successful request, and recovery action. This makes recurring incidents easier to compare and helps distinguish a source-data change from a BW/4HANA processing problem.

Practical extraction checklist

  • Source connection tested successfully
  • Required DataSource metadata replicated
  • Full-load behavior validated
  • Delta behavior validated
  • Field mappings reviewed
  • Target activation confirmed
  • Request monitoring assigned
  • Recovery and reinitialization steps documented
Back to all articles