Skip to Content

New Leave Policy for New hire Employee

Hi Friends,

There is one requirement to implement the below scenarios for new hire employees only ,without disturbing the existing process.

  • Hire between Jan 1 – June 30: 5 vacation days, 2 personal holidays
  • Hire after July 1: Zero vacation days, 2 personal holidays
  • Hire after October 1: zero vacation, zero personal holidays

Thanks,

Sasa

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2014 at 11:41 AM

    Hi Priya

    You need to Implement a Badi PT_ABS_REQ where you need to set validations as per your requirement. Where Ideally you can also set validations based on SDATE & Insert a method accordingly. Kindly take your ABAP team help to Input those conditions.

    Hope this Infoℹ️ will be Helpful

    Cheers 😉

    Pradyp

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sasa panda

      Hi Sasa

      you must ask your Abaper to write a logic on this. where I use my little brain on this to help you Intially for a rough Idea🤪

      You need to start a program using Month as period & year in a select statement.

      parameters: Month type I(02)

      paremeters: Year type I(04)

      and write a logic by using If, else statement

      If month = 01.(Jan)

      case (your requirement)

      If month = 02 (feb)

      case(Your requirement)

      endcase.

      else.

      If month > 01.(jan)

      case (your requirement)

      If month > 02.(Feb)

      case (Your requirement)

      Month = sy-datum

      Year = sy-datum

      data: datum type sy-datum.

      I'm not 100% sure with this program as I've not tested such things in real⚠️. All I wanted is to give you a fair Idea on ur issueℹ️. Kindly ask your Abaper to help you on this or lets wait for experts suggestions more on this😕.

      Cheers 😉

      Pradyp

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.