Skip to Content
author's profile photo Former Member
Former Member

ESS Leave Requested days calculation

Dear consultants,

I have another query regarding the ESS and I am looking for some advices to solve the issue. we have differend kind of leaves in the organzation. Among these leaves there is one leave known as Annual Leave, there is a limit of minimum of 5 working days on which employee can apply for.

In R3 normal functionality is working fine. but when I come on portal an apply for leave request it fulfills the condition of 5 days but doesnt take into account the public holidays ( saturday + sunday)

e.g. if I apply for annual leave from thursday to monday . it will accept leave of 4 days and gives us a warning message that one day is off and will allow the employee to send the anual leave with 4 days.

I am wondering if it is possible that I make the settings in such that it gives me error msg if total working days are less then 5 ... and saturday and sunday should not be inculed in working days.

if i gives less then 5 days.. it gives me error message that 'attendanace type requires mimum of 5 calender days".

my guess is system is readng calender days and not taking working days into account.

any feedbacks....

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 07:07 AM

    Hi,

    You can achive this by BADI

    in "PT_GEN_REQ" badi CHECK_IF_ACTOR_ABSENT method you can give the coding as per your requarement ..

    or you can also implement badi "PT_ABS_REQ" ( Enhancements for Leave Request ) in the "IF_EX_PT_ABS_REQ" interface "SIMULATE_VIA_BLOP" method you can give the coding as per the Bussiness Process.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 07:12 AM

    In entry screen iot is asking for 5 working days but when I get into REVIEW screen it shows me only 3 working days

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2009 at 07:52 AM

    Hi

    this is purely an HCM - Time Management configuration issue..... in Time Management the particular absence type's ( Annual leave) counting rule should be configured such that the system takes only working days into consideration and not calendar days....

    Hope this info helps findin a solution to ur query

    cheers

    Sang

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 20, 2009 at 12:28 PM

    R/3 user exits ie FOR PA30 wont work for Leave request

    For leave request checks you need to be using PT_GEN_REQ and PT_ABS_REQ

    for building custom checks!

    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.