I have a really strange problem. I am using the MRM functions from a customer class in order to update parked MM Invoices, on SAP ERP CC 5.0, ABAP release 640.
-I am using the function module MRM_INVOICE_READ to read the invoice data.
-I update the quantity or amount and change the parked invoice with FM MRM_INVOICE_PREPARE_AND_POST.
This routine is in production for almost two years and worked OK, but lately I have some errors in the updated MM invoices. After updating the document the records from table RBCO are deleted (records related to the updated invoice). Everithing else is OK, the amounts are updated correctly but the account assignment is deleted.
This happents from time to time and I am not able to simulate in the test system.
Does anyone knows what is the problem?
Thank you in advance.