$ 0 0 You will get the reversal document number in on the field 'STBLG - Reversed by' in table RBKP.Put the reverse document number in the field and take the original document number from field BELNR in RBKP table.