Hi,
1. Generally we assign cost element in Activity type in KL01/KL02/KL03. This activity type will be used to create Work center and KP26 Setting. so when you use that Activity or work center the cost will go to that cost element assigned to KL03.
2. for material check check OBYC setting as told by pete.
Regards,
Chaitanya Parchrue