SAP Message RMSRCP307 - Unable to perform document assignment for change status &1 &2

Diagnosis
This error occurs when API structures are converted to BAPI structuresbefore the data is transferred to the IDoc for distribution.

System Response
The document assignment stored in the transfer structure must beassigned to a change status. This assignment cannot be made.

Procedure
Check the key information in the API structure of the documentassignment. This key information must refer to a change status in theAPI structure for change statuses.