SAP Knowledge Base Article - Public

3559682 - Error during stock posting for inspection lot using API_INSPECTIONLOT_SRV/A_InspLotMatlDocItem

Symptom

An error message QM_API_ODATA_MSG/006 "A newer version of inspection lot ********** than specified in field ChangedDateTime exists" is encountered when using API_INSPECTIONLOT_SRV to post material document to an inspection lot.

Environment

S/4HANA Cloud Public Edition

Cause

The ChangedDateTime property (ETag) in the payload is outdated.

Resolution

Use the GET method of A_InspectionLot entity to read the latest ChangedDateTime and update the payload accordingly.

Keywords

API_INSPECTIONLOT_SRV, stock posting, inspection lot, ChangedDateTime, outdated, A_InspectionLot, ETag, QM_API_ODATA_MSG/006, A_InspLotMatlDocItem , KBA , QM-IM-2CL , Quality Inspection (Public Cloud) , QM-IM-UD-2CL , Inspection Lot Completion (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions