Solution : https://service.sap.com/sap/support/notes/146552 (SAP Service marketplace login required)
Key words : 
internal error - table iddbi - entry 999999999999990002, additional key words, program error, transaction cu5x, configurable materials, termination cx701, 'corrections' section, prerequisites, precondition, implementation
Related Notes : 
       
| 175028 | Order BOM - not configurable - CU51E | 
| 132778 | CU51:Not configurable material dump "SET_CLASSTYPE" |