Solution : https://service.sap.com/sap/support/notes/180067 (SAP Service marketplace login required)
Key words : 
additional key words saplgvar, fiscal year variants, receive error message 538, program error, maintaining, prerequisites
Related Notes : 
       
| 672255 | Shortened fiscal year/changing fiscal periods |