Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
In Part I, I have explained how to test  CDI API  in S/4 Hana Cloud whose target is data integration . In part II, I will explain how  to realize  initial data extraction and delta data extraction with background job in CPI with Iflow .

For initial data extraction, the data volumn is big especially for business objects like sales order ,purchase order etc . If the skipToken shown up in returned body nextLink field,that means the iflow need to continue reading data base on delta token and skipToken .  Otherwise the  iflow can stop reading data from S/4 Hana Cloud .

The following are the main screen shot for init data extraction iflow:


The following is the screen shot after the inflow run. This initial data extraction only run once for a subscription, but it will run untill there is no further data in initial data extraction base on skipToken .


For delta data extraction, the iflow need to read subscription first to get CurrentDeltaLink,  then do the delta data extraction by using CurrentDeltaLink . The following are screen shots for the delta data extraction iflow , it triggered by timer after deployment.

After this iflow deployed , it will do the delta  data extraction from S/4 Hana Cloud  with background job defined in Timer .


The End.

Best Regards!

Jacky Liu