Solution : https://service.sap.com/sap/support/notes/139552 (SAP Service marketplace login required)
Key words : 
solution mark table parameter i_periods, fi-sl direct posting, additional key words gb01, transaction gb01/gb11, shortened fiscal year, function module g_periods_of_year_get, error message gi555, program error, special period, special periods
Related Notes : 
       
| 672255 | Shortened fiscal year/changing fiscal periods |