on 06-24-2009 9:58 AM
Requirement : Need a Dynamic action for copy creating the IT0655 when the Hire(01), Rehire(05) and Historical Rehire(50) actions are run. This infotype should get created dynamically at the backend when the above actions are run for hiring employees into emp groups 1 & 3 and with payroll areas A1 & A2.
Below is the dynamic action i configured for IT0001. Does that suffice? the "/X" that I used is for OR condition. I am not sure on how to set up the AND condition between the Emp group and the Payroll areas. Could someone help me in this regard..??
S.No IType STy Field N FC No S Variable function part
1 0001 06 95 P T001P-MOLGA='10'
2 0001 06 98 P P0000-MASSN='01'/X
3 0001 06 100 P P0000-MASSN='05'/X
4 0001 06 102 P P0000-MASSN='50'/X
5 0001 06 104 P P0001-PERSG='1'/X
6 0001 06 106 P P0001-PERSG='3'/X
7 0001 06 110 P P0001-ABKRS='A1'/X
8 0001 06 112 P P0001-ABKRS='A2'/X
9 0001 06 116 I INS,0655,,,(P0000-BEGDA),(P0000-ENDDA)
Hi,
You might want to split your code for EG 3 and EG 8. As far as setting up AND condition, you can achieve this by removing "/X".
Try this:
IType STy Field N FC No S Variable function part
0001 06 95 P T001P-MOLGA='10'
0001 06 96 P PSPAR-TCLAS='A'
0001 06 98 P P0000-MASSN='01'/X
0001 06 100 P P0000-MASSN='05'/X
0001 06 102 P P0000-MASSN='50'/X
0001 06 104 P P0001-PERSG='1'
0001 06 110 P P0001-ABKRS='A1'/X
0001 06 112 P P0001-ABKRS='A2'/X
0001 06 116 I INS,0655,,,(P0000-BEGDA),(P0000-ENDDA) (Put /D at the end to execute in the background)
IType STy Field N FC No S Variable function part
0001 06 120 P T001P-MOLGA='10'
0001 06 121 P PSPAR-TCLAS='A'
0001 06 122 P P0000-MASSN='01'/X
0001 06 123 P P0000-MASSN='05'/X
0001 06 124 P P0000-MASSN='50'/X
0001 06 125 P P0001-PERSG='3'
0001 06 126 P P0001-ABKRS='A1'/X
0001 06 127 P P0001-ABKRS='A2'/X
0001 06 128 I INS,0655,,,(P0000-BEGDA),(P0000-ENDDA) (Put /D at the end to execute in the background)
Cheers,
Donnie
Edited by: Donnie Freako on Jun 25, 2009 5:56 AM
Edited by: Donnie Freako on Jun 25, 2009 6:08 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Since our plausibility check has two conditions and both must be true, you need to separate.
1. If we do EG 1 or EG 3, ABKRS X1 or ABKRS X2, we cannot set the individual AND condition.
2. If we do EG 1 and EG 3, ABKRS X1 or ABKRS X2, system would check for both EG 1 and EG 3 (to be true) before further checks for payroll area.
3. If we seperate, system would check individual conditions (EG 1 and ABKRS X1 or ABKRS X2; EG 3 and ABKRS X1 or ABKRS X2).
Cheers,
Donnie
Edited by: Donnie Freako on Jun 26, 2009 6:14 AM
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.