SAP Knowledge Base Article - Preview

3733062 - Error QS397 is returned by BAPI_MATINSPCTRL_SAVEREPLICA for inspection type with origin 17

Symptom

An inspection type with origin 17 (for example: 1704) is attempted to be added to inspection setup of Material Master using BAPI_MATINSPCTRL_SAVEREPLICA.

But below error is returned in table RETURN of the BAPI:

"Field Control of Inspection Lot Creation (Lot Summary) (CONTR_INSP_LOT_CREATE) not supported for inspection type. Leave the field empty"

(message QS397)

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP S/4HANA from 2022 onwards

Product

SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA all versions

Keywords

QM-PT-BD, BAPI_MATINSPCTRL_SAVEREPLICA, QS397, QS 397, lot summary, EWM, inspection type, Material Master, QM, 17, 1701, 1704, CHG, CHG_ORIG_17, Prüfart, Materialstamm, Loszusammenfassung , KBA , 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.