SAP Message BP328 - The total values in reference document & are not permitted

Diagnosis
Reference document &V1& contains overall values, but the profile doesnot permit overall values.

System Response
Processing stopped.

Procedure
Create the document without references or choose a valid referencedocument.