SAP Message RMSRCP305 - Unit of measurement for lot size is missing in change status &1 &2

Diagnosis
The unit of measurement of the lot size for a change status mustcontain a valid value. In the change status being processed, the entryfor the unit of measurement is missing.

Procedure
The error occurs while converting the API structures into BAPIstructures before the data is transferred to the IDoc for distribution.
Check the data entered for the unit of measurement of the lot size inthe API structure for change statuses.