Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Hi, You need to put a condition for the attendance type using operation OUTTPPRTYP and apply the rule only for those applicable attendance types. Sriinivas ZGWT * **** PCY ZCAT Call PC rule ZCAT * **** OUTTPCLTYP Comp. key in v. key ZCAT * **** * HRS=4 Set ZCAT * **** * ADDDBZCATZ Set day balance = 0 ZGWT * **** NEXTR 1 Next Row ZGWT * **** PCY ZTPO Call PC rule ZTPO * **** VALEN 6 Set length v.key ZTPO * **** OUTALPLANS Position
| | | ---------------Original Message--------------- From: Patricia_Emond Sent: Tuesday, March 08, 2011 10:51 AM Subject: OUTAL PLANS - technical error 57 HI, I am running into a time evaluation error while executing operation OUTAL with parameter PLANS. We are using the different payment position to trigger some logic in our time schema. For our business rules, it's not necessary to record a different payment all the time. Only for some specific cases Following is my execution log: ZGWT * **** PCY ZCAT Call PC rule ZCAT * **** OUTTPCLTYP Comp. key in v. key ZCAT * **** * HRS=4 Set ZCAT * **** * ADDDBZCATZ Set day balance = 0 ZGWT * **** NEXTR 1 Next Row ZGWT * **** PCY ZTPO Call PC rule ZTPO * **** VALEN 6 Set length v.key ZTPO * **** OUTALPLANS Position The error is STOP: No rule under key $ ZTPO****** Technical error no. 57 My rule is written as follow: ZTPO * **** D VALEN 6 OUTALPLANS ****** HRS=6 ADDDBZTPOZ 000001 HRS=1 ADDDBZTPOZ 000002 HRS=2 ADDDBZTPOZ 000003 HRS=3 ADDDBZTPOZ 000004 HRS=4 ADDDBZTPOZ 000005 HRS=5 ADDDBZTPOZ 500000 HRS=5 ADDDBZTPOZ I noticed that when I create an attendance type and specify a position (PLANS) in the different payment section my rule is working correctly. If the first 6 characters is found in the provided list then it assigns the appropriate value in daily balance ZTPO. IF not found it goes to ****** and set ZTPO value to 6. If I create a different payment with no PLANS then it goes to ****** and set ZTPO value to 6. So far so good. However if I do not create a different payement at all for my attendance type I get the Technical error 57. Can someone help me with this? Thank you Patricia | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Srinivas Mandgi SAP HR Enthusiast
Contributed 100 posts in a group to earn a Bronze Achievement Most Popular White Papers In the Spotlight _.____.__ |