You can assign a company code to a plant by navigating the following menu path:

SAP Menu > Tools > Customizing > IMG > Execute Project > Display IMG (SAP reference IMG) > Enterprise Structure > Assignment > Logistics-General > Assign Company Code to Plant.

Related questions