Pages

Wednesday, 7 December 2011

Only get Delta Once


This blog describes the Data Transfer Process (DTP) feature "Only get delta Once" based on a Scenario and in a Step by Step format.
Scenario:
2 Requests are transferred from a Flat File to the DataSource (PSA) and then to an InfoCube separately. After the second data load, the overlapping first Request loaded with the same selection criteria is removed from the InfoCube automatically. This is necessary, for example, if the source delivers the last status of the key figures only, like a SnapShot of the Source Data.
Tip:
It is recommended to configure the DTP with upload mode “Delta”. The deletion of the PSA data is necessary before each data load, if a “Full” DTP is used. A Full DTP extracts all Requests from the PSA regardless if the data has been already loaded or not. This means the Delta upload via a DTP from the DataSource (PSA) in the InfoCube is necessary, even if the data is loaded via a Full upload from the Source to the DataSource (PSA) by using an InfoPackage.
Additional information can be found in the documentation.
Configuration:
  1. “Delta InfoPackage”
    image Picture 1
  2. “DTP definition”- The 'Only Get Delta Once' flag is set.
    image Picture 2
  3. “Process Chain” The Process Chain is created including the process types: (1) Start (2) Execute InfoPackage (3) Delta Data Transfer Process (4) Delete Overlapping Requests from InfoCube
    image Picture 3
    Maintenance of the variant for the Process type “Delete Overlapping Requests image Picture 4Choose “Deletion Selections” image Picture 5Choose “Delete Existing Requests” … The selections are “Same or More Comprehensive” in this example. image Picture 6
  4. “Dataflow”
    image Picture 7
Step by Step:
  1. Initially, the InfoCube is empty.
    image Picture 8
  2. Execute the Process Chain The data is loaded into the PSA and then to the InfoCube Contents of PSA:
    image Picture 9
    Contents of InfoCube: image Picture 10
  3. Execute the Process Chain the second time. The data is loaded into the PSA and then to the InfoCube
    image Picture 11
Result: The old request data has been deleted from the InfoCube and only the new data has been inserted Contents of InfoCube after the data load: image Picture 12

No comments:

Post a Comment