on 04-28-2009 10:47 PM
Hi Friends,
Need help on PA41 action.
When i perform PA41 action to change the entry date of the employee, the date on actions infotype is changed ,and all the infotypes date related to that action is changed.
But, in the date infotype only the start date is changed not the D1 and D2 which is original hire date or seniority date. How to change these dates alos.
Thanks,
Sree
Hi Sree,
The start date should be changed with the statement
0000 BEGDA 06 20 I MOD,0041,,,(P0000-BEGDA),(P0000-ENDDA)
but if its not changing then just try to insert one more line in ur code as
0000 BEGDA 06 21 W P0041-BEGDA=P0000-BEGDA
I think this line should change the start date of IT0041 record.
Let me know if this doesn't work
Guds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sree,
try to insert the code for dynamic action like
INFTY FNAME OPERA SEQNR KENNZ VINFO
0000 BEGDA 06 10 P P0000-MASSN=<your hiring action
0000 BEGDA 06 15 P PSAVE-BEGDA<>P0000-BEGDA
0000 BEGDA 06 20 I MOD,0041,,,(P0000-BEGDA),(P0000-ENDDA)
0000 BEGDA 06 25 W P0041-DAR01='D1'
0000 BEGDA 06 30 W P0041-DAT01=P0000-BEGDA
0000 BEGDA 06 35 W P0041-DAR02='D1'
0000 BEGDA 06 40 W P0041-DAT02=P0000-BEGDA
Hope this should work for ur case and will be helpful
Guds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sree,
I presume that D1 and D2 are date specifications stored in IT0041. First check how are these being captured, ie thru Dynamic action or manually. If it is thru Dynamic action, check on which conditions and IT it is based and make changes if required so that it is triggered even for PA41.
Cheers!
Sashi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sashi,
Date infotype is triggred automatically due to dynamic action ,and the condition over there is when ever there is hire action performed the start date of the actions infotype are copied to the D1 and D2.
But when PA41 action is performed how do i put the condition on this?
could u tell me the code of how to put the condition on PA41.
Thanks,
Sree
After running the PA41 you have to manually input these dates
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here are Three Scenarios when you may need to change hiring date:
1) After payroll is run - when hiring date is before actual Hiring date.
2) After payroll is run when hiring date is after actual Hiring Date.
3) Before the payroll is run.
1) PA30 -- Copy actions infotype - action type - incorrect entry -- save and come out PA 30 copy actions infotype -- action type - correct entry - now correct your entries, save your date is changed.
2) PA30 - Utilities - change payroll status - delete accounted to feild, save and come out - then again utilities change entry leaving date - corrrect the hiring date - save and come out.
3) PA30 - Utilities change entry/leaving date change your date and save.
we can also do it in PA40 and PA41
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dude,
If you want to do any change you can do in PA30 insted of PA40 / PA41 this tcodes for actions only (Hire, terminate , etc)...
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 taking about 0041 infotype(date specifications), you have to manually change the entries in that infotype. By running PA41, will not make any changes there.
Edited by: spaceship on Apr 29, 2009 9:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Go to Pa30 . On the top u will find Utilities --> change entry/leaving date.
if you change here than your hire date will be changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.