Script:
Owner:
Subdir:
Blog ID: 64040601
Group ID: User ID:
 
Narrow by Topic:
Post Reply
Quick Reply
Cancel
Time Management Rule Logic
2 years ago  ::  May 03, 2011 - 11:15AM #1
rlw_mimi
Posts: 4

I have not worked in SAP Time Management for about 7 years.  I am now faced with an assignment to make a "simple" change to the rule that is used to generate holiday pay.  The request is to skip the generation of holiday paid hours if:
- the person is salary non-exempt
- the person is on STD

The logic I instructed to use is if the action = ZE, and the reason for the action = LA skip the rest of the rule logic. 

I need advise on the best way to approach the required changes.

Moderated by Dave Terpeny on Sep 21, 2011 - 01:11PM
Quick Reply
Cancel
2 years ago  ::  Aug 30, 2011 - 1:37PM #2
Harshal Soni
Posts: 5

Hi...


I know its almost 5 months that you had asked this question... I hope you have found the answer...


But here is it for the  rest of the folks who visit this question...


You can query if the current day is a Holiday and generate the Holiday pay accordingly.


Lets say your wage-type is 5000 (holiday Pay)


The rule will be:


VARSTHOLCL
*(Any other day or other holiday class)
1 (Full-day holiday class)
HRS=S This reads the current day's planned hours
ADDZL 5000 This creates the WT 5000 for the hours = planned hours


If you want to check for the actions then you can use:


OUTWPMASSN
*
**
ZE
OUTWPMASSG (Reason for action)
*
**
LA

Hope this helps...


Harshal Soni

Moderated by Dave Terpeny on Sep 21, 2011 - 01:13PM
Quick Reply
Cancel
2 years ago  ::  Sep 21, 2011 - 12:30PM #3
Rémi C. Corriveau
Posts: 5

Personnaly, I would not rely on the action or reason for action since there could have been an new measure created since the employee had action ZE for LA.


Try to find other parameters that could identify the employee as being "Salary non exempt" or "on LTD", such as the WT on IT0008 or the LTD Absence code.


If your employees are paid only for the "scheduled" work days (and not week-ends), then you may want to add a decision on the weekday (using operation VARSTWEDAY) or a decision on the Daily Work Schedule (using operation VARSTDAYPG)

Quick Reply
Cancel
Quick Reply
Cancel
    Viewing this thread :: 0 registered and 1 guest
    No registered users viewing

    Become a member of Insider Learning Network:

    - Receive alerts for upcoming Q&As

    - Post your questions and get answers from a trusted network of peers and industry experts

    - Download free Member-only Resources including sample articles, presentations, and book chapters