on 02-17-2010 3:11 PM
Hello friends of MM,
I have a strange situation.. There is an inforecord in the system, correct validity, correct PB00 condition, the price is taken in the PO. (even there is a PO created with different price, updated the price history of the PIR). So far so good.
If I split the validity and set for the current validity a deletion indicator for PB00 condition (the only existing condition), the price is still adopted, without any messages, into PO price!!!
If I mark for deletion PB00 for all the rest periods, the PIR price is still adopted in the PO!!!!
Only after mark for deletion the PIR on Purch.org. level, things come to their place.
All my efforts are just to try to set the system not to adopt the price from the last PO, if there is no current valid PIR price.....
see most of the times system will take the price from INFO RECORD from the order history that is from the last purchasing document.
so even if you have marked the PB00 for deletion then still system can take the price from Last purchasing document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
from OSS Note 456691 - FAQ: Price determination in purchasing:
If you generally do not want the system to transfer the conditions from the last PO, you can use the user parameter EVO to deactivate this (also see Note 675523).
Use the user parameter EVO to indicate that no price adoption from last Purchase Order must take place:
IMG: MM -> Purchasing -> Environment data -> Default values for Buyers
-> Setting for Default values.
Select or setup a default value and on the "price adoption" tab you may choose how copying of conditions from last purchase order must behave. Select "Do not copy".
Then assign this default value to the user, using the EVO parameter.
@ Sap: IN:
This is in fact what I described in the post - only if I mark it for deletion on purch.org level, the price is not copied from PIR in PO.... This I agree, but how come that a deleted PB00 is still considered as valid price? (when I mark it for deletion I don't see it even as available period in the PIR!)
@ Jürgen L.:
Thank you for the user parameter - I am aware of it, but I believe we speak here about 2 different problems.
1. InfoUpdate ticked/unticked - this will control if the price of the PO is stored in the PIR price history
2. Even if I have InfoUpdate enabled, I want to disable the functionality of copying the price of the last PO in the new PO, if there are no current price conditions in the PIR. I believed by setting message 06219 "Net price for item & adopted from last document" to E, this will solve my worries, but I discovered that still the price is adopted from the PIR, although it is not anymore valid and I even don't get this message......
But I see in the SAP note that there is BADI that can be used! Thanks for that!
Edited by: Ognian R. on Feb 17, 2010 4:54 PM
i have replicated the same scenerio in my system and its not fetching the pirce from info record now as its deleted
but its fetching the price from the Last purchasing document
I need one more piece of information from you
can you please check one more thing select the condition type PB00 and click on the analysis button and see for where it is fetching the price ................if its still info record then please check the status of this condition record at table level ....may be the deletion is not getting updated there ....do let me know once you do that
By saying table i mean to say the data dictonary table EINA or EINE or KNOV i dont know which once is correct for the condition of info record but can you please check if there the condition is getting marked as deleted as well
and if there also it is showing as marked for deletion then either take the help of ABAP or raise an SAP OSS message
Thanks, Sap: IN!
It turns out that it is just a misunderstanding! While I was testing, a colleague of mine has created a PO with the same material and so the last PO price was not the one I was expecting - the system is taking the last PO price correctly, although referring in the condition table to the current conditions form the PO (which were marked for deletion).... A coincidence, which took several hours of my life
Going to my task - to forbid price adoption from last PO - I set message 06219 "Net price for item & adopted from last document" to be error, but:
1) It turns out it is displayed only in case I put manually a price in the PO, different form the last PO price and the system overwrites it; it is not displayed when system adopts the price, without any manual entry before that
2) Even I set the message category to Error, I still get it Warning, although in F4 help it is written that this is settable and not hardcoded....
Any ideas?
06 219 is a hard coded information message, it cannot be turned into an error message. Even the wording itself tells already that it is just information. There is nothing what a user could correct itself in the PO to avoid this message.
2. Even if I have InfoUpdate enabled, I want to disable the functionality of copying the price of the last PO in the new PO, if there are no current price conditions in the PIR.
I dont see a problem of getting both.
in the customizing in IMG: MM -> Purchasing -> Environment data -> Default values for Buyers
-> Setting for Default values.
The update is controlled in the first tab that is called Indicators, the price adoption is in 6th tab which has the name "price adoption".
Yes, it seems so - it is coded, but strange in help info about it is said the status can be switched to error. I guess it is just a standard text adopted there.....
OK, in this case it seems EVO parameter and \BAPI_PO_CREATE1 are the only 2 feasible ways to overcome price adoption from last PO.....
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.