Solution : https://service.sap.com/sap/support/notes/485382 (SAP Service marketplace login required)
Key words : 
remaining source code corrections, core support package, syntax error occurs, function group cos6, function module cos6_material_chk, terms actual parameter, implement related note 498041, attached corrections, install note 440857, formal parameter
Related Notes : 
       
| 498041 | Syntax error in the function group COS6 (part 2) | 
| 484689 | Syntax error in function group COS6 | 
| 440857 | Problems with batches for order items |