SAP Message 61640 - The order type does not exist

Diagnosis
This exception condition may have occurred for the following reasons:
- The order type was not set in the transfer structure.
- The order type is not defined in table 0030.
- The order type does not match the order category specified.