on 09-05-2013 11:07 AM
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.