REEDMSETTLPROC_FINSETTL
Since the customer’s consumption is not yet known when settlement takes place (because measured values are missing, for example), estimated values are used instead. The purpose of determining overtake and undertake amounts is to balance out the energy that has been settled against the energy that customers have actually consumed.
Once settlement has taken place, you can use the provided template (workflow: WS20500187; report REEDMSETTLPROC_FINSETTL) to determine overtake and undertake amounts for the settlement period based on usage factors, which were updated during billing for grid usage.

If, at the time of settlement, all customer-specific consumption values already exist (for distribution of the remaining curve or aggregation of the synthetic profiles), it is assumed that the actual consumption of the non-interval customer for each supplier corresponds to the consumption that was determined for settlement. In other words, if current values (usage factors) already exist when settlement take place, the quantity of energy that has actually been consumed is exactly the same as the quantity of energy that has been settled.
Settlement procedure FINSETTL uses the same algorithm as the upstream settlement procedure to determine the current total load shape for each settlement unit. The report of the upstream settlement procedure must meet the following requirements.
· The profile and value parameters must be exported to the ABAP memory or returned to the workflow container.
· When you use the settlement procedure during the determination of overtake and undertake amounts, it is not possible to send settlement results, even during an active run.
· When you use the settlement procedure during the determination of overtake and undertake amounts, you can only set the status to OK or Started in the calling main workflow or report.
The difference between the actual consumption and the settled consumption for all points of delivery in the settlement unit is available as a result profile and can be billed.
The following steps are executed in report REEDMSETTLPROC_FINSETTL:
1. Set status of settlement run to Started
2. Generate settlement run instance
3. Check status of upstream settlement procedure (settlement unit CHECKSETTL)
4. Execute report of upstream settlement procedure (SUBMIT … AND RETURN)
5. IMPORT FROM MEMORY (Report of upstream settlement procedure must contain EXPORT TO MEMORY)
6. Difference creation: Total load shape for each settlement unit – Total load shape for each settlement unit from settlement (settlement step DIFFSU)
7. Set status of settlement run to Completed (OK)

The upstream settlement procedure must be completed before the overtake and undertake amounts can be determined. You can only execute an active overtake and undertake amount determination if the upstream settlement procedure has been actively settled.

The settlement results of the upstream settlement procedure are treated as input parameters (settled total load shape for each settlement unit) when determining the overtake and undertake amounts.