Beruflich Dokumente
Kultur Dokumente
Timestamp-Based CDC
Added by Brandon Jacobson, last edited by Brandon Jacobson on Feb 29, 2012
If youre using an RDBMS other than Microsoft SQL Server or Oracle (version prior to 9i) for your SAP Business Suite system, you can consider using timestamp based CDC. Please have a look at the
Using CDC w ith timestamp-based sources section of the SAP BusinessObjects Data Services Designer Guide for guidelines as to w hen and w hen not to use this method as w ell as step by step detailed
instructions on how to implement this method.
As you w ill see in the designer guide, there are many possible implementations of a timestamp-based CDC solution depending on w hat types of timestamps are available in the source tables.
Here are the steps to perform a simple extraction from tables that contain create and update timestamp columns.
8. Create a script that reads a field from a status table containing a timestamp of w hen the job w as last executed.
9. Create a Dataflow to extract new records and connect it to the first script.
10. Create a Dataflow to extract updated records and connect it to the first Dataflow
11. Create a script that updates the status table and connect it to the second Dataflow .
14. Add a Query transform to the Dataflow and connect it to the source table.
15. Add a Map_CDC_Operation transform to the Dataflow and connect it to the Query transform.
18. Map any columns from the source table(s) you w ant to extract.
http://wiki.scn.sap.com/wiki/display/EIM/Timestamp-Based+CDC 1/3
1/10/2014 Timestamp-Based CDC - Enterprise Information Management - SCN Wiki
source_table.create_timestamp.
23. Open the Map_CDC_Operation transform and configure the CDC columns.
26. Add a Query transform to the Dataflow and connect it to the source table.
27. Add a Map_CDC_Operation transform to the Dataflow and connect it to the Query transform.
30. Map any columns from the source table(s) you w ant to extract.
source_table.update_timestamp.
35. Open the Map_CDC_Operation transform and configure the CDC columns.
http://wiki.scn.sap.com/wiki/display/EIM/Timestamp-Based+CDC 2/3
1/10/2014 Timestamp-Based CDC - Enterprise Information Management - SCN Wiki
If changes can be made to the source data w hile the job is running, there is a possibility for some changes to be missed. Please have a look at section 20.5.2 Overlaps of the Data Services
Designer Guide for possible solutions to this problem.
No labels
http://wiki.scn.sap.com/wiki/display/EIM/Timestamp-Based+CDC 3/3