cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Actions on Reclassification

former_member805075
Discoverer
0 Kudos
404

Hello,

I'm trying to setup a Dynamic action to create IT0016 on reclassication only when the employee subgroup changes to lets say PSPAR-PERSK='12'/X and to delimit IT0016 when exiting that subgroup. Is this possible and how would i go about?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

jimso101
Active Contributor
0 Kudos

You can compare the values in dynamic actions using PSAVE.

PSPAR contain the values that are valid at the start date of the current record.

PSAVE contains the old values of the infotype record.

The following code will trigger dynamic action if the value in the P0007-STAT3 field changes from 1 to 0.

0007 STAT3 P P0007-STAT3='0'

0007 STAT3 P PSAVE-STAT3='1'

Thanks

JIm

former_member805075
Discoverer
0 Kudos

Thanks Jim,

Would this work?

---reclassified into subgroup 12

0000 06 P P0001-PERSK='12'

0000 06 P PSAVE-PERSK<>'12'

0000 06 I INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)

---reclassified out of subgroup 12

0000 06 P P0001-PERSK<>'12'

0000 06 P PSAVE-PERSK='12'

0000 06 I LIS9,0016,,,(P0000-BEGDA),(P0000-ENDDA)

can I also include on a specific action type like this?

0000 06 P P0000-MASSN='08'

Answers (1)

Answers (1)

jimso101
Active Contributor
0 Kudos

The dynamic action should be on IT0001 and the following config should work

---reclassified into subgroup 12

0001 06 P P0000-MASSN='08'
0001 06 P P0001-PERSK='12'
0001 06 P PSAVE-PERSK<>'12'
0001 06 I INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)
former_member805075
Discoverer
0 Kudos

Thank you Jim!