You created a costing variants (see Controlling --> Internal Orders --> Planning --> Easy Cost Planning and Execution Services --> Easy Cost Planning --> Define Costing Variants)
To make settings for period-end closing, you can select the calculating schema, results analysis key, and so on, delivered by SAP, or create your own. You can find Customizing for these objects in ECC in the SAP Reference IMG under:
Controlling -> Internal Orders -> Actual Postings -> Overhead Rates
Controlling -> Internal Orders -> Actual Postings -> Template Allocation
Controlling -> Product Cost Controlling -> Cost Object Controlling -> Product Cost by Sales Order -> Period-End Closing