SAP Message AC335 - Document type & not allowed here (Use F4 to see document types allowed)

Diagnosis
According to the specifications for document type &V1&, you cannot postto type 'A' or type 'S' accounts. This document type cannot be usedhere.

Procedure
Use the entry help to display the list of document types allowed.Choose an appropriate document type.