There are lot of validations that SAP runs for QMAT (Material inspection setup). Rather than replication/duplicating them in MDM, consider following options:
We should get a wrapper to FM CMD_MATERIAL_QMAT_CHECK to run validations rather than converting bunch of validations in MDM. OR
Add a "Test" flag to existing BAPI /BS4/BAPI_INSPEC_SETUP_MAINT and modify it to not post/save/commit if test flag is set.