Example: Model Writer Type "Insert"
Data is inserted or aggregated with already existing data in the Output Model BW.
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
| Customer | Product | Quantity | Amount |
|---|---|---|---|
| CN001 | PROD01 | 61 | 611 |
| CN002 | PROD02 | 122 | 1222 |
| CN002 | PROD03 | 200 | 2000 |
| CN003 | PROD01 | 250 | 2500 |
| CN003 | PROD02 | 33 | 333 |
| CN004 | PROD05 | 55 | 555 |