Solution : https://service.sap.com/sap/support/notes/374801 (SAP Service marketplace login required)
Key words : 
attached source code corrections, apply overhead rates, terms overhead rates, shortened fiscal year, fiscal year, overhead calculation, special periods, special period, cj40 reason, program error
Related Notes : 
       
| 672255 | Shortened fiscal year/changing fiscal periods |