Dear Vadim,
Kindly find the attachment , which will show the various calculations engaged in the Input schedule
As discussed earlier, there are some exception where Export_Sale is zero when Costcenter is BC and hence the value of Energy Revenue - Export Sales will be Energy available for sale * Export Rate (value 11 * value 20)
In order to test the script you provided for Export_Sale, we have taken a single Costcenter group KHP.
All the scripts in Scripts Implemented column in excel sheet have been written separately and called in default.lgf.
Will appreciate your inputs.
Thanks and Regards,
SAP BPC