Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PO_CHANGE condition problem

Former Member
0 Likes
758

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?

0 REPLIES 0