Solution : https://service.sap.com/sap/support/notes/85287 (SAP Service marketplace login required)
Key words : 
short dump 'message_type_x' occurs, additional key words va01, attached source code corrections, product costing, sales order, implement note 77504, prerequisites
Related Notes : 
       
| 156586 | Error when multi-level KMATs are costed | 
| 77504 | Configuration changes in collective assembly order |