SAP Message RSM2716 - Record &1, segment &2 is not in the cross-record table

Diagnosis
You created new data records in a routine of the transformation. They donot have a data record number. An error occurred in one of these datarecords. Since this record does not have a data record number, it cannotbe handled by error processing.
You cannot process the error on single-record basis since this sorts outthe corresponding original data records and provides a correction.

System Response
The processing of the data package is terminated.

Procedure
Copy the data record number (field RECORD) from the original data recordinto the new data record.

Example
DATA: result_fields TYPE _ty_s_tg_1.
LOOP AT result_package INTO result_fields WHERE accounttype = 'I'.

result_fields-accounttype = 'E'.
APPEND result_fields TO result_package.
ENDLOOP.
Result
Each data record of the original package exists twice, once withaccounttype = 'I', and once with accounttype = 'E'. Thenew data records have the same record numbers as the original datarecords.

1285139Error - RSM 2716 while updating Master Data using a DTP
1168176Monitor: Message in end routine assigned to incorrect record