SAP Functional, Basis and ABAP Programming Reference Books
To avoid transfer posting of the same vendor invoice

You can check "Flag for double invoices or credit memos" on Vendor master data. 

In FK02, Company code data -> Options Payment transactions.

Tick Check double invoice.
 

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com