cancel
Showing results for 
Search instead for 
Did you mean: 

PO avoid picking price from last PO or info record

oliver_am
Participant
0 Kudos

Hello,
I know this topic have been discussed thousands of times, but I'm not able to find a solution.

We have a program that creates a PO using BAPI_PO_CREATE1.
Some times the PO is created with a wrong price.

Bapi is returning these messages:
06219 Net price for item & adopted from last document
or
06045 Net price for item 00010 taken from conditions

We don't want this behavior, we need the PO pick the price passed to the BAPI.

Info records are not used in this project or the users do not want them to be used, rather (althoung info records are being created because the standard behavior of SAP...)

-----

I've tried deleting the info record, well marqued as deleted (we have not configurated the archiving...), and I also deleted the entries in tables EINE and EINA (I know I shoudnt do it, but is in QA system testing any possible solution...)

But is always picking the wrong price.

I've changed the price from the "last" PO created to other different price of the info record, and deleted the infor record (and tables) and its also taking the price from the info record... even I go to ME12 with the supplier, material and purch.org and it's saying that this info record doesnt exits... so from where is picking the price? I thing is from the conditions table of one of the last PO, although I've deleted EINE and EINA the konp table are related with ekko-knumv...

----
I've tried also other things, like the following although i think this is only for update the info records, not for picking the price from there...)

I've created a new value for buyers Z1 and leave in black the following fields:

And put in my user the EVO parameter with this Z1 value...

But nothing...

I've tried also passing field INFO_UPD in black in the BAPI.

Nothing...

----

If I go to the PO to the condition tab and use the button "Analysis" I can see the PB00 condition is being picked from an info record ! But which info record? I deleted the info record and tables eina and eine ! And the price doesn't mach with the price of the last PO. If I click in this info record I can see the price condition, but can not see from there the info record number...


Could you give a clue what I should do so the order is created with the price passed in the bapi?


Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

oliver_am
Participant
0 Kudos

Hello, thanks for answer.

I've done what you said.

OMET:



User parameters:


(EVO is from the other transaction OMFI)

But, nothing, the same happens...

BijayKumarBarik
Active Contributor
0 Kudos

Along with OMET you need to set up in OMFI also in Indicators TAB and Price Adoption TAB

oliver_am
Participant
0 Kudos

Hello,
I've already done it, as you can see in the images in the original post.
But stillo not working...

BijayKumarBarik
Active Contributor
0 Kudos

Deactivate purchase info record effect in Purchasing document creation. Refer for more Steps to deactivate PIR effect