Example: Model Writer Type "Delete and Insert"

The existing data is not physically deleted from the Model BW. Instead, all key figure values of the existing data are either converted to the value “0” or zeroed out by inserting records with negative values for the key figures. New data is then appended or aggregated to the existing data.

All the data below is shown as it is displayed on the Analyze tab of the Model BW.

In the output function used for illustration here, the Model BW source is “Environment”.

Input Function

Customer Product Quantity Amount
CN001 PROD01 50 500
CN002 PROD02 100 1000
CN002 PROD03 200 2000
CN003 PROD01 250 2500

Output Function

Before Run

Customer Product Quantity Amount
CN001 PROD01 11 111
CN002 PROD02 22 222
CN003 PROD02 33 333
CN004 PROD05 55 555

After Run – Without Process Selection

Customer Product Quantity Amount
CN001 PROD01 50 500
CN002 PROD02 100 1000
CN002 PROD03 200 2000
CN003 PROD01 250 2500

After Run – With Process Selection

When the same function is executed with process selection (for example, “Product EQ PROD01, PROD03”), the system first deletes only the data for PROD01 and PROD03 based on your selection, and then adds new data for PROD01 and PROD03. The following table shows the run results with the selection condition “Product = PROD01, PROD03”.

Customer Product Quantity Amount
CN001 PROD01 50 500
CN002 PROD02 22 222
CN002 PROD03 200 2000
CN003 PROD01 250 2500
CN003 PROD02 33 333