Guide

BW Extractor to CDS View Migration Guide

Complete guide to migrating SAP BW extractors to CDS View-based extraction in S/4HANA, including extractor-to-CDS mappings by module and key SAP Notes.

Why Replace BW Extractors with CDS Views?

Classic BW extractors (DataSources like 2LIS_*, 0FI_*, 0CO_*) rely on extraction structures, function modules, and delta queues that were designed for the ECC data model. With S/4HANA's simplified tables (ACDOCA, MATDOC, etc.), many of these extractors either no longer work correctly or produce incomplete data.

SAP's strategic direction is CDS-based extraction: CDS Views annotated with @Analytics.dataExtraction.enabled: true serve as modern DataSources for BW/4HANA and SAP Datasphere.

How CDS-Based Extraction Works

A CDS View becomes a BW-compatible DataSource when it carries these annotations:

@Analytics.dataCategory: #FACT
@Analytics.dataExtraction.enabled: true
@Analytics.dataExtraction.delta.changeDataCapture.automatic: true
define view I_JournalEntryItemCube as select from acdoca {
  ...
}
  • @Analytics.dataExtraction.enabled: true — Registers the view as an extractable DataSource
  • @Analytics.dataExtraction.delta.changeDataCapture — Enables delta extraction (change logs)
  • @Analytics.dataCategory: #FACT — Marks the view as a fact table for analytical processing

In BW/4HANA, you connect to the S/4HANA system and can directly browse CDS extraction views as DataSources.

Extractor-to-CDS Mapping by Module

Finance (FI)

Classic ExtractorDescriptionCDS Replacement View
0FI_GL_14G/L Line ItemsI_JournalEntryItemCube
0FI_AP_4Vendor Line ItemsI_JournalEntryItemCube
0FI_AR_4Customer Line ItemsI_JournalEntryItemCube
0FI_AA_004Asset TransactionsI_JournalEntryItemCube

Controlling (CO)

Classic ExtractorDescriptionCDS Replacement View
0CO_OM_CCA_9Cost Center CostsI_JournalEntryItemCube
0CO_OM_OPA_6Internal Order CostsI_JournalEntryItemCube
0CO_PC_ACT_05Product Cost ActualsI_JournalEntryItemCube

Materials Management / Inventory (MM)

Classic ExtractorDescriptionCDS Replacement View
2LIS_03_BFGoods MovementsI_MaterialDocumentItemCube
2LIS_03_BXStock InitializationI_StockInitialLoadCube
2LIS_03_UMRevaluationsI_StockRevaluationCube

Sales (SD)

Classic ExtractorDescriptionCDS Replacement View
2LIS_11_VAITMSales Order ItemsI_SalesDocumentItemCube
2LIS_11_VAHDRSales Order HeaderI_SalesDocumentCube
2LIS_12_VCITMBilling ItemsI_BillingDocumentItemCube
2LIS_13_VDITMDelivery ItemsI_DeliveryDocumentItemCube

Purchasing

Classic ExtractorDescriptionCDS Replacement View
2LIS_02_ITMPurchase Order ItemsI_PurchaseOrderItemCube
2LIS_02_HDRPurchase Order HeaderI_PurchaseOrderCube

Key SAP Notes

  • SAP Note 2521196 — Overview of CDS-based extraction in S/4HANA (master note)
  • SAP Note 2367672 — CDS views for finance (FI/CO) extraction
  • SAP Note 2521328 — CDS views for logistics (MM/SD) extraction
  • SAP Note 2550084 — Enabling CDS extraction for BW/4HANA
  • SAP Note 2574543 — Delta extraction setup for CDS views

Migration Steps

  1. Identify active extractors — List all DataSources used in your BW system (transaction RSA5/RSA6)
  2. Find CDS replacements — Use the mapping tables above or browse the Extractor Map on CDSee
  3. Test extraction — In BW/4HANA, create a DataSource from the CDS View and run a test extraction
  4. Delta validation — Verify that delta extraction captures all changes correctly
  5. Cutover — Switch from classic extractors to CDS DataSources in production

Related Resources