Skip to Content

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)?

VPRS_red.jpg

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

Future_Price.jpg

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”:

MM02.jpg

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.

To report this post you need to login first.

7 Comments

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

  1. ' MoazzaM '

    Hi

    Thank you for sharing this document.

    This is one reason. What other reasons are there which can cause the wrong VPRS or no VPRS price in sale order. Are there any other causes??

    Thank$

    (0) 
    1. Amit Tunara

      Hi,

      There could be 1 more reason for VPRS not populated. And is the Condition category.

      VPRS is a condition of category G. If in your pricing if there any other condition type of the same category, I have observed that VPRS will not calculated and the same was not being clear in the Analysis or message. So in our pricing there should be only 1 condition type VPRS with condition category G.

      Regards,

      Amit

      (0) 

Leave a Reply