cancel
Showing results for 
Search instead for 
Did you mean: 

Leave Quotas in R3 and ESS not similar

Former Member
0 Kudos

Hi Friends,

I am working multiple country's ESS/MSS. QUOTA for 1 country is showing perfectly based on 2006 and ESS. below screen shot for the reference

for Another country it is showing Diffrence in IT 2006 and ESS. screen shot for reference

Check and doneedful.

Thanks

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please read the documentation of the Function Module HR_GET_QUOTA_DATA

to select the proper mode. In your case it should be 'D', kindly check

it. This is the standard setting, Verify if you are using any other

MOD. Please verify which MOD is currently being set

Each MOD has its own settings,  and to read from IT2006, you need to use MOD =D.

BADI: PT_ABS_REQ
Class: CL_PT_ARQ_TIMEACCOUNTS
Method: GET_REMAINING_QUOTA_FOR_PERNR

METHOD if_ex_pt_abs_req~get_mod_and_qtype.

  ex_mod   = 'B'.      // Here you can change Mod
  ex_qtype = 3.
ENDMETHOD.


This is the method of determining which data should be read.
The options are as follows:
   Data is read from the cluster
   Data is read from the infotype record
   Data is read from a simulated time evaluation run
You can use parameter MOD to determine which data you want to
base the calculation on.
By default we are populating it as 'B'. While this standard setting
works for most of our customers it might be insufficient for others.
You can change the way the function module HR_GET_QUOTA_DATA is called

by using the BAdI customer exit method
GET_MOD_AND_QTYPE (class CL_PT_ARQ_REQ_EXIT)

In your case it should be 'D'

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

IT2006 shows quota based on leaves that are entered in 2001. ESS shows quota based on both posted leaves and on leave requests.  So if the employee has some pending requests, the quota in ESS will be deducted, but not the quota in IT2006.

Regards

Kirsten