Solution : https://service.sap.com/sap/support/notes/569828 (SAP Service marketplace login required)
Key words :
attached source code corrections, weekly period split, fiscal year variant, planning perdiod units, planning data, planning table, planning type, info structure, key figures, posting periods