Message SAP XC151 - Purchasing document type cannot be determined for purchase requisition

Diagnosis
The system cannot determine a purchasing document type for the purchaserequisition.

System Response
The system could not create the purchase requisition in the OLTPsystem.

Procedure
In the Customizing for purchasing, maintain a corresponding purchasingdocument type.
If you have defined several purchasing document types for purchaserequisitions, you must also define a default document type for thetransaction ME51. Maintain this in Customizing for purchasingunder Define Default Values for Document Type.

Note
You can change the default purchasing document type before the creationof a purchase requisition in the OLTP system by using the user exit'EXIT_SAPLMEPI_003'.