Marking reference field as mandatory when posting a document
(Customer invoice, Vendor invoice, Customer Credit Memo and others)
This document details the procedure in marking the reference field as mandatory while posting a document like Customer invoice, Vendor invoice, Customer Credit Memo and others.
Go to transaction OBF4
Click on the document type you require. For this demo, let us consider the document type DG (Customer credit memo). Select the document and click on Details.
Following screen appears:
From the above screen shot (the one highlighted), there is an option to mark whether the reference number should be made mandatory or not. Check the check box adjacent to "Reference number".
Now let us try to post a document (Customer credit memo) using the transaction FB01.

Without entering the Reference number, enter the other mandatory information and press ENTER.
Following message would appear:
