To create an AdHoc component: Navigate to Payroll >> Advance Settings >> Components >> AdHoc. Create your AdHoc earning or deduction component.
You can add this component to your employees while running Payroll in the Variable & AdHoc section >> Add Employee >> Enter the employee name and add the component and its value.
Read here...