Skip to Content
0
Former Member
Mar 07, 2012 at 06:41 AM

Dynamic Action for Updating Relieving Date in IT0041

110 Views

Dear Team,

I am trying to write a Dynamic Action for updating the relieving date automatically in Infotype 41 based on the resignation action date.

We have resignation action as 15. When this action is run, system has to check infotype 16 for employees notice period (mentioned as 1 / 3 months). This notice period has to be added to the resignation satart date and need to be updated in IT0041.

For this i wrote this. Need your inputs on how to do this.

Please suggest me the changes in this.

0000 04 40 *** CREATE INFOTYPE 41 WHEN RESIGNATION INDIA ****

0000 04 41 P T001P-MOLGA='40'

0000 04 42 P P0000-MASSN='15'

0000 04 43 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 04 44 W P0041-DAR01='I1'

0000 04 45 W P0041-DAT01=P0000-BEGDA

Kind Regards

Nag