Skip to Content

Time Evaluation Quota to be added based on no. of Mondays

Hello Experts

I have a requirement where a quota have to be generated in time evaluation at the start of the month based on no. of Monday's in that particular month.

If there are 4 mondays then quota should be 4 , if 5 mondays quota should be 5.

My query is how should i read no. of mondays in a month in pcr.

Please suggest.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 28 at 03:44 PM

    This would be a lot easier if you could base the current month's quota based on the amount of Mondays in the previous month.

    My initial thought is you can achieve this using constants in table V_T511K. You need to setup up a constant and hold differing amounts (usually 4 or 5) against dates for each corresponding month, the amount will relate to the amount of Mondays of each month. Then in your PCR use operation HRS=C**** and add into the base entitlement of your quota.

    Obviously the down side to this is maintaining the constant however I would suggest you configure it for a few years at a time, the amount of Mondays is static.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 09 at 10:58 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 09 at 04:51 PM

    If you require to generate the Quota Allowance "at the start of the month based on no. of Monday's in that particular month", you should talk to an ABAP programmer and ask that a Custom Operation be built to achieve that query. Note that the use of a Z Table (Columns for Year, Month and Mondays) could be a substitute to a Constant in V_T511K.

    Add comment
    10|10000 characters needed characters exceeded