Skip to Content
Former Member
Nov 09, 2006 at 03:58 PM

Suppressing re-pricing


Hi everyone

We have program that identifies existing sales orders that we need to re-price due to a change in the customer's status. The sales orders consist of some standard items that have a priced associated with their material but they also have some items that do not. When this second group of items are added to the sales order during creation they are assigned a pricing condition type of VA00 to which a variable value is assigned at creation. I hope that makes sense!

The problem we are having is that when the batch job runs it is set to trigger the 'New pricing document' function. This works exactly as required for the items with an associated price but the VA00 condition seems to get removed during this. Is there anyway that I can prevent the VA00 conditions from being deleted?

I have tried USEREXIT_NEW_PRICING_VBAP and USEREXIT_NEW_PRICING_VBKD and set the 'new_pricing' flag to both A and C but it doesn't seem to have worked - the VA00 condition seems to have been deleted before it gets to this point.

Kind regards