on ‎2012 May 21 5:31 AM
Hi All,
Ours is positive time management and I am uploading attendance from third party system to SAP, after uploading i am running PT60 ( time evaluation is executed) while executing time evaluation if any work day employee does not comes to office, i want that to Loss of Pay absences need to be created in infotype 2001 on that day itself.
eg: x employee does not comes on 02.04.2012 and if that's an work day then on that day loss of pay need to be created in infotype 2001
Regards
Manoj
Request clarification before answering.
Hi manoj,
it can be done using TE20 pcr copy it to ZE20 and do the changes.
regards,
khaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are integration with Payroll in same system (client) then no need to maintain LWP in IT2001.
Change factoring PCR in Payroll.
You need to update in Zl no of days/ hours LWP only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are planning to update infortype 2001 through PCR this is not possible. Instead you can generate time wagetypes to depict loss of Pay, or you can create a custom function to update 2001.
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
I'm wondering why would you want to create LOP record in IT2011 when using positive time management. In general positive time process, when employee doesn't come to work, LOP needs to generate and stored in ZL table through time wage types. The same LOP wage type reads in payroll process and deducts salary components.
If at all IT2001 record needs to be created then write custom function as Raghu suggested.
Regards
Whiterays
I've created the custom function and incorporated "HR_INFOTYPE_OPERATION" for creating record in Infotype 2001, when Time Evaluation (PT60) is executed it is creating the records in IT2001 but it is not creating data for all periods, lets say I ran PT60 from 06/01/2023 to 12/31/2023, it is only generating 12.2023 period it is skipping from 06.2023 to 11.2023. I commented logic in my custom function and re-ran, it is generating data for all periods from 06.2023 to 12.2023. It looks like side-effect of my code but couldn't understand why it is skipping periods 06.2023 to 11.2023. Any suggestions are much appreciated.
Hi Manoj,
It can be done through PCR.
Check whether the employee is present on the working day.
If not, then mark the absence which is LOP in your case for that day.
Add this rule in schema.
And run PT60.
Hope this will help you.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Refer: http://scn.sap.com/thread/1242843
"It can be done through a PCR or write a program which is for checking his or her
1. Punching Record
2. Leave in IT2001
3. OD status in IT 2002
and then mark LWP in IT2001 if found no record in IT2001 and IT 2002 and IT 2011.
and it is run before running PT60."
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 35 | |
| 18 | |
| 14 | |
| 13 | |
| 9 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.