Time collision
Dear all HR experts,
I have performed below scenario case in our system and found some problems.
1) Create absence record via trnx PA61 from 24 Dec, 02 -- 27 Dec, 02
where 25-26 Dec,02 are public holidays. System shows a absence record for 2 days.
2)A substitution record is added via PA61 on 24 Dec,02 to make off-duty
of that day. Then time collision info. is shown and give warning message
with all infotypes (i.e. record in 1) with collision.
3) I change the absence record created in 1) via PA61.
First I update the from-date, 24 Dec, 02 to 25 Dec, 02 and then back to
24 Dec, 02. The number of leave day is changed from 2 to 1. as 24 Dec,02 is off-duty day and 25-26 Dec,02 are public holidays.
4) The substitution record created in 2) is deleted via PA61. But NO
warning message is shown and the absence record is NOT updated back to 2 days accordingly.
I understand that a warning message for collision of time infotypes will only occur when I ENTER NEW infotype records which overlap with existing ones, NOT when I am deleting a record.
But I think data inconsistency is incurred if the absence record is NOT updated back to 2 days. Say if I perform step 1) to step 4) for staff A but step 1) to step 3) for staff B. The absence days is 1 for both staffs which is incorrect.
Pls. advise.
Regards / Pansy
Hi Pansy,
Unnfortunately SAP does not reevaluate absence data automatically, so you have to go back to the corresponding absence record and re-save or at least reevaluate. You may need to set up a dynamic action or user-exit on substitution records to capture this.
Cheers,
Jaed
Hi jaed,
Thanks for your info. Would you tell me more about the dynamic action and user exit I can use, such as the user exit name and etc..
cheers,
Pansy
Hi Pansy,
Set up a dynamic action (V_T588Z) on 2003 for change/delete and then MOD,2001,,,(2003-BEGDA),(2003-ENDDA)... the doco on the fields is pretty good.
Otherwise use the PAI user-exit on PA, ZXPADU02. You may have to set it up via CMOD, enhancement PBAS0001. Then just code a check on deletion or change of 2003 to display a warning to check 2001 records.
Cheers,
Jaed
I am not sure if this helps you but we have similar problems and have found out that in our configuration, SAP does not allow for an absence on a public holiday. So, in your example of trying to record 4 absence days during a 4-day span that includes 2 holidays, you only see 2 absences.
Hello,
When you regularly use substitutions which are entered after the entry of absences and attendances, you can make use of report RPTUPD00. This report updates all exceptios you wan't for a selected period of time. If you are also using payroll be awere that this might cause the field 'earliest retroactive accounting period' to change and cause a lot of recalculations, however that is depending of the time period you select
kind regards,
Cerillo
Dear all,
Thank you very much for all your information. They are all useful for me.
My problem is seemed to be solved.
Regards / Pansy