Solution : https://service.sap.com/sap/support/notes/351738 (SAP Service marketplace login required)
Key words : 
additional key words md01, rough-cut scheduling horizon, rough-cut scheduling, maximum scheduling horizon, detailed scheduling horizon, scheduling horizon, capacity planning, program error, advance correction, note 189826
Related Notes : 
       
| 189826 | Plnning mode 1/sched.type 2: Orders not scheduled |