on 2022 May 20 4:18 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
16 | |
8 | |
7 | |
5 | |
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.