SAP Message UPF158 - Characteristic &1 does not exist in planning level &2

Diagnosis
The planning function cannot be executed since characteristic &V1& isnot available in planning level &V2&.

Procedure
Check the definition of the planning function.