SAP Message BOM101 - Sales order requires BOM category "K" ("order BOM")

Diagnosis
You have entered both a sales order and the BOM category M("Material BOM") as selection criteria. A bill of material for a salesorder is, however, always an order BOM with category K.

System Response
The system changes the entry in the BOM category field fromM
to K.

Procedure
Use BOM category K, that was proposed by the system as aselection criterion, or delete the sales order number.