SAP Message 5Z098 - Phase & not permitted on date &

Diagnosis
The system proceeds as follows when determining if a phase ispermitted:
Determines organizational assignment from infotype 0001 on the startdate of the Rehabilitants infotype (0593).
Reads feature ODMOD with function key "07".
Determines function model from table T5D87.
Reads table T5D8Q with the key previously determined.

Procedure
Check the above tables and, if necessary, correct the settings.