Skip to Content
0

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

Mar 28 at 06:14 AM

28

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Richard Kersey Mar 28 at 03:44 PM
1

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 09 at 10:58 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Rémi Corriveau Apr 09 at 04:51 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded