Skip to Content

Rule of absence quotas (PT60).

Hi experts,

How can I save absence quotas in the first day for the next month in my rule.





ADDDBZ51J ***** Z51J is a Time type



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 03, 2012 at 05:00 PM

    To your PCR, add some decisions to identify what day of the month is the day being processed (using operation VARSTREDAY).

    On the first day of the current month, read yesterday's value of Z51J and use that to update your Quota (preferably through a distinct Time Type, such as Z51Q if the update is done through function QUOTA in your Time Evaluation Schema).

    In the current month, on every day that is not the first day, add yesterday's value of Z51J to todays's value of Z51J (HRS=DZ51J HRS+LZ51J ADDDBZ51JZ). This Time Type will then become a monthly counter.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.