Solution : https://service.sap.com/sap/support/notes/1225535 (SAP Service marketplace login required)
Summary :
When using BAPI_PO_CHANGE to update pricing (calculation type B) for multiple items in a purchase order, the system should prevent updates if there are posted goods receipts or invoices against them. However, users are able to update pricing, conflicting with the expected error message V1 227 in the online transaction ME22N, which ideally blocks such changes. The issue is due to a program error, and SAP advises implementing the attached correction to resolve this discrepancy.
Key words :
existing purchase order, prerequisites program error, setting poitem-calctype, invoice receipts posted, poitem calctype, goods receipts, error v1 227 ', invoice receipt, calculation type, multiple items
Related Notes :
758884 | BAPI_PO_CREATE1: Funds reservation and technical fields |
552189 | BAPI_PO_CREATE1: Technical fields available |