This data source is taken as an example of how to extract changes to a table field. In this example, the changes (CDHDR-CHANGE_IND=U) of the field in the VBAP table (CDPOS-TABNAME=VBAP) in the data source are extracted, containing the net value of the order item in the document currency (CDPOS-FNAME=NETPR).
Subsequently, various values from other tables (e.g., VBAP and VBAK) are extracted in addition to the change documents determined.
The data source mainly serves as a template for custom data sources, for which data is to be determined based on change documents.
Data extraction
All entries that are included in the VBAP table (CDPOS-TABNAME), contain an update of the net value (CDPOS-FNAME is equal to NETPR, CDPOS-CHNGIND is equal to U), and whose creation time (CDHDR-UDATE, CDHDR-UTIME) lies within the extraction period are extracted from the CDPOS table.
A source system event is generated for each extracted change.
Data import
One process fragment is imported for each source system event.