Dear,
Please check the below setting,
SPRO ->Controlling -> Product Cost Controlling -> Product Cost Planning -> Basic Settings for Material Costing -> Overhead -> Define Costing Sheet
Check the "Define Percentage Overhead rates".
You have to assign Costing Sheet XXXXX to the Costing Variant > Valuation Variant.
You have to do assignment in OPL1 / OPL8
System calculates overhead rates for material quantities consumed, you must set the 'Material Origin' indicator for the affected materials in the material master (Transaction MM02). After issuing goods to order raw material price will be taken on that day prices according to price control in material master.
Actual overheads would be calculated as per the actual postings you had done for that order in KGI2 remove test run tick.
Also if you have Origin Groups, maintaining them in the material master (MM02) and then maintaining them in KZS2 and test same.
Regards,
R.Brahmankar