Symptom
While cancelling a material document via transaction MIGO, following DUMP occurs:
| Category | ABAP programming error |
| Runtime Errors | MESSAGE_TYPE_X |
| ABAP Program | SAPLMBWL |
| Application Component | MM-IM |
The DUMP details contain the information below:
...
Error analysis
Short text of the error message:
You are not authorized to change the material sample
Long text of the error message:
Technical information about the message:
Message class....... Q0
Number.............. 526
...
Instead of the DUMP, user expects the error message to be displayed on the UI:
Q0526 - You are not authorized to change the material sample.
Read more...
Environment
- SAP S/4HANA, on-premise: as of 1809
Product
Keywords
QM-IM, MM-IM-GF-MB, QM-PT_BD, MM-IM, A03, R02, Materialbeleg, reverse, delete, LMBWLU21, SAPLMBWL, MB_POST_GOODS_MOVEMENT, MB_CREATE_GOODS_MOVEMENT, IF_QM_AUTHORIZATION_CHECK~CHECK_Q_MATSMPL, iv_qmatauth, CL_QM_AUTHORIZATION_CHECK, iv_auth_object, gc_auth_obj, lv_exp_auth_subrc = me->_do_test_injection_q_matsmpl( iv_auth_subrc = iv_auth_subrc ), lv_exp_auth_subrc, iv_actvt, if_qm_authorization_check=>sc_matsmpl-change, e526(q0), iv_plant, Material Sample, QPR, SU24, PFCG, SU01, Q_MATSMPL, MIGO, Goods Receipt , KBA , QM-IM , Quality Inspection , MM-IM-GF-MB , MB_CREATE_GOODS_MOVEMENT , QM-PT-BD , Basic Data , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview