Enter Transaction Code SPRO in the SAP Command Field.
In the next screen , 'DISPLAY IMG' follow the menu path Controlling -> Profit Center Accounting -> Assignments of Account Assignment Objects to Profit Center ->Material ->Assign Material Masters
In the next screen, Enter the Material ID for which the profit center is to be assigned
In the next dialog box , Select 'Sales General/Plant' View of the material master.
In the next dialog box , Enter the Following
In the next screen, Enter the Profit Center in the Master
Press 'Save' button from the SAP Standard Toolbar to complete the assignment