Hello,
If you are buying the material, you can create the Purchase Order with account assignment cat = K. Be sure that you have flagged the Goods Receipt indicator in the PO (Delivery Tab).
You will need to assign the cost center in the PO.
Then when the MIGO is done (MT 101), you will see that the material is posting against the cost center.
Kind Regards,
Mariano