Update contract price

Question: Hi all.

I have an SD contract with some additional user fields. The pricing of the contract is dependant on what the user puts in these fields.

However, the price does not get updated when the user changes the value in the field. In order for the price to be updated, the user must make a change in one of the SAP standard fields, such as end date. The price updates fine then.

My question is this: is it possible to force the contract to update its price automatically? Is there a function or something I can put in the user-exit to update the price?

TIA

Answer:
Hi

MV45AFZB...USEREXIT_NEW_PRICING_VBAP or USEREXIT_NEW_PRICING_VBKD

Frank

Answer:
Those are both user exits that are called during the pricing update.

What I want to do is actually force the document to update its price.
It is done automatically on the SAP standard screens, but not on my user screen.

Answer:
Frank is correct. These userexits are evaluated when a field value has changed and then will trigger SAP to perform new pricing based on your own rules.

No comments:

topics