Skip to Content

ESG wise different minimum no of PL for same PSG

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on May 15, 2015 at 05:45 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 14, 2015 at 06:00 AM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 14, 2015 at 01:57 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2015 at 02:39 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 15, 2015 at 04:17 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

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.