Skip to Content
Former Member
Apr 16, 2010 at 06:08 PM

Error stock value: Automatically change MAP when initial stock


Dear experts,

We launched the production of N products including a material with an initial stock.

The start manufacturing date was at the month M-1.

The manufacturing end date was at the month M.

We are in month M and we update twice the MAP automatically using BAPI_MATVAL_PRICE_CHANGE and BAPI_TRANSACTION_COMMIT these N products. It was done succesfully.

For each product,

1. The first automatic update MAP was at the start manufacturing date X (Month M-1). (Reason: For updating MBEWH Table)

2. The second automatic update MAP was at the first day of month M. (Reason: For updating MBEW table)

However, the system has valued incorrectly (with the old MAP) the receipt PO (at the date X) of this product which had an initial stock.

The MAP of this product was after change in MM03 transaction.

No other goods movement has occurred.

We execute the same process with MR21 transaction. We haven't seen any problem.

The system values correctly the receipt PO with a New MAP.

Please, could you help me understand the reason for this anomaly?


Edited by: Ahmed MALK on Apr 16, 2010 8:20 PM