Symptom
Error 'Internal error: Routine COPY_MAA_DATA_FOR_CALC internal table IS_MSEG is inconsistent' when posting a Goods Receipt for a Purchase Order using Multiple Account Assignment in API.
Environment
- SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- You have created a Purchase Order with Multiple Account Assignment.
- API_MATERIAL_DOCUMENT_SRV.
- Post a Goods Receipt for this Purchase Order.
- Error : 'Internal error: Routine COPY_MAA_DATA_FOR_CALC internal table IS_MSEG is inconsistent'.
Cause
Missing Functionality, Multiple Account Assignment is not supported via Material Document API.
Resolution
Use 'Post Goods Movement' to post a Goods Receipt for the Purchase Order with Multiple Account Assignment.
Keywords
API_MATERIAL_DOCUMENT_SRV, API, Goods Receipt, GR, Purchase Order, PO, Multiple Account Assignment, MAA, Single, Account Assignment, Routine COPY_MAA_DATA_FOR_CALC internal table IS_MSEG is inconsistent, , KBA , MM-IM-GR , Goods Receipt , MM-IM-GR-2CL , Goods Receipt (Public Cloud) , Problem