SAP Message /EACA/BTA_GL015 - Business transaction type & not allowed in G/L account posting

Diagnosis
You are making a G/L account posting with document type &V2&. Thisdocument type has business transaction category &V1& assigned to it.However, only business transaction category &V3& is allowed for G/Laccount posting.

Procedure
Use a document type with business transaction category &V3&.