SAP Message UCMI038 - Doc.type &1: Document field "&2" may not be hidden

Diagnosis
In document type customizing on the Document Field Options tab,you can opt to have document fields hidden. If you do this, note thatthe document fields with the Required Entry or Optional Entryoption may not be hidden.
However, the document field "&V2&" in document type &V1& is hidden eventhough Required Entry or Optional Entry is selected.

System Response
Processing is terminated.

Procedure
Either do not hide document field "&V2&" in document type &V1&, orselect a different entry option.