Solution : https://service.sap.com/sap/support/notes/314305 (SAP Service marketplace login required)
Key words : 
prerequisites source code error, attached source code correction, additional key words cor1, type 40 order type, additional receiver, order type, process order, settlement profile, made settings, settlement rule
Related Notes : 
       
| 313716 | COR1, CO01: Entering the settlement rule | 
| 306537 | Material ledger and posting rule in order |