on 01-19-2011 2:43 PM
Hi,
I have a requirement in HCM, wherein if an employee is terminated according to action '10' and reason '19' ( Severance ) ,
The enddates of IT0377 ( subtype ADB1 ) , IT0167 (subtype WEC1) should be modififed to the date in IT0019-TERMN coresponding to IT0019-TMART = 'Z8'.
If this can be done by Dynamic Action, kindly let me know how to go about achieveing this.
Hi Anish,
You'll need to do some ABAP coding as well as dynamic action for this purpose.
Please check the following WIKI space for reference:
http://wiki.sdn.sap.com/wiki/display/ERPHCM/HowtoCreateaDynamic+action
Regards,
Dilek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Dilek,
But I found out that we can use LIS9 as it is delimit operation.
I have implemented the following steps :
IType FC No S Variable Function Part
0000 06 1 P P0000-MASSN='10'
0000 06 2 P P0000-MASSG='03'
0000 06 3 F GET_DATE(ZHBN_SEV_DELIMIT)
0000 06 4 I LIS9,0167,DENT,,(P0167-BEGDA),(RP50D-DATE1)/D
In the Subroutine GET_DATE , I am populating the new enddate.
However, once i terminate the employee, the screen for Delimit of the Health Plan appears with the updated endda but the Delimit Date is not updated and I changed the above code to :-
IType FC No S Variable Function Part
0000 06 1 P P0000-MASSN='10'
0000 06 2 P P0000-MASSG='03'
0000 06 4 W RP50M-ABGRD=RP50D-DATE1
0000 06 5 I LIS9,0167,DENT,,(P0167-BEGDA),(RP50D-DATE1)/D
Still the Delmit date does not get updated and the delimit screen still appears.
This should not be the case though. I need it to be done in the background.
Can anyone point me in the right direction if I am doing something wrong here?
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.