Look at the described prerequisites in Controlling the Availability Check in Sales and Di - Availability Check and Requirements in Sales and Distribution Pr - …
It looks like you missed some important setup in SD customizing, hence no requirement type was found and because of that SAP tries to find it via the MRP type