cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HCM Dynamic Actions

jimso101
Active Contributor
0 Kudos

Hi All,

We have an issue with Dynamic Action for Benefit Enrollment.

When an a Adjustment reason is created for Rehire action,IT0041 will be triggered dynamically.

But the start date of It0041 is coming that of First hire date rather than REhire date...

P    P0378-EVENT='Test'/X

I       MOD,0041

W    P0041-BEGDA=P0000-BEGDA

But for this code, system is bringing Original Hire date rather than Rehire Date???

If i remove P0000-BEGDA, the begin date is coming blank.

Please provide inputs for further actions???

Thanks & Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ok, what i understood that so you are using dynamic action for "Rehire" & you calling 378 first then 0041. Can you tell me few things from your system? Are you not using check class ? What this "V_T582ITVCLAS" & V_T588UICONVCLAS table is saying? Are you calling 378 directly Or with Re-hire action? This is way to update 41 when you do rehire.  I P0000-MASSN='RehireCode'. "INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)" W P0041-DAR01='Rehire dat type' W P0041-DAT01=P0000-BEGDA  Regards, Arpit

jimso101
Active Contributor
0 Kudos

Hi Arpit,

Thanks for the response.

What you understood is absolutely correct.

IT0041 is called only based on Change or creation of  IT0378(via PA30 or PA40-action based).

Nothing to do with any action specifically,if any change happens to IT0378,this issue occurs...

So how can the begin date to bring that of IT0378 start date??

There is no check for Tclass .

Regards

Former Member
0 Kudos

Here you go! 0378         06     2     I     INS,0041,,,(P0378-BEGDA),(P0378-ENDDA) 0378         06     3     W     P0041-DAR01='U2' 0378         06     4     W     P0041-DAT01=P0378-BEGDA Regards, Arpit

jimso101
Active Contributor
0 Kudos

Hi Arpit,

Thanks for the response......

Yes it is working since the issue was with BEGDA of PA0041...

But the problem is when u create IT0041,the all other date types already in IT0041 will not come.

So i can only modify with proper start date so that already existing date types will not be missed.

Why rehire action comes into picture is usually this infotype(IT0378) will be called while running some actions ....so while there is any action performed(like rehire) ,IT0041 is dynamically called after infotype IT0000.At that time IT0041 comes with proper start date ie start date of action with all date types which is already in system.Once that action continues and  when IT0378 populates and comes out of enrollment ,IT0041 is again called at that time the 41 startdate should be the  start date of IT0378 ,but its showing first hire action date as start date of IT41.

So other than INS i haved tried COP also but that also not fetching proper start date???

Thanks & Regards

jimso101
Active Contributor
0 Kudos

The issue is resolved with the below code.

I am not sure whether PSPAR can be used for dates, anyway it id solved my issue.

0378 06    13    I    COP,0041,,,(PSPAR-BEGDA),(PSPAR-ENNDA)

Thank u all for the help.

Regards

JIm

Answers (1)

Answers (1)

Former Member
0 Kudos

Try..this..

MOD,0041,,,(P0000-BEGDA)

I don't have a SAP system..infront of me to confirm..

Sorry..if the above is not working..

Naren

jimso101
Active Contributor
0 Kudos

Hi Naren,

Thanks for the response....

Sorry its not working 

Thanks & Regards