Dear all,
I have a problem with BAPI 'BAPI_ALM_ORDER_MAINTAIN'.
When I add and delete operations several times in an order using this BAPI, cost determination works incorrectly:
in transaction IW32 Plan costs sum on 'Costs' tab becomes wrong. But if I look at the detailed report (Rep. Plan/Act button on the same tab), the total plan costs sum is correct.
What I have tried so far:
1. adding method 'CALCULATE' for the header (within the same call and within a call in separate transaction)
2. changing the order in IW32 and saving it
3. 'Calculate costs' button in the same transaction
3. clearing buffers using FM 'CO_ZF_DATA_RESET_COMPLETE' before calling the BAPI,
but without luck.
Any help will be much appreciated!
Andrey