Solution : https://service.sap.com/sap/support/notes/522583 (SAP Service marketplace login required)
Summary :
This SAP Note details a problem where data loss is observed during transactions involving BAPI_PO_CREATE for purchasing or BAPI_GOODSMVT_CREATE for inventory management. The issue stems from the inappropriate triggering of INIT_EVENT_RAISE via REFRESH_TABLES, leading to the deletion of internally buffered tables. This occurs when REFRESH_TABLES is invoked without proper registration of the main transaction as "Master" using INIT_EVENT_MASTER_TUUID_GET. The provided correction limits the execution of INIT_EVENT_RAISE to specific circumstances, such as mode transitions in ME22N/ME23N, to prevent data loss.
Key words :
transaction inexplicable data losses occur, diverse internally buffered tables, note 455348 function module init_event_raise, transaction me22n/me23n, function module init_event_master_tuuid_get, restrictive requirements - basically, main transaction, inventory management, inspection lot, mb_post_goods_movement reason
Related Notes :
455348 | ME22N Change possible although account assignment locked |