SAP Message >W066 - No main transaction exists for internal main transaction &

Diagnosis
The internal main transaction does not exist in the table in which theinternal transactions are assigned to external transactions. The entriesare not complete because there is not exactly one main transactionentered for each internal main transaction.

Procedure
Define an external main transaction for the internal transaction andassign one to the other.