In FI, Invoice document is generated with doc type RV. When invoice is done for a service order the system is copying the invoice number in reference field[bkpf-xblnr] of the RV document. However, when invoice is done for a delivery related order the system is copying the Purchase order number in reference field[bkpf-xblnr] of the RV document.
The requirement is that Reference field should always get updated with the invoice number.
How does Sap populate the reference field. Why and how is it picking up different values for different billing types?
Is there any config in spro where we can mention which field has to be picked up in reference field?
Is there any other oss note or exit in this regard?
Thanks & Regards
SAP Practice FI,CO