SAP Knowledge Base Article - Preview

2877195 - Error AG004 during availability check


  • In MTO scenario, you're unable to create a delivery for an item or to check its availability in VA02, due to error message below:

Sales order item number not specified in requirement
Message no. AG004

A requirement with the special procurement indicator 'make-to-order production' has been transferred to the availability check. The requirement must, however, contain the number of the respective sales order item. This is not the case.

  • When run the availability check on the sales order, you receive message "AG004" and are unable to confirm the stock on the sales order.



  • Sales And Distribution (SD)
  • Logistics Execution (LE)
  • SAP ERP SD scheduling
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA


SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions


AG 004, VL150, VL 150, VL01n, VL10b, VL02n, MB52, STO, purchase requisition, Display Availability, MMBE , KBA , LE-SHP-GF-AC , Availability control Delivery , SD-SLS-SO , Sales Orders , SD-BF-AC , Availability Check , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.