cancel
Showing results for 
Search instead for 
Did you mean: 

ESG wise different minimum no of PL for same PSG

Niladri_B_Nayak
Active Contributor
0 Kudos

Dear Friends,

It might be a very basic question. Still for clarity, I need your suggestion.

For PS Grouping = 64, No. of minimum PL = 3 days have been configured .

However, for same location, ESG= 1 and 2 it's applicable , but for ESG = 3(Fixed Term Contract Employee) this rule is not applicable.

So, when a FTC is applying PL from same Personnel area it also asks to take minimum 3-days. How to restrict this?

Regards,

Niladri

Accepted Solutions (1)

Accepted Solutions (1)

ShrutiJoshi
Active Contributor
0 Kudos

Hi Niladri

It should be understood that the absence types are based only on the PSG. Whereas absence quotas, counting rules, deduction rules etc are all based on a combination of ESG and PSG.

Thus, when you configure an absence for any PSG, it would become applicable and available with the same attributes for all the ESGs. Now I am assuming that the configuration of minimum duration of 3 days has been done under T554S and not via any user exit or abap indulgence. Therefore in this situation, it would naturally become applicable for all employees under that PSG irrespective of the employee group to which they belong. 

Now to meet your requirement, what you can try doing is as below:

Create a separate leave type. Although this leave type would be applicable for other employee groups in the same PSG, that would only be in the back end which the employees dont access directly. You will be able to control the display of this new leave type on ESS by configuring a different rule group under WEBMO for your ESG 3 employees. In this way your ESG 3 employees would have a leave type without the min 3 day restriction on it.

Niladri_B_Nayak
Active Contributor
0 Kudos

Thanks Shruti for understanding the exact scenario  

At present there's no ABAP indulgence.Also trying to avoid the same if it's possible by standard

In ESS I've no issues if I am creating another Leave type PL(FTC) using WEBMO Feature.

Only in backend it'll appear 2 times as PL and PL (FTC).

End-Users afraid of audit / compliance issue as they might be caught treating FTC separately from Regular staff . It's silly but realistic business scenario

Regards,

Niladri

ShrutiJoshi
Active Contributor
0 Kudos

Hi Niladri

But if the requirement is different, the configuration would also be different obviously right!! I dont think its a violation from audit perspective.

Answers (4)

Answers (4)

jagan_gunja
Active Contributor
0 Kudos

You can use the user exit function which uses ABAP code in LXPADU01 or 02.  This include is usually copied as ZXPADU01 or 02.  Display the code in txn SE38 to see how (a)an infotype data is overlayed to a structure depending on the infotype (b)validated and any warning/error message is output.

Similar exits are available for processing before the infotype record is displayed. 

Former Member
0 Kudos

Hi Niladri,

In SAP standard we have groupings based on PSA's not on ESG's.

So based on the Attributes of attendance type, it will be applicable for entire PSA.

If you want to handle it separately, do it through the USER EXITs.

Thank you,

Srinivas.

Sanky
Active Contributor
0 Kudos

Hi Niladri,

You are saying that ESG =3, then can able to less than 3days PL. (Am i correct?) again at the same time you are saying minimum 3days PL they can apply.

It's totally confusing.

How to have given restriction to PSA=64 for PL=3 minimum. From in the table level entry against PSA & Absence Type combination or Done an exit in IT2001 level.

Regards,

Sankarsan

Niladri_B_Nayak
Active Contributor
0 Kudos

Hi Sankarsan,

Yes you are correct, Please do not to be confused . Clarifying as below:

For ESG =3, employee should be able to take PL less than 3days . At present configuration, system is asking to take minimum 3-days for ESG=1 to ESG=3 as they belong to  same PSG=64. In Absence input check node we have option of PSG only not combination of ESG and PSG where can I define minimum days for PL.

So how to handle this without creating another Leave subtype.

At present I have workaround of creating Privilege Leave(FTC) but user don't want duplicity of same leave type for different ESG under IT2001.

Regards,

Niladri

former_member103011
Participant
0 Kudos

HI,

IF FTC is not eligible for PL then make separate Quota types for FTC. For ESG-3, use separate Time Quota ID and also separate time types.

For each ESG you would have mentioned ESG time Quota Types (V_503_E)

ex: ESG-1, ES Time Quota-1

ESG-2, ES time Quota-1

ESG-3, ES time Quota - ? (You can use different value here)

Niladri_B_Nayak
Active Contributor
0 Kudos

Hi Raja,

FTC eligible for PL , also I've different ES time quota for them, It is useful for generating different quota for FTC but as both FTC and staff have same PSG, I can't differentiate min. no of days to be taken for PL for both.

Regards,

Niladri