cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Update 2001 infotype through PT60

Former Member
0 Likes
1,266

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

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Likes

Hi manoj,

it can be done using TE20 pcr copy it to ZE20 and do the changes.

regards,

khaja

Former Member
0 Likes

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.

Former Member
0 Likes

Hi all,

Thanks for the response i am going with program itself, where while uploading itself it checks and update the absence infotype if employee is not present on that day.

Thanks all

raghu_c
Active Contributor
0 Likes

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

Former Member
0 Likes

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 

AntV
Discoverer
0 Likes

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.

Former Member
0 Likes

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

Former Member
0 Likes

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