cancel
Showing results for 
Search instead for 
Did you mean: 

New Leave Policy for New hire Employee

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

0 Kudos

Ok ,can u please help me about the below Condition .

How do i implement if one person join in jan then he ll get Percentage of Maximum Annual  Vacation Allotment for the First Calendar Year 100% and
Days of Annual Vacation Allotment for the First Calendar Year 10

Accordingly People who joins on Feb they ll get 90% and
Days of Annual Vacation Allotment for the First Calendar Year 9


So on...


So how do i configure for this scenario.


Thanks,

Sasa

Former Member
0 Kudos

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