SAP Message WVMI209 - Order type not found

Diagnosis
A purchase order is to be created in IDoc inbound processing. Thedocument type used is the default type for the transaction for creatinga purchase order (ME21). The system was unable to find this.

System Response
IDoc inbound processing was terminated.

Procedure
In Customizing for the transaction, assign adocument type.