on 04-07-2010 2:57 AM
Hi All,
Can anybody explain below schema.
Rule ESGPCR VaKey Operation
ZY20 * WGTYP?
ZY20 * 2301 AMT=& Z103
ZY20 * 2301 AMT?0
ZY20 * 2301 * FILLF A
ZY20 * 2301 * AMT*& CERA
ZY20 * 2301 * AMT/& Z103
ZY20 * 2301 * ROUND 100
ZY20 * 2301 * CMPER 0601
ZY20 * 2301 * *ADDWTE9101
i would like to know what is the outcome value for wage type 9101 in 2 scenarios.
1) If 2301 value is 100, Z103 value is 100.
2) If 2301 value is 100, Z103 value is 300.
Thanks.
Hi,
what's the value of variable CERA?
in the first case the result is the nearest 100 number to CERA value if period is not 01.2006.
in the second case the result is the nearest 100 number to CERA/3 value if period is not 01.2006.
regards,
Dilek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Delik,
The logic for CERA is :
Rule ESGPCR VaKey Operation
ZY15 * *
ZY15 * AMT=& Z304
ZY15 * AMT?KZCPFM
ZY15 * > AMT=& Z356
ZY15 * > AMT-& Z352
ZY15 * > ROUND 100
ZY15 * > ADDWT&CERA
1 st case
Z304 = 1276.01
Z356 = 342.16
Z352 = 221.62
I hope CERA is 121.
2nd case
Z304 = 2584
Z356 = 103.50
Z352 = 60.00
i hope CERA = 44 (Round up 43.5).
Please let me know why 2nd scenario CERA / 3 ?
Please help me to find the calculation of 9101 wage type.
Because amount is equal to 2301/&Z103 and in first case both are 100 and in second case Z103 is 300 while 2103 is still 100.
this is the input you've provided.
It is just mathematics:
RESULT = (2301 * &CERA)/&Z103 -- rounded to the nearest X00 (e.g. if .450 it is rounded to .500 and if .449 it is rounded to .400)
First : 121
Second : 44/3 = 15
Regards,
Dilek
Edited by: Dilek Ersoz Adak on Apr 7, 2010 10:08 AM
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
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.