Solution : https://service.sap.com/sap/support/notes/984297 (SAP Service marketplace login required)
Key words : 
error logging- handling temporary time bucket profiles, - handling persistent aggregates- converting data structures, time series- handling updated objects, - correct error handling, demand planning data, terms perform_too_many_parameters reason, release upgrade solution, source release scm 4, /sapapo/om_upgr_mark program, note corrects errors
Related Notes : 
       
| 994518 | Problems implementing upgrade notes | 
| 932837 | /SAPAPO/OM_LC_UPGRADE_50: Problems during upgrade | 
| 869651 | Prerequisites for upgrading to SCM 5.0 |