cancel
Showing results for 
Search instead for 
Did you mean: 

change entry/leaving date

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Guds,

Solved my issue, Thank u so much for ur help.

Thanks,

Sree

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi guds,

Ur solution was really helpful,D1 and D2 dates were changed automatically but i have to manually change the start date of the 0041 infotype.Is there a way that ,it is also changed automatically.

Thanks,

Sree

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Do u want to use the dynamic action or else

your want to make a condition ....

with what difference u want maintain it ?

former_member47879
Active Contributor
0 Kudos

After running the PA41 you have to manually input these dates

sikindar_a
Active Contributor
0 Kudos

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

former_member632729
Contributor
0 Kudos

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)...

Former Member
0 Kudos

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

Former Member
0 Kudos

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.