Solution : https://service.sap.com/sap/support/notes/322274 (SAP Service marketplace login required)
Key words : 
additional key words jva, cleared open items, fields bseg-xref1, bseg-xref2, filled correctly, work properly, prerequisites solution, program change
Related Notes : 
       
| 360646 | XREF1, XREF2 incorrectly filled for clearing | 
| 169124 | BSEG-XREF1/2 filled in clearing w/o open items |