cancel
Showing results for 
Search instead for 
Did you mean: 

PO and PIR price, Infoupdate, deletion indicator......

Former Member
0 Kudos

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.....

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

This is nice, but my last PO is with a different price! And even it was taking the price from the last PO, how can I overcome it?

Former Member
0 Kudos

can you please check one thing that flag this info record for deletion and then try to create a PO and now check if it still takes the price from the info record or not

JL23
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

@ 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!)

Former Member
0 Kudos

well thats little strange ........

can you please do one thing.............change the price in the condition type PB00 and then mark it for deletion and then see if its still coming in the new po creation

Former Member
0 Kudos

@ 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

Former Member
0 Kudos

I changed the price in the PIR, PB00 is marked for deletion, but the price is copied (the new one).....

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Sap: IN,

I did it - It refers to the inforecord, Access 25 Message 208 Condition record has been found. Strange is that in the details of the access (one level down in the hierarchy of the procedure) there is line called Deleted! Clicking on it I display the PIR conditions

Former Member
0 Kudos

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

Former Member
0 Kudos

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?

JL23
Active Contributor
0 Kudos

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".

Former Member
0 Kudos

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.....

Former Member
0 Kudos

Thanks Jurgen! It was my problem also.

Regards,

Maria