SAP Message 12204 - The plant for the outbound batch has to be defined as an allowed plant

Diagnosis
You have limited the display of the batch where-used list to one ormore plants. For the batch whose usage is to be displayed, you haveentered a plant that does not exist among the permitted plants. Youcannot show where the specified batch is used.

Procedure
Extend the amount of permitted plants so that it contains the plantspecified for the outgoing batch.