Symptom
"Note: Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Different system behaviors are observed when attempting to delete a Purchase Order item by setting its quantity to zero:
- In ME22N it is possible to set deletion indicator (EKPO-LOEKZ) and quantity (EKPO-MENGE) to 0 and save the PO.
- In BAPI_PO_CHANGE when trying to do this in the same PO line, PO cannot be saved due to error MEPO043 - "Please enter an order quantity"
Read more...
Environment
- Materials Management (MM)
- SAP ERP Central Component
- SAP ERP
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA
Product
Keywords
MEPO043, 06076, ME22N, BAPI_PO_CHANGE, MENGE, LOEKZ, EKPO-MENGE, EKPO-LOEKZ, Purchase Order, PO item deletion, deletion indicator, order quantity zero, quantity = 0, Please enter an order quantity, Held PO, Held status, PO consistency check, BAPI validation, MM-PUR, SAP ERP, , KBA , MM-PUR-PO-BAPI , BAPIs - Purchase order , How To
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.
SAP Knowledge Base Article - Preview