Skip to Content
0

BAPI_PO_CHANGE condition problem

Jun 21, 2017 at 12:27 PM

55

avatar image
Former Member

We have an adjustment process and we've created a new condition named ZREA. The idea of this condition is to adjust the Contract and PO items values. For contract condition change i'm using BAPI_CONTRACT_CHANGE and for PO i'm using BAPI_PO_CHANGE.

The process works fine, but the problem happens when i try to do the same thing with an item which has the field "Condition price unit" (KPEIN) filled with 1000.

The contract adjustment goes successfully by BAPI_CONTRACT_CHANGE, but when i do the PO change using BAPI_PO_CHANGE the error message 06 042 occurs "Target value of contract 4600001350 exceeded by 70.004,83 BRL".

If we use the "Condition price unit" filled with 1, the problem doesn't happen. I've tried to fill "Condition price unit" of parameters POCOND and POITEM with 1000, but it didn't work also.

Can someone help me with this issue?

contract.png (58.3 kB)
po.png (94.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers