SAP Message AH321 - For ENDIF variant in step &1 there is no corresponding IF variant

Diagnosis
When the rate steps or schema steps were being checked, a step withvariant ENDIF was found. The corresponding IF variant is missing forthis step.

System Response
The rate or schema is inconsistent and cannot be saved.

Procedure

  • In rate: delete the ENDIF variant or insert an IF variant before this
  • step.
    • In schema: you have deactivated an IF variant without deactivating the
    • corresponding ENDIF variant. Activate both steps or deactivate bothsteps.