Reply from JG-SAPHR on Oct 1 at 8:00 AM For one abs quota, you can have a generation rule under each key combination of grouping, etc. The rule for one set of groupings may differ from another due to the business requirement of the relevant grouping. In one gen.rule you may have several seq.no's. Use this for an existing relevant rule, with a new seq.no. and time type (say ZTxx where xx is the abs quota type). Configure this t/t as a daily one. Similarly configure a time transfer type ZTxx Configure a pers action for an employee transfer (this you may have already). Configure a second one for re-join for transfer say ZR as action type. Configure dynamic action for infotype 0000 - if the pers action type is ZR, call a routine In the routine: a)check if the employee has a transfer action earlier; if there is none, signal error. b)If it exists, then check if the re-join date is within 7days; if so, generate a time transfer type with a value equal to the number of days earlier joined. Similarly, when such pers.action is deleted or changed, then the same routine can change or delete the time transfer type value created earlier. In the t/e schema, a)Create a pcr to be called by function P2012. In this one, if ZTxx transfer type has a value > 0, add the number to t/t ZTxx The above should be able to generate the quota as required. Test the above with enough test data and ensure it works in all cases, e.g., -transfer, -re-join within 7days or not, -change/deletion of ZR pers action, -employees eligible or not for such rule, -etc. Then get UAT done and signed off before moving to prod.
| | | ---------------Original Message--------------- From: SriKiran Sent: Wednesday, October 01, 2014 1:28 AM Subject: EL Quota Adding During Transfer Action Hi Gurus, I have a requirement. If there is any Transfer for an employee, the employee gets 7 days of preparatory leave to join at new location. If he joins before 7 days, the balance days need to be added to EL quota of the employee. Please help me in customizing same or do I need to develop a PCR for the same? If PCR needs to be developed, please help me with the logic. Regards, SriKiran | | Reply to this email to post your response. __.____._ | _.____.__ |