SAP Message B1527 - An error has occurred assigning data (&)

Diagnosis
To call a BAPI the IDoc data must first be assigned to the relevantBAPI interface parameters.
An error has occured when carrying out this operation, possibly due toan incorrect data type or data format in the segment &v1&.

Procedure
Check that the data types in the IDoc data record matches the datatypes in the BAPI parameter.