SAP Message AC731 - Doc.type &1 for dep.posting in co.code &2 should not be for batch input

Diagnosis
The document type you entered for depreciation posting is only allowedfor background processing posting runs. The depreciation posting runposts directly, and therefore requires a document type that is notlimited solely to background processing.

Procedure
Choose a different document type for posting depreciation, or change thedefinition of the document type.