SAP Knowledge Base Article - Preview

2736882 - BAPI BAPI_MATINSPCTRL_SAVEREPLICA does not create inspection type - error QS345


  • When using BAPI BAPI_MATINSPCTRL_SAVEREPLICA some inspection types are not created for the material (table QMAT).
  • Error QS345 - 'Define 100% inspection, inspection percentage or sampling procedure' is raised when BAPI BAPI_MATINSPCTRL_SAVEREPLICA is executed.



  • SAP ERP Quality Management (QM)
  • SAP R/3
  • SAP R/3 Enterprise
  • SAP ERP Central Component
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA, on-premise


SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions


QM-PT-BD-MM, TQ34, BAPI_MATINSPCTRL_SAVEREPLICA, RETURN, INSPTYPE, CHECK_HPZ_SPROZ_STICH, SAPLQAALE, LQAALEF01, QAALE_DISTRIBUTE_QMAT_POST, LQAALEU01, LQAALEU07, 100%, percent rate, sample, method, pi_qmattab_hpz, qmat-hpz, pi_qmattab_sproz, qmat-sproz, pi_qmattab_stichprver, qmat-stichprver, pe_return_param-type, pe_return_param-id, pe_return_param-number, pe_return_param-row, pe_return_param-field, pe_return_param-message_v1, QAALE_FILL_BAPIRETURN, Stichprobenverfahren, Prüfprozentsatz, 100%-Prüfung, Prüfart, anlegen, fehlt, missing , KBA , QM-PT-BD-MM , Quality Related Material Master Settings , 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.