Solution : https://service.sap.com/sap/support/notes/1007458 (SAP Service marketplace login required)
Key words : 
incorrect company code belong, shortened fiscal years, shortened fiscal year, attached advance corrections, error message ac 518, -production depreciation reason, program error, -production method, system rejects, terms ao25
Related Notes : 
       
| 672255 | Shortened fiscal year/changing fiscal periods |