Dear Trinath
Go to OKTZ, select your cost component structure then click 'Cost component with view. Select cost component of Activity and then press details button. You will be infront of screen where you need to maintain as under:
Under control : Cost share : tick Variable or Fixed and variable as required.
Cost Roll up: Tick
Filter criteria for.....:Cost of Goods Sold: Tick Cost of goods manufactured .
Filter criteria for.....:Inventory valuation: tick at Variable or Fixed and variable as required (usually as you defined at cost share.)
Keep rest all as NOT RELEVANT or as per your requirement.
Regards
Rajneesh Saxena