Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

An Analysis of the reasons why SAP MM ME21N made a mistake in creating PO Times-Net price in CNY becomes too large-

Shulou Source: shulou.com Published: 2022-06-02 22:40:39 10月03日 Update

An Analysis of the reasons why SAP MM ME21N made a mistake in creating PO Times-Net price in CNY becomes too large-

Yesterday, the author posted an article on the official account of Wechat entitled "SAP MM ME21N made a mistake in creating PO Times-Net price in CNY becomes too large -". The link address for the article is:

Https://mp.weixin.qq.com/s/5ldUk3CQbRukz8Ct0vYNTA

After the article was released, it attracted the attention of peers, and many enthusiastic children's shoes left messages on Wechat and official accounts, giving a lot of useful suggestions. The author would like to express my thanks to those who follow and leave messages.

In the peer's message, the issue of purchase price difference is mentioned, that is, the difference between the purchase order price and the cost price in the material master data is compared. This logic does exist in SAP, and there is also a configuration of relevant tolerances in the background configuration. This is a problem that I ignored or did not think of before.

Because the price in the material master data is infinitely small, it is 0.01CNY/99999 EA, while the price maintained in the purchase price master data is 165837.43 CNY/EA, this unit price itself does not exceed the maximum limit of CNY. When comparing the purchase price with the cost price, the system will multiply the purchase price by five 9s because the price unit of the cost price is 99999 (five 9s), and then calculate the difference between the two. Purchase price 165837.43 * 99999 = 16583577162.57. Counting the two decimal places, this amount exceeds the maximum limit of the CNY currency amount (9999999999999), so the system reports an error: net price CNY becomes too large.

2018-10-10 was written in Hangzhou.

Tags: Price purchase cost data Times maximum inter public difference article material author system amount problem configuration limitation reason analysis reason analysis Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi Shulou Tech Info Shulou Information Apple