SAP Message >W056 - No internal main transaction exists for main transaction &1

Diagnosis
You tried to save the entries in table TFKIVV (assignment of internaltransactions to transactions), which is maintained using the viewV_TFKIVV.
The entries are not consistent because there is not exactly one maintransaction entered for each internal main transaction.

Procedure
Correct your entries.