Skip to Content
avatar image
Former Member

BAPI_PO_CHANGE condition problem

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers