SAP Message C$445 - Nesting error in repeating groups

Diagnosis
The system was unable to determine a current repeating group. Thedefinition of the repeating groups contains a nesting error.

System Response
The system was unable to complete the syntax check.

Procedure
Check the nesting you defined for the repeating groups in the reporttemplate.