SAP Message AH324 - There are &1 IF variants and &2 ENDIF variants

Diagnosis
The number of IF variants and ENDIF variants must match.

System Response
The rate is inconsistent and cannot be saved.

Procedure
Delete or complete the corresponding rate steps in the rate.