Customizing Workflow for ESS Income Tax Declareations

Hi Everyone,

Need little clarity on workflow for ESS IT declareations. What I did till now is using a Stanadard Workflow template WS18900052 for getting the requests and in approval processes Agent is determined using a BADI 'HRPBSIN_NEXT_APPROVER'. So it is working good.

Current Requirement :

(a) Have 2 sub-process 1) Auto approval & 2) Request for approval and

(b) Agent to be fetched from a custom table

Details:

If an Employee is creating request in 1st few months of calender year it should be auto approved and for remaining months it should go to the agent from Custom table for approval.

Queries:

1) Do changses in Standard template or copy standard and do changes (If copy then how to link ESS and template to trigger workflow) ?

2) How to do the auto-approval thing means where to write code and getting data to Workflow container from ESS ?