Document reference = document number
We want to have the document reference to be equal to the document's number.
I made a new substitution rule via OBBH which replaces BKPF-XBLNR by BKPF-BELNR but unfortunately it doesn't work. Probably because the document number is only known after saving the document.
Someone any clue to get this replacing done?