SAP Message RE165 - Open amount for document &1 &2 exceeded in line &3 by &4 %

Diagnosis
The funds already used, added to those you are now requesting in lineV3 would exceed the available amount in the referencedearmarked funds &V1& &V2& by &V4& %.

Procedure
Increase the amount in the referenced earmarked funds or remove thereference.