on 03-01-2017 9:16 PM
Hi
I have a PCR which currently pays Shift Allowance based on an ESG . It picks the relevant constant from V_T511K to pay the amount. However , now I want a further variable to be introduced so that I can do the following
if ESG="H*" then if OUTWPPLANT="XXXX" pick constant 1
if OUTWPPLANT =" ZZZZ" pick constant 2 etc
Somehow am not able to achieve the same the current rule snippet is given below
9703 Shift Allowance A
TABLE 503 Read table fields
VARGBPERSK Tab.field VVVVV v.ky
**
TABLE 503 Read table fields
VALEN 1 Set length - v.key
VARGBPERSK Tab.field VVVVV v.ky
*
A
RTE=KZY019 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
B
RTE=KZY019 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
H
RTE=KZY011 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
I
RTE=KZY011 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
O
RTE=KZY021 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
P
RTE=KZY013 Set
MULTI NRA Multipl.amt/no/rate
ADDWT * OT Output table
GCY ZP141 With exact w.types
What field are you trying to read from T503?
If it is PERSK, then perhaps you should use Operation OUTWPPERSK (instead of TABLE VARGBPERSK) since that information is directly linked to the employee.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you want to Query ESG grouping not ESG right ?
PERSK is ESG where as in T503 you will have Groupings for that ESG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
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.