SAP Message RMSRCPDIA150 - Recipe cannot be marked as a preferred recipe

Diagnosis
The recipe does not have a formula or the primary output of the recipehas not been defined.

System Response
You cannot select the Preferred Recipe indicator for the recipe.

Procedure
Define the recipe formula and then select the indicator again.