Question: how mbew table get updated?
Answer: MBEWH table is updated whenever there is change in Moving Average Price. ... As MBEW is supposed to contain current values, when it has to be changed (like when updating material current price, etc.), the current value gets written to MBEWH and the new value gets written to MBEW.