Solution : https://service.sap.com/sap/support/notes/1589384 (SAP Service marketplace login required)
Key words : 
fiscal year variant, shortened fiscal year, relevant support package, error message gu506, program error, faglcorc transaction, posting period, company code, solution import, attached correction
Related Notes : 
       
| 672255 | Shortened fiscal year/changing fiscal periods |