SAP Message RP849 - You cannot use module variant &1 for modules &2 in wage type &3

Diagnosis
In the wage type table (T511), the module variant &V1& and indirectvaluation module &V2& is stored for wage type &V3&.
However, module variant &V1& is invalid.

System Response
The action cannot be performed successfully.

Procedure
Assign a valid module variant to wage type &V3&.