Up to SAP calculation with main parts working