Dear Surya,
You don't have to create a cost element for production variance account. It is required if you have sales order costing in which case your settlement will be as per the cost element. The error will go if you remove the variance categories or you delete the cost element.
Regards,
Sangram