You need to create error message if user create delivery PO STO and entered delivery quantity more than quantity in PO STO using VL10D SAP Transaction.

The solution is you need to implement BAdI LE_SHP_DELIVERY_PROC in your SAP System. and write your code into DELIVERY_FINAL_CHECK method.

For example, We need to check only for Delivery type Z4LN and the delivery quantity was entered is not more than Open Qty  ( PO Qty – Total Delivery Qty ).

Incoming search terms: