Avoid deleting entries from the VBUV when the expected price of an item is not correct

What is the simplest method to avoid the deletion of entries from VBUV if there are items in VBAP with the field CEPOK = ‘B’ (Expected price not correct), even though the sales document has been fully processed (VBELN-GBSTK = ‘C’)?

Essentially, VBUV should regard the existence of items with the VBAP-CEPOK = ‘B’ field rather than the processing state of the sales document (VBUK-GBSTK), which seems to be what is happening.

The problem occurs when a picking IDoc comes in that does the following:
1) Carries out the picking in the shipment and records the goods issue;
2) Goes to the sales order to enter the reason for rejection.

Scroll to Top