See chapter MIS Create Data Tables (MISDAT) in GUIDE "IDL.KONSIS.FORECAST OLAP preparation and application".