on 12-07-2007 2:18 PM
Hi Experts:
Trust all is well with you!
We are in process of upgrading our 4.7 R/3 to ECC 6.0 - and we are stuck with this payroll error...
While running the payroll getting this error "<b><u>STOP: No rule in key ZNH2*****</u></b>"
--- in 4.7 this PCR is working fine and same does not want to work in ECC 6.0
ZMAX
000170 9005 D AMT>IZHSMNAMT<IZHSMXOUTWPPAYSB
000180 9005 ** P PCY ZNH2
000190 9005 ST ADDWT *
ZNH2
000010 D WGTYP?
000020 9005 D AMT>IZHSMNAMT<IZHSMXOUTWPTRFGR
000030 9005 ** ADDWT *
000040 9005 23 AMT=IZHMXSADDWT *
000050 9005 24 AMT=IZHMXSADDWT *
000060 9005 25 AMT=IZHMXSADDWT *
000070 9005 26 AMT=IZHMXSADDWT *
000080 9005 APP ADDWT *
Thanks in Advance for your time n efforts
Best Regards,
Aslam Riaz
Hi Aslam,
we ran into the same problem, didn't really solve it but did a kind of work around.
As it seems, PCY doesn't allways pass the wt to the called rule, so we just copied the wt-specific part to another ESGrp grouping e.g Z, and changed the calling rule to PCYGZNH2Z where "G" generalizes the wt portion and Z sets grouping to ZNH2 Z ****.
It worked for us.
Regards
JW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aslam,
did i get it right, that you need ZNH2 only for wt 9005?
if so, you can omit the wt in ZNH2 anyway because you don't get there except for the PCY Call from ZMAX. In this case your example would read as follows:
ZMAX
000170 9005 D AMT>IZHSMNAMT<IZHSMXOUTWPPAYSB
000180 9005 ** P PCYGZNH2
000190 9005 ST ADDWT *
ZNH2 * **** "where * is ESGrp and **** stands for wt general
000020 D AMT>IZHSMNAMT<IZHSMXOUTWPTRFGR
000030 ** ADDWT *
000040 23 AMT=IZHMXSADDWT *
000050 24 AMT=IZHMXSADDWT *
000060 25 AMT=IZHMXSADDWT *
000070 26 AMT=IZHMXSADDWT *
000080 APP ADDWT *
This way, the call generalizes the wt because you don't need it any more. In OT it's of course still there.
hope you can fix it this way.
regards
JW
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aslam,
Probably the payroll is looking for an otherwise statement. At the end of the PCR, create a node for WT **** and insert an operation ADDWT *.
Hope this helps.
-Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
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.