Skip to Content

Wrong VPRS in sales order – what could be the reason?

The VPRS – as a cost condition – is connected with some very special logic and functionality (the main consulting note is 372772). In the sales order the condition rate of VPRS is read from the valuation segment of the material master data.

What happened when in transaction VA01 the sales order is created, and on item level VPRS is in status red with zero value, (such as here in my example)?


To check the reason, some debugging is required. In the following source code the condition rate KBETR for VPRS is derived:


The reason for that is the presence of a future date – filled in field MBEW-ZKDAT. The pricing date (KOMK-PRSDT) is later than this date, therefore the rate XKOMV-KBETR is taken from MBEW-ZKPRS, which is in this example zero, leading to the inactivity of VPRS.

Where is this date coming from? In the material master data (transaction MM02) on the “Accounting 1” tab, a date is filled in this case in field “Valid from”:


But no future price is entered in the field on the left side. This “Valid from” field is exclusively connected to the future price only. So if there a date is filled, the system will take from this date on the value that is filled in “Future price” as the condition rate of VPRS and not the “Standard price” as expected with “Price control” set to “S”.

To avoid this problem either in the field “Valid from” no date should be filled, or if the function with the future price should be used, then a value in field “future price” will have to be maintained.

You must be Logged on to comment or reply to a post.